aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
AgeCommit message (Collapse)Author
2001-01-26Update.Ulrich Drepper
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 Drepper
* 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 Drepper
* sysdeps/generic/bits/confname.h: Correct names of _SC_PBS constants and add _SC_STREAMS. * sysdeps/posix/sysconf.c (__sysconf): Likewise.
2001-01-25Update.Ulrich Drepper
* include/sys/statvfs.h: New file.
2001-01-25Update.Ulrich Drepper
* 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 Drepper
* sysdeps/generic/bits/confname.h: Define _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE, _PC_REC_MIN_XFER_SIZE, and _PC_REC_XFER_ALIGN. * sysdeps/posix/pathconf.c (__pathconf): Implement handling of _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE, _PC_REC_MIN_XFER_SIZE, and _PC_REC_XFER_ALIGN.
2001-01-25Update.Ulrich Drepper
* 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 Jaeger
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 Drepper
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-21Reduce .data size.Ulrich Drepper
2001-01-20Update.Ulrich Drepper
* sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Fix typo preventing optimization from being done. Set the correct type bit in seen. Don't define and use _dl_base_addr unless
2001-01-20Update.Ulrich Drepper
* sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Initialize egid to 1. This helps those installing ld.so SUID (nobody will be that stupid, I hope). Don't define and use _dl_base_addr unless NEED_DL_BASE_ADDR is defined.
2001-01-19* sysdeps/mach/hurd/chroot.c (chroot): Revert 1999-02-27 changes, but change ↵Mark Kettenis
looking up the initial directory port in a similar way as done by _hurd_change_directory_port_from_name. * hurd/fchroot.c (fchroot): Likewise. 2001-01-19 Mark Kettenis <kettenis@gnu.org> * sysdeps/mach/hurd/chroot.c (chroot): Revert 1999-02-27 changes, but change looking up the initial directory port in a similar way as done by _hurd_change_directory_port_from_name. * hurd/fchroot.c (fchroot): Likewise.
2001-01-19Update.Ulrich Drepper
* 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 Drepper
* 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-17(__bswap_32): Add cast to avoid invalid asm.Andreas Schwab
2001-01-17Update.Ulrich Drepper
* 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-17Update.Ulrich Drepper
* setjmp/setjmp.h: Cleanup definition of setjmp macro.
2001-01-16Update.Ulrich Drepper
* sysdeps/i386/elf/bsd-setjmp.S: Real implementation. * sysdeps/i386/elf/bsd-_setjmp.S: Removed. * sysdeps/i386/elf/setjmp.S (setjmp): Removed here. * sysdeps/i386/bsd-_setjmp.S: Real implementation. * sysdeps/i386/bsd-setjmp.S: Real implementation. * sysdeps/i386/bits/setjmp.h: Remove PUSH_SIGNAL_MASK definition. * sysdeps/i386/setjmp.S: Remove PIC support. This is the non-ELF version. * stdio-common/tstscanf.c (main): Add two testcases for '*' modifier.
2001-01-16(setjmp): Don't use __sigsetjmp code, do it here. (_setjmp): Likewise.Ulrich Drepper
2001-01-16Fix typo in last patch.Andreas Jaeger
2001-01-15Remove select syscall handling. The generic Linux version should work.Ulrich Drepper
2001-01-15Update.Andreas Jaeger
* sysdeps/unix/sysv/linux/sys/sendfile.h: Fix typo.
2001-01-15* sysdeps/unix/sysv/linux/mips/register-dump.h (REGISTER_DUMP): Andreas Jaeger
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 Drepper
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-12(install_handler): Use access, not __access.Ulrich Drepper
2001-01-12* posix/fnmatch_loop.c (FCT): Remove signed warnings. Andreas Jaeger
* posix/wordexp.c (do_parse_glob): Likewise. * sysdeps/posix/sigblock.c (__sigblock): Likewise. * sysdeps/posix/sigsetmask.c (__sigsetmask): Likewise. * elf/dl-open.c (_dl_open): Likewise. * elf/dl-close.c (_dl_close): Likewise. * elf/dl-load.c (_dl_map_object): Likewise. * iconv/iconv_prog.c (process_fd): Likewise.
2001-01-11Update.Ulrich Drepper
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 Drepper
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 Drepper
* 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 Drepper
2001-01-10 H.J. Lu <hjl@gnu.org> * sysdeps/unix/sysv/linux/ia64/syscalls.list (s_getpagesize): Removed.
2001-01-10Update.Ulrich Drepper
* sysdeps/generic/elf/backtracesyms.c (__backtrace_symbols): Minimal cleanups. Add assert to ensure memory handling is correct.
2001-01-09Update.Ulrich Drepper
* 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 Drepper
* 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-08Update.Ulrich Drepper
* sysdeps/generic/segfault.c (install_handler): Check output file name with access().
2001-01-08Update.Ulrich Drepper
* resolv/res_query.c: Use simply getenv() for HOSTALIASES. * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add HOSTALIASES.
2001-01-08Update.Ulrich Drepper
* sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add missing comma.
2001-01-07Update.Ulrich Drepper
* sysdeps/generic/bits/byteswap.h (__bswap_64): Partly revert last patch. We must use unsigned int for l member of union.
2001-01-07Update.Ulrich Drepper
* sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Don't call _dl_aux_init for shared libraries.
2001-01-07Update.Ulrich Drepper
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 Drepper
* 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 Drepper
* sysdeps/unix/sysv/linux/mips/Dist: Remove sys/acct.h.
2001-01-07Update.Ulrich Drepper
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-07* sysdeps/mach/hurd/readdir64.c: New file. * ↵Mark Kettenis
sysdeps/mach/hurd/readdir64_r.c: New file. 2001-01-06 Mark Kettenis <kettenis@gnu.org> * sysdeps/mach/hurd/readdir64.c: New file. * sysdeps/mach/hurd/readdir64_r.c: New file.
2001-01-07* sysdeps/mach/hurd/fstatvfs.c (fstatvfs): Add comment about `struct statfs' ↵Mark Kettenis
and `struct statvfs' being identical. * sysdeps/mach/hurd/statvfs.c (statvfs): Likewise. 2001-01-07 Mark Kettenis <kettenis@gnu.org> * sysdeps/mach/hurd/fstatvfs.c (fstatvfs): Add comment about `struct statfs' and `struct statvfs' being identical. * sysdeps/mach/hurd/statvfs.c (statvfs): Likewise.
2001-01-07* sysdeps/mach/hurd/fstatfs64.c: New file. * sysdeps/mach/hurd/fstatvfs64.c: ↵Mark Kettenis
New file. * sysdeps/mach/hurd/statfs64.c: New file. * sysdeps/mach/hurd/statvfs64.c: New file. * sysdeps/mach/hurd/statfsconv.c: New file. * sysdeps/mach/hurd/Dist: Add statfsconv.c. 2001-01-06 Mark Kettenis <kettenis@gnu.org> * sysdeps/mach/hurd/fstatfs64.c: New file. * sysdeps/mach/hurd/fstatvfs64.c: New file. * sysdeps/mach/hurd/statfs64.c: New file. * sysdeps/mach/hurd/statvfs64.c: New file. * sysdeps/mach/hurd/statfsconv.c: New file. * sysdeps/mach/hurd/Dist: Add statfsconv.c.
2001-01-06(Finding Tokens in a String): Document XPG basename() and dirname(), aswell ↵Ulrich Drepper
as GNU basename().
2001-01-06* sysdeps/mach/hurd/readdir_r.c (__readdir_r): Return error number instead ↵Mark Kettenis
of -1 on failure. Don't forget to copy file name into *ENTRY if successful. Set *RESULT to NULL upon reaching the end of the directory. * sysdeps/mach/hurd/readdir_r.c (__readdir_r): Return error number instead of -1 on failure. Don't forget to copy file name into *ENTRY if successful. Set *RESULT to NULL upon reaching the end of the directory. 2001-01-06 Mark Kettenis <kettenis@gnu.org>
2001-01-06* sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Don't forget to copy ↵Mark Kettenis
st_atime member. 2001-01-06 Mark Kettenis <kettenis@gnu.org> * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Don't forget to copy st_atime member.
2001-01-05Update.Ulrich Drepper
* 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.