mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
Update.
* sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define if __ASSUME_AT_XID is defined. * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_XID): Define for 2.4.1 and up. * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Optimize handling of AT_UID, AT_EUID, AT_GID, and AT_EGID.
This commit is contained in:
@ -171,6 +171,12 @@
|
||||
# define __ASSUME_AT_PAGESIZE 1
|
||||
#endif
|
||||
|
||||
/* Starting with at least 2.4.0 the kernel passes the uid/gid unconditionally
|
||||
up to the child. */
|
||||
#if __LINUX_KERNEL_VERSION >= 132097
|
||||
# define __ASSUME_AT_XID 1
|
||||
#endif
|
||||
|
||||
/* Starting with 2.4.5 kernels PPC passes the AUXV in the standard way
|
||||
and the mmap2 syscall made it into the official kernel. */
|
||||
#if __LINUX_KERNEL_VERSION >= (132096+5) && defined __powerpc__
|
||||
|
Reference in New Issue
Block a user