]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - security/commoncap.c
x86_64: mcelog tolerant level cleanup
[linux-2.6-omap-h63xx.git] / security / commoncap.c
index 384379ede4fd7c0f0e1a5c78c4ee9c70ce9f5cbb..338606eb7238007ea058e4c542d6fd68fb354c51 100644 (file)
@@ -148,7 +148,7 @@ void cap_bprm_apply_creds (struct linux_binprm *bprm, int unsafe)
 
        if (bprm->e_uid != current->uid || bprm->e_gid != current->gid ||
            !cap_issubset (new_permitted, current->cap_permitted)) {
-               current->mm->dumpable = suid_dumpable;
+               set_dumpable(current->mm, suid_dumpable);
 
                if (unsafe & ~LSM_UNSAFE_PTRACE_CAP) {
                        if (!capable(CAP_SETUID)) {