aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix
AgeCommit message (Collapse)AuthorFilesLines
2001-01-27Update.Ulrich Drepper7-15/+23
* 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.
2001-01-26Update.Ulrich Drepper1-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.
2001-01-26Update.Ulrich Drepper6-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.
2001-01-25Update.Ulrich Drepper2-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.
2001-01-25Update.Ulrich Drepper2-6/+6
* 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.
2001-01-24Update.Andreas Jaeger2-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.
2001-01-22Update.Ulrich Drepper1-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.
2001-01-19Update.Ulrich Drepper2-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.
2001-01-19Update.Ulrich Drepper3-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.
2001-01-17Update.Ulrich Drepper4-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.
2001-01-16Fix typo in last patch.Andreas Jaeger1-1/+1
2001-01-15Remove select syscall handling. The generic Linux version should work.Ulrich Drepper1-2/+0
2001-01-15Update.Andreas Jaeger1-2/+2
* sysdeps/unix/sysv/linux/sys/sendfile.h: Fix typo.
2001-01-15* sysdeps/unix/sysv/linux/mips/register-dump.h (REGISTER_DUMP): Andreas Jaeger2-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.
2001-01-13Update.Ulrich Drepper1-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.
2001-01-11Update.Ulrich Drepper2-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.
2001-01-11Update.Ulrich Drepper5-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.
2001-01-10Update.Ulrich Drepper1-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>
2001-01-10Update.Ulrich Drepper1-1/+0
2001-01-10 H.J. Lu <hjl@gnu.org> * sysdeps/unix/sysv/linux/ia64/syscalls.list (s_getpagesize): Removed.
2001-01-09Update.Ulrich Drepper2-6/+35
* 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.
2001-01-08Update.Ulrich Drepper1-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.
2001-01-07Update.Ulrich Drepper1-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.
2001-01-07Update.Ulrich Drepper1-0/+3
* sysdeps/alpha/Dist: Add alphaev6/stxncpy.S and alphaev6/stxcpy.S. * sysdeps/unix/sysv/aix/Dist: Add uitrunc.c, savef.S, and restf.S. * dlfcn/Makefile (distribute): Add errmsg1mod.c. * Makefile (distribute): Add include/libc-internal.h. * libio/Makefile (distribute): Avoid overwriting.
2001-01-07Update.Ulrich Drepper1-1/+0
* sysdeps/unix/sysv/linux/mips/Dist: Remove sys/acct.h.
2001-01-07Update.Ulrich Drepper1-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.
2001-01-05Update.Ulrich Drepper1-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.
2001-01-04(__socket): Fix error code handling.Ulrich Drepper1-3/+3
2000-12-31Update.Andreas Jaeger4-8/+4
* include/libc-internal.h: Add prototype for __libc_freeres. * malloc/mtrace.c: Likewise. * malloc/set-freeres.c: Likewise.
2000-12-28Update.Andreas Jaeger4-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.
2000-12-27(__protocol_available): Uncomment, it's not needed at the moment.Andreas Jaeger1-1/+2
2000-12-17Update.Andreas Jaeger1-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.
2000-12-16Update.Ulrich Drepper1-10/+2
2000-12-16 Jakub Jelinek <jakub@redhat.com> * catgets/gencat.c (read_input_file): Avoid calling obstack_free with a pointer not returned by obstack_ functions. * sysdeps/unix/sysv/aix/bits/stat.h (struct stat): Align with AIX version. (struct stat64): Likewise. Reported by Michael Keezer <mkeezer@redhat.com>.
2000-12-13Update.Andreas Jaeger1-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>.
2000-12-11Declare kernel_sigset_t and use it. Andreas Jaeger1-1/+10
Patch by Hiroyuki Machida <machida@sm.sony.co.jp>.
2000-12-09Update.Andreas Jaeger1-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.
2000-12-09Removed, we can use the generic version.Andreas Jaeger1-66/+0
2000-12-07Update.Ulrich Drepper2-1/+43
2000-12-06 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc] (sysdep_routines): Add uitrunc. * sysdeps/unix/sysv/aix/uitrunc.c: New file. Patches by Michael Keezer <mkeezer@redhat.com>.
2000-12-06Update.Ulrich Drepper4-5/+125
2000-12-05 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc] (sysdep_routines): Add restf and savef. * sysdeps/unix/sysv/aix/restf.c: New file. * sysdeps/unix/sysv/aix/savef.c: New file. Patches by Michael Keezer <mkeezer@redhat.com>. * sysdeps/unix/opendir.c (__opendir): Don't use o_directory_works if O_DIRECTORY is not defined. Patch by Michael Keezer <mkeezer@redhat.com>. * include/libc-symbols.h (C_SYMBOL_DOT_NAME): Define. Patch by Michael Keezer <mkeezer@redhat.com>. * locale/programs/linereader.c (get_toplvl_escape): Recognize more than 4 bytes in escape sequence. Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
2000-12-05Update.Andreas Jaeger1-4/+2
* sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Don't set mips2.
2000-12-05Update.Andreas Jaeger3-1228/+38
* 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>.
2000-12-05Define MAXHOSTNAMELEN.Ulrich Drepper1-0/+27
2000-12-05Update.Andreas Jaeger1-3/+0
2000-12-05 Andreas Jaeger <aj@suse.de> * sysdeps/unix/sysv/linux/sys/param.h: Revert last patch.
2000-12-05Update.Andreas Jaeger1-48/+48
2000-12-05 Martin Schwidefsky <schwidefsky@de.ibm.com> * sysdeps/unix/sysv/linux/s390/mmap64.S: Use mmap if mmap2 isn't available.
2000-12-05Update.Ulrich Drepper12-23/+97
2000-12-04 Ulrich Drepper <drepper@redhat.com> * configure.in: Define HAVE_ASM_GLOBAL_DOT_NAME for AIX. * config.h.in: Add HAVE_ASM_GLOBAL_DOT_NAME. * include/libc-symbols.h (strong_alias): Define special version for HAVE_ASM_GLOBAL_DOT_NAME. (weak_alias): Likewise. * sysdeps/powerpc/bsd-setjmp.S: Use strong_alias not .set. * sysdeps/unix/sysv/aix/Makefile [$(subdir)==login] (sysdep_routines): Add setutxent, getutxent, endutxent, getutxid, getutxline, pututxline, and utmpxname. * sysdeps/unix/sysv/aix/fchdir.c: Define __fchdir. * sysdeps/unix/sysv/aix/lseek.c: Define __libc_lseek alias. * sysdeps/unix/sysv/aix/open.c: Define __libc_open alias. * sysdeps/unix/sysv/aix/pread.c: Define pread alias. * sysdeps/unix/sysv/aix/pread64.c: Define pread64 alias. * sysdeps/unix/sysv/aix/sysdep.h (JUMPTARGET): Use C_TEXT. * sysdeps/unix/sysv/aix/bits/types.h: Define __clockid_t and __timer_t. * sysdeps/unix/sysv/aix/bits/utmp.h: Cleanup. Add comments. * sysdeps/unix/sysv/linux/sys/param.h (MAXHOSTNAMELEN): Define. Patches by Michael Keezer <mkeezer@redhat.com>.
2000-12-02Remove incorrect comment.Ulrich Drepper1-5/+1
2000-12-01Regenerated: autoconf configure.inUlrich Drepper1-11/+3
2000-11-30Update.Andreas Jaeger1-1/+2
2000-11-28 Andreas Jaeger <aj@suse.de> * sysdeps/unix/sysv/linux/getdents.c: Add _syscall_getdents64 declaration, adjust declaration of __syscall_getdents to match kernel.
2000-11-29Remove unused variable.Andreas Jaeger1-2/+2
2000-11-28Update.Ulrich Drepper1-26/+0
2000-11-14 Jes Sorensen <jes@linuxcare.com> * sysdeps/ia64/_mcount.S: Call __mcount instead of __mcount_internal. * sysdeps/ia64/Makefile: Compile _mcount.S in subdir gmon as _mcount is required by profiled binaries. * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: Moved to... * sysdeps/ia64/machine-gmon.h: ...here.
2000-11-28Synch with generic Linux version.Andreas Jaeger1-3/+3