linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] fs: binfmt_elf: Remove unused defines INTERPRETER_NONE and INTERPRETER_ELF
@ 2013-12-07 21:44 Todor Minchev
  0 siblings, 0 replies; 2+ messages in thread
From: Todor Minchev @ 2013-12-07 21:44 UTC (permalink / raw)
  To: viro; +Cc: linux-fsdevel

These two defines are unused since the removal of the a.out interpreter
support in the ELF loader in kernel 2.6.25

Signed-off-by: Todor Minchev <todor@minchev.co.uk>
---
 fs/binfmt_elf.c |    3 ---
 1 file changed, 3 deletions(-)

diff --git a/fs/binfmt_elf.c b/fs/binfmt_elf.c
index 571a423..67be295 100644
--- a/fs/binfmt_elf.c
+++ b/fs/binfmt_elf.c
@@ -543,9 +543,6 @@ out:
  * libraries.  There is no binary dependent code anywhere else.
  */
 
-#define INTERPRETER_NONE 0
-#define INTERPRETER_ELF 2
-
 #ifndef STACK_RND_MASK
 #define STACK_RND_MASK (0x7ff >> (PAGE_SHIFT - 12))	/* 8MB of VA */
 #endif
-- 
1.7.10.4


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

* [PATCH] fs: binfmt_elf: Remove unused defines INTERPRETER_NONE and INTERPRETER_ELF
@ 2013-12-07 21:56 Todor Minchev
  0 siblings, 0 replies; 2+ messages in thread
From: Todor Minchev @ 2013-12-07 21:56 UTC (permalink / raw)
  To: linux-fsdevel

These two defines are unused since the removal of the a.out interpreter
support in the ELF loader in kernel 2.6.25

Signed-off-by: Todor Minchev <todor@minchev.co.uk>
---
 fs/binfmt_elf.c |    3 ---
 1 file changed, 3 deletions(-)

diff --git a/fs/binfmt_elf.c b/fs/binfmt_elf.c
index 571a423..67be295 100644
--- a/fs/binfmt_elf.c
+++ b/fs/binfmt_elf.c
@@ -543,9 +543,6 @@ out:
  * libraries.  There is no binary dependent code anywhere else.
  */
 
-#define INTERPRETER_NONE 0
-#define INTERPRETER_ELF 2
-
 #ifndef STACK_RND_MASK
 #define STACK_RND_MASK (0x7ff >> (PAGE_SHIFT - 12))	/* 8MB of VA */
 #endif
-- 
1.7.10.4


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

end of thread, other threads:[~2013-12-07 21:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-07 21:56 [PATCH] fs: binfmt_elf: Remove unused defines INTERPRETER_NONE and INTERPRETER_ELF Todor Minchev
  -- strict thread matches above, loose matches on Subject: below --
2013-12-07 21:44 Todor Minchev

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 NNTP newsgroup(s).