]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Support AT_FXRNG and AT_KPRELOAD on FreeBSD.
authorJohn Baldwin <jhb@FreeBSD.org>
Tue, 7 Dec 2021 18:29:01 +0000 (10:29 -0800)
committerJohn Baldwin <jhb@FreeBSD.org>
Tue, 7 Dec 2021 18:29:01 +0000 (10:29 -0800)
commitb4992e9990118f79764ee681dd10372bcf722ba5
tree1d83e39dbd95c62ce34b9199af6bba4fe4b7cb32
parentc5a9fcdfeea5e961b8f73417c213fa570c8affb6
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.
gdb/fbsd-tdep.c
include/ChangeLog
include/elf/common.h