mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-17 07:53:51 +08:00
Support AT_FXRNG and AT_KPRELOAD on FreeBSD.
FreeBSD's kernel has recently added two new ELF auxiliary vector entries. AT_FXRNG points to a root seed version for the kernel's PRNG. Userland can use this to reseed a userland PRNG after the kernel's PRNG has reseeded. AT_KPRELOAD is the base address of a kernel-provided vDSO. This change displays the proper name and description of these entries in 'info auxv'. include/ChangeLog: * elf/common.h (AT_FREEBSD_FXRNG, AT_FREEBSD_KPRELOAD): Define.
This commit is contained in:
@ -1392,6 +1392,8 @@
|
||||
#define AT_FREEBSD_ENVC 30 /* Environment count. */
|
||||
#define AT_FREEBSD_ENVV 31 /* Environment vvector. */
|
||||
#define AT_FREEBSD_PS_STRINGS 32 /* struct ps_strings. */
|
||||
#define AT_FREEBSD_FXRNG 33 /* Pointer to root RNG seed version. */
|
||||
#define AT_FREEBSD_KPRELOAD 34 /* Base of vdso. */
|
||||
|
||||
#define AT_SUN_UID 2000 /* Effective user ID. */
|
||||
#define AT_SUN_RUID 2001 /* Real user ID. */
|
||||
|
Reference in New Issue
Block a user