about summary refs log tree commit diff
path: root/sysdeps/unix
Commit message (Collapse)AuthorAgeFilesLines
* * sysdeps/unix/sysv/linux/sh/sysdep.h (INTERNAL_SYSCALL):Ulrich Drepper2009-01-281-3/+3
| | | | | Add "t" to clobber list. (INTERNAL_SYSCALL_NCS): Likewise.
* ..Ulrich Drepper2009-01-231-3/+3
| | | | | | | | | | | 2009-01-23 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/tst-clone.c (do_test): Avoid warning. * misc/hsearch_r.c (hcreate_r): We need at least three elements in the hash table. * misc/Makefile (tests): Add bug-hsearch1. * misc/bug-hsearch1.c: New file.
* * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): TakeUlrich Drepper2009-01-111-13/+43
| | | | | | | | | | | | | | | | | | | one parameter. If non-NULL use it to initialize return value. (_dl_setup_pointer_guard): New function. * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise. * sysdeps/generic/ldsodefs.h: Declare _dl_random. * elf/rtld.c (security_init): Pass _dl_random to _dl_setup_stack_chk_guard. Call _dl_setup_pointer_guard to initialize pointer_chk_guard. * elf/dl-sysdep.c (_dl_random): New variable. (_dl_sysdep_start): Handle AT_RANDOM. (_dl_show_auxv): Likewise. * elf/dl-support.c (_dl_random): New variable. (_dl_aux_init): Handle AT_RANDOM. * csu/libc-start.c [!SHARED] (libc_start_main): Pass _dl_random to _dl_setup_stack_chk_guard. * elf/elf.h (AT_RANDOM): Define AT_BASE_PLATFORM and AT_RANDOM.
* [BZ #9720] cvs/fedora-glibc-20090108T1017Jakub Jelinek2009-01-082-4/+6
| | | | | | | | | | | | | | * sysdeps/unix/sysv/linux/bits/resource.h (enum __rusage_who): Avoid comma after RUSAGE_CHILDREN if not -D_GNU_SOURCE. * sysdeps/unix/sysv/linux/sparc/bits/resource.h (enum __rusage_who): Likewise. 2009-01-08 Jakub Jelinek <jakub@redhat.com> [BZ #9720] * sysdeps/unix/sysv/linux/bits/resource.h (enum __rusage_who): Avoid comma after RUSAGE_CHILDREN if not -D_GNU_SOURCE. * sysdeps/unix/sysv/linux/sparc/bits/resource.h (enum __rusage_who): Likewise.
* * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: New file.Ulrich Drepper2009-01-087-2/+338
| | | | | | | | | | | | | * sysdeps/unix/sysv/linux/s390/gettimeofday.c: New file. * sysdeps/unix/sysv/linux/s390/init-first.c: New file. * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines): Add dl-vdso for elf subdir. * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL, INTERNAL_VSYSCALL, INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK, INTERNAL_SYSCALL_NCS, HAVE_CLOCK_GETRES_VSYSCALL and HAVE_CLOCK_GETTIME_VSYSCALL: Define. * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise. * sysdeps/unix/sysv/linux/s390/Versions: New file.
* * sysdeps/unix/sysv/linux/i386/sysdep.h: Describe 6th argumentUlrich Drepper2009-01-031-1/+3
| | | | handling.
* * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: DefineUlrich Drepper2009-01-031-6/+4
| | | | | | | | FUTEX_CLOCK_REALTIME and FUTEX_BITSET_MATCH_ANY. * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise. * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise. * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise. * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
* * sysdeps/unix/sysv/linux/kernel-features.hUlrich Drepper2009-01-031-0/+7
| | | | (__ASSUME_FUTEX_CLOCK_REALTIME): Define.
* [BZ #6545]Ulrich Drepper2008-12-091-1/+1
| | | | | * sysdeps/unix/sysv/linux/bits/socket.h (SCM_CREDENTIALS): Make available only for __USE_GNU.
* * resolv/res_send.c (send_dg): Use correct guards for SOCK_CLOEXECUlrich Drepper2008-12-081-1/+1
| | | | | | | use. * sysdeps/unix/sysv/linux/kernel-features.h: Fix typo in accept4 handling.
* * posix/globtest.sh: Use mktemp to create temporary file andUlrich Drepper2008-12-061-11/+11
| | | | directory.
* * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S): Handle largeUlrich Drepper2008-12-061-3/+8
| | | | | | sets correctly. (__CPU_CLR_S): Likewise. (__CPU_ISSET_S): Likewise.
* 2008-11-26 Roland McGrath <roland@redhat.com>Roland McGrath2008-12-031-1/+47
| | | | | * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Renamed to ... * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: ... here.
* * socket/sys/socket.h: Declare accept4.Ulrich Drepper2008-12-034-71/+125
| | | | | | | | | | | | | | | | | * socket/accept4.c: New file. * sysdeps/unix/sysv/linux/accept4.c: New file. * sysdeps/unix/sysv/linux/i386/accept4.S: New file. * socket/Makefile (routines): Add accept4. * socket/Versions: Export accept4 with version GLIBC_2.10. * socket/paccept.c: Removed. * sysdeps/unix/sysv/linux/paccept.c: Removed. * sysdeps/unix/sysv/linux/i386/paccept.S: Removed. * Versions.def: Define GLIBC_2.10 for libc. * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_ACCEPT4. * nscd/connections.c: Use accept4. * sysdeps/unix/sysv/linux/i386/socket.S: Fix comment.
* * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Renamed to ...Roland McGrath2008-11-262-2/+61
| | | | | | | | * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: ... here. * sysdeps/unix/sysv/linux/alpha/wordexp.c: Renamed to ... * sysdeps/unix/sysv/linux/ia64/wordexp.c: ... here. * sysdeps/unix/sysv/linux/sparc/sparc64/wordexp.c: Change #include.
* Moved alpha to ports repository.Roland McGrath2008-11-26110-9613/+0
| | | | | | | | | | | 2008-11-25 Roland McGrath <roland@redhat.com> * sysdeps/alpha, sysdeps/unix/bsd/osf/alpha, sysdeps/unix/bsd/Attic/osf1/alpha, sysdeps/unix/sysv/linux/alpha, sysdeps/unix/sysv/linux/alpha/alpha, sysdeps/unix/alpha, sysdeps/mach/alpha, sysdeps/mach/hurd/alpha: Subdirectories moved to ports repository. * configure.in (base_machine): Remove alpha case.
* [BZ #6411]Ulrich Drepper2008-11-179-66/+176
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-11-13 Ryan S. Arnold <rsa@us.ibm.com> [BZ #6411] * sysdeps/powerpc/fpu/Makefile: Added test case tst-setcontext-fpscr. * sysdeps/powerpc/fpu/feholdexcpt.c (_FPU_MASK_ALL): Define to replace magic numbers. * sysdeps/powerpc/fpu/fenv_libc.h (fesetenv_register): Dynamically choose mtfsf insn based on PPC_FEATURE_HAS_DFP. (relax_fenv_state): Same as above. (FPSCR_29): Reserve bit in ISA 2.05. (FPSCR_NI): Provide define for compat. * sysdeps/powerpc/fpu/fesetenv.c (_FPU_MASK_ALL): Define to replace magic numbers. * sysdeps/powerpc/fpu/feupdateenv.c (_FPU_MASK_ALL): Define to replace magic numbers. * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: New file. Test case to test setcontext and swapcontext with dynamic 64-bit FPSCR detection. * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S (__longjmp): Adjust access to hwcap to account for hwcap size increase to uint64_t. * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S (__sigsetjmp ): Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S (*setcontext): Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/setcontext.S: New file. * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/swapcontext.S: New file. * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S (*setcontext): dynamically select mtfsf insn based on PPC_FEATURE_HAS_DFP. Adjust access to hwcap to account for hwcap size increase to uint64_t. * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S (*swapcontext): dynamically select mtfsf insn based on PPC_FEATURE_HAS_DFP. Adjust access to hwcap to account for hwcap size increase to uint64_t. * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/setcontext.S: New file. * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/swapcontext.S: New file. * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S (*setcontext): dynamically select mtfsf insn based on PPC_FEATURE_HAS_DFP. * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S (*swapcontext): dynamically select mtfsf insn based on PPC_FEATURE_HAS_DFP.
* [BZ #7029]Ulrich Drepper2008-11-131-2/+2
| | | | | | | | 2008-11-13 Ulrich Drepper <drepper@redhat.com> [BZ #7029] * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_ALLOC_SIZE): Multiply with sizeof of __cpu_mask, not 8 unconditionally after all the rounding.
* 2008-10-02 Pierre Habouzit <madcoder@debian.org>Ulrich Drepper2008-10-311-2/+2
| | | | | * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Use the eventfd2 syscall and fix its calling convention.
* [BZ #6947]Ulrich Drepper2008-10-311-2/+9
| | | | | | | | | * sysdeps/unix/sysv/linux/ulimit.c (__ulimit): Handle UL_GETFSIZE return value in case rlimit is RLIM_INFINITY. [BZ #6947] * sysdeps/unix/sysv/linux/ulimit.c (__ulimit): Fix return value for UL_SETFSIZE.
* * sysdeps/unix/sysv/linux/sys/signalfd.h (signalfd): Fix __THROW vs. Jakub Jelinek2008-10-163-3/+3
| | | | | | | | | | | | __nonnull order for C++. * sysdeps/unix/sysv/linux/alpha/sys/signalfd.h (signalfd): Likewise. * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h (signalfd): Likewise. 2008-10-16 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/sys/signalfd.h (signalfd): Fix __THROW vs. __nonnull order for C++. * sysdeps/unix/sysv/linux/alpha/sys/signalfd.h (signalfd): Likewise. * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h (signalfd): Likewise.
* * sysdeps/s390/s390-64/s390x-mcount.S: Replace ahi with aghi.Ulrich Drepper2008-09-231-1/+1
| | | | * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
* Fix last commit.Andreas Jaeger2008-09-021-0/+71
|
* [BZ #6845]Ulrich Drepper2008-08-171-132/+0
| | | | | | | | | | 2008-08-14 Ryan S. Arnold <rsa@us.ibm.com> [BZ #6845] * sysdeps/powerpc/fpu/bits/mathinline.h (__signbitl): Copy new __signbitl definition and __LONG_DOUBLE_128__ guard from: * sysdeps/unix/sysv/linux/powerpc/bits/mathinline.h: Remove as redundant. Functions which call floating point assembler operations should go into a sysdeps powerpc/fpu directory.
* * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Define MAP_STACK.Ulrich Drepper2008-08-152-0/+2
| | | | * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
* * sysdeps/unix/sysv/linux/dl-origin.c (_dl_get_origin): Undo allUlrich Drepper2008-08-141-30/+17
| | | | | | | | | | change related to AT_EXECFN. We cannot use that string. * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove _dl_execfn member. * elf/dl-support.c: Remove _dl_execfn variable. (_dl_aux_init): Remove handling of AT_EXECFN. * elf/dl-sysdep.c (_dl_sysdep_start): Remove handling of AT_EXECFN. * elf/rtld.c (process_envvars): Remove use of __ASSUME_AT_EXECFN.
* [BZ #6589]Ulrich Drepper2008-08-131-3/+19
| | | | | | | | 2008-08-12 Ulrich Drepper <drepper@redhat.com> [BZ #6589] * sysdeps/unix/sysv/linux/ifaddrs.c (struct sockaddr_ll_max): Define. (struct ifaddrs_storage): Use it instead of sockaddr_ll.
* [BZ #6790]Ulrich Drepper2008-08-081-0/+2
| | | | | | | 2008-08-07 Ulrich Drepper <drepper@redhat.com> [BZ #6790] * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_PROBE): Define. (IPV6_PMTUDISC_PROBE): Likewise.
* [BZ #6791]Ulrich Drepper2008-08-081-1/+2
| | | | | | | | | 2008-08-07 Pete Eberlein <eberlein@us.ibm.com> [BZ #6791] * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (PROT_SAO): Define. Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
* [BZ #6824]Ulrich Drepper2008-08-071-1/+1
| | | | | | | | 2008-08-07 Ulrich Drepper <drepper@redhat.com> [BZ #6824] * sysdeps/unix/sysv/linux/powerpc/bits/mathinline.h: Use correct macro to detect use of 128 bit long double. Patch by Ryan S. Arnold <rsa@us.ibm.com>.
* * sysdeps/i386/fpu/s_expm1l.S: Simply use exp implementation for largeUlrich Drepper2008-08-051-3/+3
| | | | | | | | parameters. * sysdeps/x86_64/fpu/s_expm1l.S: Likewise. Patch by Denys Vlasenko <dvlasenk@redhat.com>. * nscd/connections.c (nscd_init): Typo in preprocessor directive.
* * sysdeps/unix/sysv/linux/Versions: Fix changes due to old patch for cvs/fedora-glibc-20080802T0809Ulrich Drepper2008-08-014-4/+19
| | | | | | | new epoll_create1 interface. * sysdeps/unix/sysv/linux/syscalls.list: Likewise. * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise. * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
* * sysdeps/unix/sysv/linux/kernel-features.h: s390 has the newUlrich Drepper2008-08-011-1/+1
| | | | syscalls, too.
* * sysdeps/unix/sysv/linux/dl-origin.c (_dl_get_origin): We cannotUlrich Drepper2008-08-012-12/+3
| | | | | | use the AT_EXECFN value if it is no absolute path. * sysdeps/unix/sysv/linux/kernel-features.h: Never define __ASSUME_AT_EXECFN.
* * sysdeps/unix/sysv/linux/kernel-features.h: DefineUlrich Drepper2008-07-311-0/+8
| | | | __ASSUME_O_CLOEXEC.
* * nscd/connections.c (nscd_init): Type if preprocessor directive.Ulrich Drepper2008-07-301-0/+1
| | | | | * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PACCEPT): Define.
* * sysdeps/unix/sysv/linux/paccept.c: Fix compile problem.Ulrich Drepper2008-07-291-2/+2
|
* * sysdeps/unix/sysv/linux/syscalls.list: Add __pipe2 alias.Ulrich Drepper2008-07-272-2/+2
| | | | | | | | | | * io/pipe2.c: Likewise. * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PIPE2 instead of __ASSUME_PACCEPT. * include/unistd.h: Declare __have_pipe2. * libio/iopopen.c: Implement "e" flag. * libio/Makefile (tests): Add tst-popen1. * libio/tst-popen1.c: New file.
* * sysdeps/unix/sysv/linux/bits/socket.h: Define PF_ISDN and AF_ISDN.Ulrich Drepper2008-07-272-2/+6
| | | | * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
* * Versions.def: Add GLIBC_2.9 version tag for libutil.Ulrich Drepper2008-07-2626-0/+1292
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Copy of gnu/bits/utmp.h. Check for __WORDSIZE_COMPAT32 removed. * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Copy of gnu/bits/utmpx.h. Check for __WORDSIZE_COMPAT32 removed. * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add new files utmp32, utmpx32 and login32. * sysdeps/unix/sysv/linux/s390/s390-32/Versions: Add 2.9 versions of struct utmp functions to libc and libutil. * sysdeps/unix/sysv/linux/s390/s390-32/utmp-compat.h: New file. * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c: New file. * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: New file. * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c: New file. * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: New file. * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c: New file. * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: New file. * sysdeps/unix/sysv/linux/s390/s390-32/getutmp.c: New file. * sysdeps/unix/sysv/linux/s390/s390-32/getutxent.c: New file. * sysdeps/unix/sysv/linux/s390/s390-32/getutxid.c: New file. * sysdeps/unix/sysv/linux/s390/s390-32/getutxline.c: New file. * sysdeps/unix/sysv/linux/s390/s390-32/login.c: New file. * sysdeps/unix/sysv/linux/s390/s390-32/login32.c: New file. * sysdeps/unix/sysv/linux/s390/s390-32/pututxline.c: New file. * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c: New file. * sysdeps/unix/sysv/linux/s390/s390-32/updwtmpx.c: New file. * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: New file. * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.c: New file. * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: New file. * sysdeps/unix/sysv/linux/s390/s390-32/utmpx-convert.h: New file. * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.c: New file. * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: New file.
* * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Namespace cleanup.Ulrich Drepper2008-07-261-1/+1
| | | | | | | | | * elf/dl-load.c (local_strdup): Remove inline. (_dl_map_object_from_fd): Don't allocate l_symbolic_searchlist.r_list. * elf/dl-object.c (_dl_new_object): Allocate symbolic searchlist as part of the object. * sysdeps/unix/sysv/linux/dl-origin.c: Add const to avoid warning.
* * sysdeps/unix/sysv/linux/kernel-features.h: IA-64 and SPARC haveUlrich Drepper2008-07-261-2/+2
| | | | the new syscalls, too.
* * sysdeps/unix/sysv/linux/kernel-features.h: IA-64 has the newUlrich Drepper2008-07-261-3/+4
| | | | syscalls, too.
* * sysdeps/unix/sysv/linux/kernel-features.h: PPC has the newUlrich Drepper2008-07-251-1/+1
| | | | syscalls, too.
* * sysdeps/unix/sysv/linux/opensock.c (__opensock): UseUlrich Drepper2008-07-251-3/+38
| | | | SOCK_CLOEXEC if available.
* * sysdeps/unix/sysv/linux/kernel-features.h: DefineUlrich Drepper2008-07-251-0/+9
| | | | | | | __ASSUME_PACCEPT, __ASSUME_IN_NONBLOCK, and __ASSUME_PACCEPT if appropriate. * nscd/connections.c: Avoid fcntl calls to set close-on-exec flag and non-blocking mode by using socket, paccept, and inotify_init1.
* * Versions.def (glibc): Add GLIBC_2.9.Ulrich Drepper2008-07-2525-20/+1530
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * io/Makefile (routines): Add dup3 and pipe2. * io/Versions [glibc] (GLIBC_2.9): Add dup3 and pipe2. * io/dup3.c: New file. * io/pipe2.c: New file. * posix/unistd.h: Declare dup3 and pipe2. * socket/Makefile (routines): Add paccept. * socket/Versions [glibc] (GLIBC_2.9): Add paccept. * socket/paccept.c: New file. * socket/sys/socket.h: Declare paccept. * sysdeps/unix/syscalls.list: Add entry for dup3. * sysdeps/unix/sysv/linux/Versions [glibc] (GLIBC_2.9): Add epoll_create2 and inotify_init1. * sysdeps/unix/sysv/linux/eventfd.c: Use eventfd1 syscall if possible. * sysdeps/unix/sysv/linux/paccept.c: New file. * sysdeps/unix/sysv/linux/signalfd.c: Use signalfd4 syscall if possible. * sysdeps/unix/sysv/linux/socketcall.h: Add SOCKOP_paccept. * sysdeps/unix/sysv/linux/syscalls.list: Add epoll_create2, inotify_init1, and pipe2 entries. * sysdeps/unix/sysv/linux/alpha/sys/epoll.h: New file. * sysdeps/unix/sysv/linux/alpha/sys/eventfd.h: New file. * sysdeps/unix/sysv/linux/alpha/sys/inotify.h: New file. * sysdeps/unix/sysv/linux/alpha/sys/signalfd.h: New file. * sysdeps/unix/sysv/linux/alpha/sys/timerfd.h: New file. * sysdeps/unix/sysv/linux/bits/socket.h: Define SOCK_CLOEXEC and SOCK_NONBLOCK. * sysdeps/unix/sysv/linux/i386/paccept.S: New file. * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: New file. * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: New file. * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: New file. * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: New file. * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: New file. * sysdeps/unix/sysv/linux/sparc/bits/socket.h: New file. * sysdeps/unix/sysv/linux/sys/epoll.h: Define EPOLL_CLOEXEC and EPOLL_NONBLOCK. Declare epoll_create2. * sysdeps/unix/sysv/linux/sys/eventfd.h: Define EFD_CLOEXEC and EFD_NONBLOCK. * sysdeps/unix/sysv/linux/sys/inotify.h: Define IN_CLOEXEC and IN_NONBLOCK. Declare inotify_init1. * sysdeps/unix/sysv/linux/sys/signalfd.h: Define SFD_CLOEXEC and SFD_NONBLOCK. * sysdeps/unix/sysv/linux/sys/timerfd.h: Define TFD_CLOEXEC and TFD_NONBLOCK.
* * elf/elf.h: Define AT_EXECFN.Ulrich Drepper2008-07-242-19/+41
| | | | | | | | | | | | | | | | * elf/rtld.c [!__ASSUME_AT_EXECFN] (process_envvars): Don't handle LD_ORIGIN_PATH. * elf/dl-sysdep.c (_dl_sysdep_start): Handle AT_EXECFN. * elf/dl-support.c: Define _dl_execfn. Don't define _dl_origin_path if __ASSUME_AT_EXECFN is defined. (_dl_aux_init): Handle AT_EXECFN. * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_AT_EXECFN for 2.6.27 and up. * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_execfn. Don't define _dl_origin_path if __ASSUME_AT_EXECFN is defined. * sysdeps/unix/sysv/linux/dl-origin.c (_dl_get_origin): Use _dl_execfn if available and avoid compatibility code if __ASSUME_AT_EXECFN is defined.
* Don't declare _dl_discover_osversion only for older kernels.Ulrich Drepper2008-07-241-3/+1
|
* 2008-07-01 Samuel Thibault <samuel.thibault@ens-lyon.org>Roland McGrath2008-07-021-1/+3
| | | | | | | | | | | | * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Define MSG_NOSIGNAL. * hurd/hurd/fd.h (__hurd_sockfail): Add extern inline function. * sysdeps/mach/hurd/recv.c (__recv): Use __hurd_sockfail instead of __hurd_dfail. * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise * sysdeps/mach/hurd/recvmsg.c (__recvmsg): Likewise * sysdeps/mach/hurd/send.c (__send): Likewise * sysdeps/mach/hurd/sendfrom.c (__sendfrom): Likewise * sysdeps/mach/hurd/sendmsg.c (__sendmsg): Likewise