[PATCH 1/2] Define the EF_AS_NO_RANDOM e_flag bit

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Samium Gromoff
Date: Tuesday, January 23, 2007 - 1:28 pm

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;
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] Undo some of the pseudo-security madness, Samium Gromoff, (Sun Jan 21, 4:23 pm)
Re: [PATCH] Undo some of the pseudo-security madness, Valdis.Kletnieks, (Mon Jan 22, 8:20 am)
Re: [PATCH] Undo some of the pseudo-security madness, Samium Gromoff, (Mon Jan 22, 10:39 am)
Re: [PATCH] Undo some of the pseudo-security madness, Pavel Machek, (Tue Jan 23, 1:48 am)
Re: [PATCH] Undo some of the pseudo-security madness, Samium Gromoff, (Tue Jan 23, 7:03 am)
[PATCH 1/2] Define the EF_AS_NO_RANDOM e_flag bit, Samium Gromoff, (Tue Jan 23, 1:28 pm)
Re: [PATCH 1/2] Define the EF_AS_NO_RANDOM e_flag bit, Jakub Jelinek, (Tue Jan 23, 1:50 pm)
Re: [PATCH 1/2] Define the EF_AS_NO_RANDOM e_flag bit, Samium Gromoff, (Tue Jan 23, 2:06 pm)
Re: [PATCH 1/2] Define the EF_AS_NO_RANDOM e_flag bit, Jakub Jelinek, (Tue Jan 23, 2:16 pm)
Re: [PATCH 1/2] Define the EF_AS_NO_RANDOM e_flag bit, Samium Gromoff, (Tue Jan 23, 2:54 pm)
Re: [PATCH 1/2] Define the EF_AS_NO_RANDOM e_flag bit, Samium Gromoff, (Tue Jan 23, 4:21 pm)
Re: [PATCH 1/2] Define the EF_AS_NO_RANDOM e_flag bit, Pavel Machek, (Wed Jan 24, 10:08 am)
Re: [PATCH 1/2] Define the EF_AS_NO_RANDOM e_flag bit, Arjan van de Ven, (Sun Jan 28, 6:18 pm)
Re: [PATCH] Undo some of the pseudo-security madness, Arjan van de Ven, (Wed Jan 31, 2:59 am)
Re: [PATCH] Undo some of the pseudo-security madness, Florian Weimer, (Thu Feb 1, 1:05 am)
Re: [PATCH] Undo some of the pseudo-security madness, Florian Weimer, (Sat Feb 24, 2:51 am)
Re: [PATCH] Undo some of the pseudo-security madness, Samium Gromoff, (Sat Feb 24, 6:36 am)