summaryrefslogtreecommitdiffstats
path: root/include/linux/binfmts.h
diff options
context:
space:
mode:
authorKirill A. Shutemov2009-04-03 01:58:29 +0200
committerLinus Torvalds2009-04-03 04:05:01 +0200
commita50b0aa4bd9a7d42112442a385f3dc0e775284dd (patch)
treef4707e5a1c524545c8caa40eebbe8764c20bfe93 /include/linux/binfmts.h
parentbin_elf_fdpic: check the return value of clear_user (diff)
downloadkernel-qcow2-linux-a50b0aa4bd9a7d42112442a385f3dc0e775284dd.tar.gz
kernel-qcow2-linux-a50b0aa4bd9a7d42112442a385f3dc0e775284dd.tar.xz
kernel-qcow2-linux-a50b0aa4bd9a7d42112442a385f3dc0e775284dd.zip
struct linux_binprm: drop unused fields
Signed-off-by: Kirill A. Shutemov <kirill@shutemov.name> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/binfmts.h')
-rw-r--r--include/linux/binfmts.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/binfmts.h b/include/linux/binfmts.h
index 77b4a9e46004..6638b8148de7 100644
--- a/include/linux/binfmts.h
+++ b/include/linux/binfmts.h
@@ -35,8 +35,7 @@ struct linux_binprm{
#endif
struct mm_struct *mm;
unsigned long p; /* current top of mem */
- unsigned int sh_bang:1,
- misc_bang:1,
+ unsigned int
cred_prepared:1,/* true if creds already prepared (multiple
* preps happen for interpreters) */
cap_effective:1;/* true if has elevated effective capabilities,