Message ID | 52095246.4070409@canonical.com |
---|---|
State | New |
Headers | show |
lowlatency is a rebase against master, so there is no need to apply this patch.
diff --git a/security/apparmor/domain.c b/security/apparmor/domain.c index a4d5c9c..4625a28 100644 --- a/security/apparmor/domain.c +++ b/security/apparmor/domain.c @@ -360,10 +360,6 @@ int apparmor_bprm_set_creds(struct linux_binprm *bprm) if (bprm->cred_prepared) return 0; - /* XXX: no_new_privs is not usable with AppArmor yet */ - if (bprm->unsafe & LSM_UNSAFE_NO_NEW_PRIVS) - return -EPERM; - cxt = bprm->cred->security; BUG_ON(!cxt);
BugLink: http://bugs.launchpad.net/bugs/1202161 Reverts commit f9b1d1b883eef77ed65b8457699dcbd551a3f039 which was fixed in c29bceb3 Signed-off-by: John Johansen <john.johansen@canonical.com> --- security/apparmor/domain.c | 4 ---- 1 file changed, 4 deletions(-)