aboutsummaryrefslogtreecommitdiffstats
path: root/fs/compat.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/compat.c')
-rw-r--r--fs/compat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/compat.c b/fs/compat.c
index 25589f8322f2..0949b43794a4 100644
--- a/fs/compat.c
+++ b/fs/compat.c
@@ -1408,7 +1408,7 @@ int compat_do_execve(char * filename,
1408 bprm->cred = prepare_exec_creds(); 1408 bprm->cred = prepare_exec_creds();
1409 if (!bprm->cred) 1409 if (!bprm->cred)
1410 goto out_unlock; 1410 goto out_unlock;
1411 check_unsafe_exec(bprm); 1411 check_unsafe_exec(bprm, current->files);
1412 1412
1413 file = open_exec(filename); 1413 file = open_exec(filename);
1414 retval = PTR_ERR(file); 1414 retval = PTR_ERR(file);