Message ID | 5432DC8A.9020504@canonical.com |
---|---|
State | New |
Headers | show |
diff --git a/security/apparmor/domain.c b/security/apparmor/domain.c index 3953b31..1d07506 100644 --- a/security/apparmor/domain.c +++ b/security/apparmor/domain.c @@ -822,13 +822,6 @@ int aa_change_profile(const char *ns_name, const char *hname, bool onexec, if (error) goto audit; - if (onexec && !current_is_single_threaded()) { - info = "not a single threaded task"; - error = -EACCES; - goto audit; - } - - if (permtest) goto audit;