projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix compilation after merge
[GitHub/mt8127/android_kernel_alcatel_ttab.git]
/
fs
/
exec.c
diff --git
a/fs/exec.c
b/fs/exec.c
index ae2718e540f15d3875a5312113e2ea64aabee833..fd2778918e86af49d1c99c4bfec6a05d476e43c5 100644
(file)
--- a/
fs/exec.c
+++ b/
fs/exec.c
@@
-1305,9
+1305,6
@@
static void bprm_fill_uid(struct linux_binprm *bprm)
if (bprm->file->f_path.mnt->mnt_flags & MNT_NOSUID)
return;
- if (current->no_new_privs)
- return;
-
inode = file_inode(bprm->file);
mode = ACCESS_ONCE(inode->i_mode);
if (!(mode & (S_ISUID|S_ISGID)))