projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging-2.6
[cascardo/linux.git]
/
fs
/
compat.c
diff --git
a/fs/compat.c
b/fs/compat.c
index
65a070e
..
d0145ca
100644
(file)
--- a/
fs/compat.c
+++ b/
fs/compat.c
@@
-1407,7
+1407,7
@@
int compat_do_execve(char * filename,
bprm->cred = prepare_exec_creds();
if (!bprm->cred)
goto out_unlock;
- check_unsafe_exec(bprm);
+ check_unsafe_exec(bprm
, current->files
);
file = open_exec(filename);
retval = PTR_ERR(file);