Commit 79ae1054 authored by John Johansen's avatar John Johansen Committed by Tim Gardner

Revert "UBUNTU: SAUCE: Revert: fix: only allow a single threaded process to ..."

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

This reverts commit 9b306795.
Signed-off-by: default avatarTim Gardner <tim.gardner@canonical.com>
parent 74ab2e9b
...@@ -818,6 +818,13 @@ int aa_change_profile(const char *ns_name, const char *hname, bool onexec, ...@@ -818,6 +818,13 @@ int aa_change_profile(const char *ns_name, const char *hname, bool onexec,
if (error) if (error)
goto audit; goto audit;
if (onexec && !current_is_single_threaded()) {
info = "not a single threaded task";
error = -EACCES;
goto audit;
}
if (permtest) if (permtest)
goto audit; goto audit;
......
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