Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 457812 | Differences between
and this patch

Collapse All | Expand All

(-)file_not_specified_in_diff (-2 / +2 lines)
Line  Link Here
0
-- a/kernel/capability.c
0
++ b/kernel/capability.c
Lines 403-409 bool ns_capable_nolog(struct user_namespace *ns, int cap) Link Here
403
               BUG();
403
               BUG();
404
       }
404
       }
405
405
406
       if (security_capable(current_cred(), ns, cap) == 0 && gr_is_capable_nolog(cap)) {
406
       if (security_capable_dontaudit(current_cred(), ns, cap) == 0 && gr_is_capable_nolog(cap)) {
407
               current->flags |= PF_SUPERPRIV;
407
               current->flags |= PF_SUPERPRIV;
408
               return true;
408
               return true;
409
       }
409
       }

Return to bug 457812