about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux
Commit message (Collapse)AuthorAgeFilesLines
* Update.Ulrich Drepper2001-02-137-20/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * io/ftw.c: Always use readdir64. * io/ftw64.c: Likewise. * sysdeps/unix/sysv/linux/ttyname.c: Likewise. * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise. * sysdeps/generic/glob.c: Likewise. Convert results if gl_readdir callback to dirent. Still allow compiling outside glibc. * sysdeps/gnu/glob64.c: Define COMPILE_GLOB64. * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise. * malloc/mtrace.c: Use fopen64. * posix/spawni.c: Use __open64. * sysdeps/unix/opendir.c: Likewise. * sysdeps/unix/sysv/linux/gethostid.c: Likewise. * sysdeps/generic/ftruncate64.c: Define __ftruncate64 and make old name a weak alias. * sysdeps/unix/sysv/aix/ftruncate64.c: Likewise. * sysdeps/unix/sysv/linux/ftruncate64.c: Likewise. * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise. * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: Likewise. * resolv/res_data.c: Add cast to avoid warning. * include/unistd.h: Declare __ftruncate64. * sysdeps/generic/utmp_file.c: Use LFS functions and type.
* (__GETDENTS): Use __lseek64 instead of __lseek.Ulrich Drepper2001-02-131-7/+7
|
* Update.Ulrich Drepper2001-02-112-11/+11
| | | | | | | | | * sysdeps/generic/getsysstat.c: Change return value of get_phys_pages and get_avphys_page to long int. * sysdeps/unix/sysv/linux/getsysstat.c: Likewise. * include/sys/sysinfo.h: Likewise. * sysdeps/generic/sys/sysinfo.h: Likewise. * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
* (getloadavg): Fail if we cannot return as many values as the user asked for.Ulrich Drepper2001-02-111-2/+5
|
* * sysdeps/unix/sysv/linux/ia64/ioperm.c: Don't include kernelAndreas Schwab2001-02-061-3/+0
| | | | | | | headers. * timezone/Makefile: Don't assume that $(inst_zonedir) is a subdir of $(inst_datadir).
* Update.Ulrich Drepper2001-02-031-1/+1
| | | | Remove comma at end of enum.
* Update.Ulrich Drepper2001-02-031-94/+94
| | | | * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: File was using crlf.
* Update.Ulrich Drepper2001-01-281-3/+3
| | | | | | | | | 2001-01-28 Ulrich Drepper <drepper@redhat.com> * posix/sched.h: Define sched_priority as __sched_priority. * sysdeps/generic/bits/sched.h (struct sched_param): Rename element to __sched_priority. * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
* Update.Ulrich Drepper2001-01-284-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | * conform/data/time.h-data: CLK_TCK is not in XPG6. Fix tzname entry. * sysdeps/mach/hurd/bits/time.h: Don't define CLK_TCK for XPG6. * sysdeps/mach/hurd/i386/bits/time.h: Likewise. * sysdeps/unix/sysv/linux/bits/time.h: Likewise. * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise. * sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise. * sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise. * time/time.h: Likewise. * conform/conformtest.pl (@headers): Add complex.h and tgmath.h. * conform/data/complex.h-data: New file. * conform/data/tgmath.h-data: New file. * conform/data/wchar.h-data: Add missing functions. * sysdeps/gnu/bits/utmpx.h: Define RUN_LVL only if __USE_GNU. * conform/data/termios.h-data: Add missing const in tcsetattr() prototype. * posix/sys/wait.h: Include <signal.h> and <sys/resource.h>. Don't define pid_t here. * conform/data/sys/utsname.h-data: Don't provide fixed array sizes.
* Update.Ulrich Drepper2001-01-275-6/+308
| | | | | | | | | | | | | * sysdeps/unix/sysv/linux/bits/statvfs.h: Change type of f_fsid field to unsigned long. Add __f_unused. Define _STATVFSBUF_F_UNUSED. * sysdeps/unix/sysv/linux/internal_statvfs.c: Adjust initialization of f_fsid field after change in struct statvfs. * sysdeps/unix/sysv/linux/alpha/bits/statvfs.h: New file. * sysdeps/unix/sysv/linux/ia64/bits/statvfs.h: New file. * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: New file. * conform/data/sys/stat.h-data: Remove isfdtype. Use optional-macro.
* Update.Ulrich Drepper2001-01-275-8/+932
| | | | | | | | | | | | | | | | | | | | * conform/data/sys/socket.h-data: Fix typos. Correct getsockopt, recvfrom, send, and socketpair prototypes. Add allow lines. * socket/sys/socket.h: Include <sys/uio.h>. Don't use fancy __SOCKADDR_ARG definition unless __USE_GNU. Fix type of second parameter of listen. Don't declare isfdtype unless __USE_MISC. * sysdeps/generic/listen.c: Fix type of second parameter of listen. * sysdeps/mach/hurd/listen.c: Likewise. * sysdeps/generic/bits/socket.h (struct sockaddr_storage): Define ss_family and __ss_family. * sysdeps/unix/sysv/aix/bits/socket.h: Likewise. * sysdeps/unix/sysv/linux/bits/socket.h: Likewise. (struct msghdr): Change type of msg_iovlen to int and type of msg_controllen to socklen_t. * sysdeps/unix/sysv/linux/alpha/bits/socket.h: New file. * sysdeps/unix/sysv/linux/ia64/bits/socket.h: New file. * sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: New file.
* Update.Ulrich Drepper2001-01-275-128/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-01-27 Ulrich Drepper <drepper@redhat.com> * signal/signal.h: Fix handling of __need_* symbols. * misc/sys/select.c: Define fd_set here. Remove __fd_set. Define fd_mask only if __USE_MISC. Declare pselect for __USE_XOPEN2K. * include/sys/select.h: Use fd_set not __fd_set. * sysdeps/generic/bits/select.h: Likewise. * sysdeps/i386/bits/select.h: Likewise. * sysdeps/generic/bits/types.h: Don't define __fd_mask, __NFDBITS, __FDELT, __FDMASK, and __fd_set here. * sysdeps/unix/sysv/aix/bits/types.h: Likewise. * sysdeps/unix/sysv/hpux/bits/types.h: Likewise. * sysdeps/unix/sysv/linux/bits/types.h: Likewise. * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise. * sysdeps/unix/sysv/linux/ia64/bits/types.h: Likewise. * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise. * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise. * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise. * time/sys/time.h: Define struct timeval before including <time.h> and <sys/select.h>. * conform/data/sys/time.h-data: fd_set is a typedef. * conform/data/sys/select.h-data: New file. * conform/data/sys/mman.h-data: Make typed mem stuff optional. * conform/conformtest.pl (@headers): Add sys/select.h. (type, optional-type): Unless testing a typedef instantiate object. Implement optional-function. * math/test-misc.c: Include <float.h>.
* Update.Ulrich Drepper2001-01-276-18/+36
| | | | | | | | | | | | | * conform/conformtest.pl: Define $mustprepend{"signal.h"}. * conform/data/signal.h-data: Fix sigev_notify_function entry. Fix typo (SIGVALRM -> SIGVTALRM). * sysdeps/unix/sysv/linux/bits/siginfo.h: Define sigev_notify_attr with real type. * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise. * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise. * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise. * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
* Update.Ulrich Drepper2001-01-275-11/+19
| | | | | | | | | | | | | | | * io/sys/poll.h: Define nfds_t and use it in poll prototype. * sysdeps/generic/poll.c: Use nfds_t type in function definition. * sysdeps/mach/hurd/poll.c: Likewise. * sysdeps/unix/bsd/poll.c: Likewise. * sysdeps/unix/sysv/linux/poll.c: Likewise. * sysdeps/unix/sysv/aix/poll.c: Likewise. * sysdeps/generic/bits/poll.h: Define NPOLLFILE only if __USE_MISC. * sysdeps/unix/sysv/linux/bits/poll.h: Likewise. * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise. * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise. * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise. * conform/data/poll.h-data: Fix typo in poll prototype.
* Update.Ulrich Drepper2001-01-261-2/+2
| | | | | | | | | 2001-01-26 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/sys/param.h (MAXSYMLINKS): Bump to 20. * conform/conformtest.pl (@headers): Add stdint.h. * conform/data/stdint.h-data: New file.
* Update.Ulrich Drepper2001-01-266-0/+73
| | | | | | | | | | | | | * posix/wordexp.h: Correct definition of wordexp_t. * posix/wordexp.c: Moved to ... * sysdeps/generic/wordexp.c: ...here. New file. * sysdeps/unix/sysv/linux/alpha/wordexp.c: New file. * sysdeps/unix/sysv/linux/ia64/wordexp.c: New file. * sysdeps/unix/sysv/linux/sparc/sparc64/wordexp.c: New file. * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.2.2): Add wordexp. * sysdeps/unix/sysv/linux/ia64/Versions: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: Likewise.
* Update.Ulrich Drepper2001-01-252-4/+6
| | | | | | | | | | | * sysdeps/unix/sysv/linux/statvfs64.c: Rename to __statvfs64 and make old name weak alias. * sysdeps/generic/statvfs64.c: Likewise. * sysdeps/unix/sysv/linux/fstatvfs64.c: Rename to __fstatvfs64 and make old name weak alias. * sysdeps/generic/fstatvfs64.c: Likewise. * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
* Update.Ulrich Drepper2001-01-251-3/+3
| | | | | | | | | | | | | | | | | | * conform/conformtest.pl: Run Unix tests for XPG6. Implement handling of known namespace violations. Improve printing of results. * posix/unistd.h (usleep): Correct return type. * sysdeps/unix/sysv/linux/usleep.c: Correct return type. * sysdeps/unix/bsd/usleep.c: Correct return type. * sysdeps/mach/usleep.c: Correct return type. * sysdeps/generic/usleep.c: Correct return type. * posix/unistd.h (sync): Correct return type. * sysdeps/generic/sync.c: Likewise. * sysdeps/mach/hurd/sync.c: Likewise. * sysdeps/generic/bits/confname.h (_SC_IOV_MAX): New definition.
* Update.Andreas Jaeger2001-01-242-11/+2
| | | | | | | | | | | | | 2001-01-24 Andreas Jaeger <aj@suse.de> * sysdeps/unix/sysv/linux/init-first.c: Remove extra __sysctl prototype. * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise. * include/sys/sysctl.h: New. * stdlib/Makefile ($(objpfx)isomac.out): Also pass sysincludes to isomac.
* Update.Ulrich Drepper2001-01-221-1/+1
| | | | | | | | | | | 2001-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correctly mask offset. 2001-01-21 Ulrich Drepper <drepper@redhat.com> * malloc/malloc.c: Remove a few unnecessary initializers of global variables.
* Update.Ulrich Drepper2001-01-192-1/+19
| | | | | | | | | | | * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): If HAVE_AUX_XID is defined don't look whether the AT_*ID values were set. If HAVE_AUX_PAGESIZE is defined don't look whether the pagesize is set. (_dl_show_auxv): Rewrite to avoid switch statement. * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_AT_PAGESIZE for kernel >= 2.4.1. * sysdeps/unix/sysv/linux/ldsodefs.h: Define HAVE_AUX_XID. Define HAVE_AUX_PAGESIZE if __ASSUME_AT_PAGESIZE is defined.
* Update.Ulrich Drepper2001-01-193-7/+7
| | | | | | * sysdeps/unix/sysv/linux/fxstat64.c: Add one __builtin_expect. * sysdeps/unix/sysv/linux/lxstat64.c: Likewise. * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
* Update.Ulrich Drepper2001-01-174-17/+53
| | | | | | | | | | * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Move x86_cap_flags and x86_platforms data into new file after prepending _dl_. Change users. * sysdeps/unix/sysv/linux/i386/dl-procinfo.c: New file. * sysdeps/unix/sysv/linux/i386/Dist: Add dl-procinfo.c. * sysdeps/unix/sysv/linux/i386/Makefile: Add rules to build dl-procinfo.c.
* Fix typo in last patch.Andreas Jaeger2001-01-161-1/+1
|
* Remove select syscall handling. The generic Linux version should work.Ulrich Drepper2001-01-151-2/+0
|
* Update.Andreas Jaeger2001-01-151-2/+2
| | | | * sysdeps/unix/sysv/linux/sys/sendfile.h: Fix typo.
* * sysdeps/unix/sysv/linux/mips/register-dump.h (REGISTER_DUMP): Andreas Jaeger2001-01-152-8/+8
| | | | | | | | | Change type of CTX to (struct sigcontext *). * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (GET_PC): Likewise. (GET_FRAME): Likewise. (GET_STACK): Likewise. (SIGCONTEXT): Likewise. Add 2nd arg _code. (SIGCONTEXT_EXTRA_ARGS): Add 2nd arg _code.
* Update.Ulrich Drepper2001-01-131-1/+3
| | | | | | | | | | | | | | 2001-01-13 Jakub Jelinek <jakub@redhat.com> * inet/ether_ntoh.c (lookup_function): Change arguments to match _nss_*_getntohost_r prototype. (ether_ntohost): Pass errno pointer to NSS function. 2001-01-12 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MS_SYNC): Fix value. (MAP_LOCKED): New definition. (MAP_NORESERVE): New definition.
* Update.Ulrich Drepper2001-01-112-12/+7
| | | | | | | | | | | | 2001-01-11 H.J. Lu <hjl@gnu.org> * elf/dl-libc.c (do_dlopen): Move DL_STATIC_INIT to ... * elf/dl-open.c (_dl_open): Here. * sysdeps/unix/sysv/linux/ia64/dl-static.c (_dl_static_lock): Make it static. (_dl_static_init): Initialize the variables every time when possible. * sysdeps/unix/sysv/linux/ia64/ldsodefs.h (DL_STATIC_INIT): Undefine it first.
* Update.Ulrich Drepper2001-01-115-0/+119
| | | | | | | | | | | | | 2001-01-10 H.J. Lu <hjl@gnu.org> * elf/dl-libc.c (do_dlopen): Call DL_STATIC_INIT for static binaries. * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep-dl-routines): Add dl-static. * sysdeps/unix/sysv/linux/ia64/Versions (ld): Add _dl_var_init. * sysdeps/generic/ldsodefs.h (DL_STATIC_INIT): Defined if not defined. * sysdeps/unix/sysv/linux/ia64/ldsodefs.h: New file. * sysdeps/unix/sysv/linux/ia64/dl-static.c: New file. * sysdeps/unix/sysv/linux/ia64/Dist: Add dl-static.c.
* Update.Ulrich Drepper2001-01-101-0/+46
| | | | | | | | | | | | | | | * sysdeps/ia64/dl-machine.h (TRAMPOLINE_TEMPLATE): Also preserve r9, r10 and r11 for language specific registers. 2001-01-10 Jakub Jelinek <jakub@redhat.com> * sunrpc/clnt_udp.c (clntudp_bufcreate): Set IP_RECVERR on the UDP socket. (clntudp_call): Handle MSG_ERRQUEUE. * sysdeps/generic/errqueue.h: New file. * sysdeps/unix/sysv/linux/errqueue.h: New file. 2001-01-10 H.J. Lu <hjl@gnu.org>
* Update.Ulrich Drepper2001-01-101-1/+0
| | | | | | 2001-01-10 H.J. Lu <hjl@gnu.org> * sysdeps/unix/sysv/linux/ia64/syscalls.list (s_getpagesize): Removed.
* Update.Ulrich Drepper2001-01-091-5/+19
| | | | | | | | | * include/stdlib.h: Add __posix_openpt declaration. * stdlib/stdlib.h: Add posix_openpt declaration. * login/Versions: Add posix_openpt for GLIBC_2.2.1. * sysdeps/generic/getpt.c: Define posix_openpt. * sysdeps/unix/bsd/getpt.c: Likewise. * sysdeps/unix/sysv/linux/getpt.c: Likewise.
* Update.Ulrich Drepper2001-01-081-9/+3
| | | | | | * sysdeps/unix/sysv/linux/ia64/getpagesize.c (__getpagesize): Remove getpagesize syscall. We assume that the pagesize is always determined from the auxiliary vector.
* Update.Ulrich Drepper2001-01-071-20/+0
| | | | | | | 2001-01-07 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/glob64.c: Moved to ... * sysdeps/gnu/glob64.c: ...here. New file.
* Update.Ulrich Drepper2001-01-071-1/+0
| | | | * sysdeps/unix/sysv/linux/mips/Dist: Remove sys/acct.h.
* Update.Ulrich Drepper2001-01-071-10/+5
| | | | | | | | | | | | | | | | | | | 2001-01-05 H.J. Lu <hjl@gnu.org> * elf/dl-support.c (non_dynamic_init): Move the auxiliary vector checking to ... (_dl_aux_init): Here. New function. Defined only if HAVE_AUX_VECTOR is defined. * sysdeps/generic/libc-start.c (__libc_start_main): Call _dl_aux_init for static binaries if HAVE_AUX_VECTOR is defined. * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Call _dl_aux_init. * sysdeps/unix/sysv/linux/ldsodefs.h (DL_FIND_AUXV): Removed. (HAVE_AUX_VECTOR): Defined. (_dl_aux_init): Declared.
* Update.Ulrich Drepper2001-01-051-0/+38
| | | | | | * elf/dl-support.c (non_dynamic_init): Don't define DL_FIND_AUXV if it is not available. Instead use it only if it is available. * sysdeps/unix/sysv/linux/ldsodefs.h: New file.
* (__socket): Fix error code handling.Ulrich Drepper2001-01-041-3/+3
|
* Update.Andreas Jaeger2000-12-312-2/+2
| | | | | | | * include/libc-internal.h: Add prototype for __libc_freeres. * malloc/mtrace.c: Likewise. * malloc/set-freeres.c: Likewise.
* Update.Andreas Jaeger2000-12-284-0/+15
| | | | | | | | | | | | | | | | * sysdeps/generic/dl-environ.c: Add prototype for unsetenv. * sysdeps/unix/sysv/linux/i386/setrlimit.c: Add prototype for __new_setrlimit. * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Add prototype for __old_getrlimit64. * sysdeps/unix/sysv/linux/i386/getrlimit.c: Add prototype for __new_getrlimit. * sysdeps/unix/sysv/linux/i386/chown.c: Add prototypes for __chown_is_lchown and __real_chown.
* (__protocol_available): Uncomment, it's not needed at the moment.Andreas Jaeger2000-12-271-1/+2
|
* Update.Andreas Jaeger2000-12-171-1/+1
| | | | | | | | | | | | | | | | * sysdeps/generic/k_sinl.c (__kernel_sinl): Fix functions parameter. * sysdeps/unix/sysv/linux/shm_open.c (freeit): Make static and add unused attribute to shut up gcc warnings. * sysdeps/generic/k_sinl.c: Include math_private for prototypes. * sysdeps/generic/k_tanl.c: Likewise. * sysdeps/generic/k_cosl.c: Likewise. * sysdeps/generic/e_j0l.c: Likewise. * sysdeps/generic/e_j1l.c: Likewise. * sysdeps/generic/e_jnl.c: Likewise. * sysdeps/generic/e_lgammal_r.c: Likewise.
* Update.Andreas Jaeger2000-12-131-1/+1
| | | | | | | 2000-12-13 Andreas Jaeger <aj@suse.de> * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Fix typo. Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
* Declare kernel_sigset_t and use it. Andreas Jaeger2000-12-111-1/+10
| | | | Patch by Hiroyuki Machida <machida@sm.sony.co.jp>.
* Update.Andreas Jaeger2000-12-091-0/+139
| | | | | | | | | | | | | | | | | | | | | | | 2000-12-09 Andreas Jaeger <aj@suse.de> * sysdeps/unix/sysv/linux/mips/sigaction.c: New file. * sysdeps/unix/sysv/linux/mips/sys/acct.h: Removed, we can use the generic version. Patches by Hiroyuki Machida <machida@sm.sony.co.jp>. * locale/programs/ld-collate.c (handle_ellipsis): Fix format string. * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix format string. * nscd/hstcache.c (addhstbyname): Add cast to avoid warning. * nscd/connections.c (handle_request): Likewise. * nscd/pwdcache.c (addpwbyname): Likewise. * nscd/grpcache.c (addgrbyname): Likewise. * nscd/nscd_conf.c (nscd_parse_file): Remove extra argument.
* Removed, we can use the generic version.Andreas Jaeger2000-12-091-66/+0
|
* Update.Andreas Jaeger2000-12-051-4/+2
| | | | | * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Don't set mips2.
* Update.Andreas Jaeger2000-12-052-1226/+36
| | | | | | | | | * sysdeps/unix/sysv/linux/mips/sysdep.h: New file. * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Removed. * sysdeps/unix/mips/sysdep.h: Use SYS_ify. Patches by "Maciej W. Rozycki" <macro@ds2.pg.gda.pl>.
* Update.Andreas Jaeger2000-12-051-3/+0
| | | | | | 2000-12-05 Andreas Jaeger <aj@suse.de> * sysdeps/unix/sysv/linux/sys/param.h: Revert last patch.