diff options
Diffstat (limited to 'security/commoncap.c')
-rw-r--r-- | security/commoncap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/commoncap.c b/security/commoncap.c index 384379ede4fd..338606eb7238 100644 --- a/security/commoncap.c +++ b/security/commoncap.c | |||
@@ -148,7 +148,7 @@ void cap_bprm_apply_creds (struct linux_binprm *bprm, int unsafe) | |||
148 | 148 | ||
149 | if (bprm->e_uid != current->uid || bprm->e_gid != current->gid || | 149 | if (bprm->e_uid != current->uid || bprm->e_gid != current->gid || |
150 | !cap_issubset (new_permitted, current->cap_permitted)) { | 150 | !cap_issubset (new_permitted, current->cap_permitted)) { |
151 | current->mm->dumpable = suid_dumpable; | 151 | set_dumpable(current->mm, suid_dumpable); |
152 | 152 | ||
153 | if (unsafe & ~LSM_UNSAFE_PTRACE_CAP) { | 153 | if (unsafe & ~LSM_UNSAFE_PTRACE_CAP) { |
154 | if (!capable(CAP_SETUID)) { | 154 | if (!capable(CAP_SETUID)) { |