git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
minix: replace inode uid,gid,mode init with helper
[safe/jmp/linux-2.6]
/
fs
/
binfmt_em86.c
diff --git
a/fs/binfmt_em86.c
b/fs/binfmt_em86.c
index
f95ae97
..
b8e8b0a
100644
(file)
--- a/
fs/binfmt_em86.c
+++ b/
fs/binfmt_em86.c
@@
-11,7
+11,6
@@
#include <linux/module.h>
#include <linux/string.h>
#include <linux/stat.h>
#include <linux/module.h>
#include <linux/string.h>
#include <linux/stat.h>
-#include <linux/slab.h>
#include <linux/binfmts.h>
#include <linux/elf.h>
#include <linux/init.h>
#include <linux/binfmts.h>
#include <linux/elf.h>
#include <linux/init.h>
@@
-43,7
+42,7
@@
static int load_em86(struct linux_binprm *bprm,struct pt_regs *regs)
return -ENOEXEC;
}
return -ENOEXEC;
}
- bprm->
sh_bang++;
/* Well, the bang-shell is implicit... */
+ bprm->
recursion_depth++;
/* Well, the bang-shell is implicit... */
allow_write_access(bprm->file);
fput(bprm->file);
bprm->file = NULL;
allow_write_access(bprm->file);
fput(bprm->file);
bprm->file = NULL;