[PATCH 1/2] Define the EF_AS_NO_RANDOM e_flag bit

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Alan <alan@...>
Cc: Samium Gromoff <_deepfire@...>, Pavel Machek <pavel@...>, <Valdis.Kletnieks@...>, David Wagner <daw@...>, <linux-kernel@...>
Date: Tuesday, January 23, 2007 - 4: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, 7:23 pm)
Re: [PATCH] Undo some of the pseudo-security madness, Samium Gromoff, (Mon Jan 22, 1:39 pm)
Re: [PATCH] Undo some of the pseudo-security madness, Pavel Machek, (Tue Jan 23, 4:48 am)
Re: [PATCH] Undo some of the pseudo-security madness, Samium Gromoff, (Tue Jan 23, 10:03 am)
Re: [PATCH] Undo some of the pseudo-security madness, Arjan van de Ven, (Wed Jan 31, 5:59 am)
Re: [PATCH] Undo some of the pseudo-security madness, Florian Weimer, (Thu Feb 1, 4:05 am)
Re: [PATCH] Undo some of the pseudo-security madness, Florian Weimer, (Sat Feb 24, 5:51 am)
Re: [PATCH] Undo some of the pseudo-security madness, Samium Gromoff, (Sat Feb 24, 9:36 am)
[PATCH 1/2] Define the EF_AS_NO_RANDOM e_flag bit, Samium Gromoff, (Tue Jan 23, 4:28 pm)
Re: [PATCH 1/2] Define the EF_AS_NO_RANDOM e_flag bit, Arjan van de Ven, (Sun Jan 28, 9:18 pm)
Re: [PATCH 1/2] Define the EF_AS_NO_RANDOM e_flag bit, Jakub Jelinek, (Tue Jan 23, 4:50 pm)
Re: [PATCH 1/2] Define the EF_AS_NO_RANDOM e_flag bit, Samium Gromoff, (Tue Jan 23, 5:06 pm)
Re: [PATCH 1/2] Define the EF_AS_NO_RANDOM e_flag bit, Jakub Jelinek, (Tue Jan 23, 5:16 pm)
Re: [PATCH 1/2] Define the EF_AS_NO_RANDOM e_flag bit, Samium Gromoff, (Tue Jan 23, 7:21 pm)
Re: [PATCH 1/2] Define the EF_AS_NO_RANDOM e_flag bit, Pavel Machek, (Wed Jan 24, 1:08 pm)
Re: [PATCH 1/2] Define the EF_AS_NO_RANDOM e_flag bit, Samium Gromoff, (Tue Jan 23, 5:54 pm)