diff options
| author | Levin Calado <levincalado@gmail.com> | 2015-07-05 15:37:10 +0800 |
|---|---|---|
| committer | Moyster <oysterized@gmail.com> | 2016-08-26 19:17:16 +0200 |
| commit | 6cc98d8e5381a1c4154666c75b5280afb0f8e946 (patch) | |
| tree | 4400f8418c171c1314bbba020f80db8df3b41094 /fs/exec.c | |
| parent | 6c12995c93081bfec11af4f011a1de688c634652 (diff) | |
fs: fix commit 9eae8ac6 based off d0ff694
Signed-off-by: Levin Calado <levincalado@gmail.com>
Signed-off-by: Stefan Guendhoer <stefan@guendhoer.com>
Diffstat (limited to 'fs/exec.c')
| -rw-r--r-- | fs/exec.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1279,7 +1279,7 @@ 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) + if (task_no_new_privs(current)) return; inode = file_inode(bprm->file); |
