projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
binfmt_misc.c: avoid potential kernel stack overflow
[linux-2.6-block.git]
/
include
/
linux
/
binfmts.h
diff --git
a/include/linux/binfmts.h
b/include/linux/binfmts.h
index 1dd756731c95272977888c69512662a510c2d258..b512e48f6d8e9ccbcc811c364cf73a8f85bdd58f 100644
(file)
--- a/
include/linux/binfmts.h
+++ b/
include/linux/binfmts.h
@@
-34,7
+34,8
@@
struct linux_binprm{
#endif
struct mm_struct *mm;
unsigned long p; /* current top of mem */
- int sh_bang;
+ unsigned int sh_bang:1,
+ misc_bang:1;
struct file * file;
int e_uid, e_gid;
kernel_cap_t cap_inheritable, cap_permitted;