Commit 4bf2dc6b authored by John Johansen's avatar John Johansen Committed by Tim Gardner

Revert "UBUNTU: SAUCE: apparmor: Disallow update of cred when then subjective...

Revert "UBUNTU: SAUCE: apparmor: Disallow update of cred when then subjective != the objective cred"

BugLink: http://bugs.launchpad.net/bugs/1379535

This reverts commit 1f95c6b69724417ab7039e924ec1a46cdc2f3a03.
Signed-off-by: default avatarTim Gardner <tim.gardner@canonical.com>
parent 85978f5f
......@@ -100,9 +100,6 @@ int aa_replace_current_label(struct aa_label *label)
if (cxt->label == label)
return 0;
if (current_cred() != current_real_cred())
return -EBUSY;
new = prepare_creds();
if (!new)
return -ENOMEM;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment