lkml.org 
[lkml]   [2007]   [Jan]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH 1/2] Define the EF_AS_NO_RANDOM e_flag bit
Author: Samium Gromoff <deepfire@betelheise.deep.net>
Date: Tue Jan 23 22:31:13 2007 +0300

Define the ELF binary header flag EF_AS_NO_RANDOM

EF_AS_NO_RANDOM should mean that the binary requests to not apply
randomisation to address spaces of its processes.

diff --git a/include/linux/elf.h b/include/linux/elf.h
index 60713e6..58ebb47 100644
--- a/include/linux/elf.h
+++ b/include/linux/elf.h
@@ -172,6 +172,8 @@ typedef struct elf64_sym {

#define EI_NIDENT 16

+#define EF_AS_NO_RANDOM 0x1 /* do not randomise the address space */
+
typedef struct elf32_hdr{
unsigned char e_ident[EI_NIDENT];
Elf32_Half e_type;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2007-01-23 21:51    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site