public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* [patch] include/elf/common.h new AT_RANDOM
@ 2009-03-15 19:20 Jan Kratochvil
  2009-03-16  8:44 ` Alan Modra
  0 siblings, 1 reply; 2+ messages in thread
From: Jan Kratochvil @ 2009-03-15 19:20 UTC (permalink / raw)
  To: binutils

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.  */

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [patch] include/elf/common.h new AT_RANDOM
  2009-03-15 19:20 [patch] include/elf/common.h new AT_RANDOM Jan Kratochvil
@ 2009-03-16  8:44 ` Alan Modra
  0 siblings, 0 replies; 2+ messages in thread
From: Alan Modra @ 2009-03-16  8:44 UTC (permalink / raw)
  To: Jan Kratochvil; +Cc: binutils

On Sun, Mar 15, 2009 at 08:19:55PM +0100, Jan Kratochvil wrote:
> 	* elf/common.h (AT_RANDOM): New.

OK.

-- 
Alan Modra
Australia Development Lab, IBM

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-03-16  8:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-15 19:20 [patch] include/elf/common.h new AT_RANDOM Jan Kratochvil
2009-03-16  8:44 ` Alan Modra

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).