This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[patch] include/elf/common.h new AT_RANDOM
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: binutils at sourceware dot org
- Date: Sun, 15 Mar 2009 20:19:55 +0100
- Subject: [patch] include/elf/common.h new AT_RANDOM
Hi,
Linux kernel pre-2.6.29 already contains a new AUXV tag:
+#define AT_RANDOM 25 /* address of 16 random bytes */
http://sourceware.org/ml/libc-alpha/2008-10/threads.html#00006
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=f06295b44c296c8fb08823a3118468ae343b60f2
Considering obvious but requesting approval; to make GDB aware of it.
Thanks,
Jan
include/
2009-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
* elf/common.h (AT_RANDOM): New.
--- include/elf/common.h 2 Mar 2009 10:33:07 -0000 1.104
+++ include/elf/common.h 15 Mar 2009 19:08:12 -0000
@@ -803,6 +803,7 @@
#define AT_SECURE 23 /* Boolean, was exec setuid-like? */
#define AT_BASE_PLATFORM 24 /* String identifying real platform,
may differ from AT_PLATFORM. */
+#define AT_RANDOM 25 /* Address of 16 random bytes. */
#define AT_EXECFN 31 /* Filename of executable. */
/* Pointer to the global system page used for system calls and other
nice things. */