mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
2003-06-26 Roland McGrath <roland@redhat.com>
* elf/elf.h (AT_SECURE): New macro. * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Grok it, set __libc_enable_secure. (_dl_show_auxv): Add AT_SECURE to name table. * elf/dl-support.c (_dl_aux_init): Grok AT_SECURE, set __libc_enable_secure and __libc_enable_secure_decided. * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE] (HAVE_AUX_SECURE): Define it. * sysdeps/unix/sysv/linux/kernel-features.h [__LINUX_KERNEL_VERSION >= 132425] (__ASSUME_AT_SECURE): Define it.
This commit is contained in:
@ -321,3 +321,9 @@
|
||||
#if __LINUX_KERNEL_VERSION >= 132426
|
||||
# define __ASSUME_STATFS64 1
|
||||
#endif
|
||||
|
||||
/* Starting with at least 2.5.74 the kernel passes the setuid-like exec
|
||||
flag unconditionally up to the child. */
|
||||
#if __LINUX_KERNEL_VERSION >= 132426
|
||||
# define __ASSUME_AT_SECURE 1
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user