diff options
author | John Johansen <john.johansen@canonical.com> | 2017-01-16 11:42:51 +0300 |
---|---|---|
committer | John Johansen <john.johansen@canonical.com> | 2017-01-16 12:18:40 +0300 |
commit | fd2a80438d736012129977bec779db093979057e (patch) | |
tree | e3d544c4617f91a39b953f7ffa93f7fda662bc3b /security/apparmor/include/policy.h | |
parent | 2bd8dbbf22fe9eb2a99273436f815d49ceb23a8f (diff) | |
download | linux-fd2a80438d736012129977bec779db093979057e.tar.xz |
apparmor: add ns being viewed as a param to policy_admin_capable()
Prepare for a tighter pairing of user namespaces and apparmor policy
namespaces, by making the ns to be viewed available.
Signed-off-by: John Johansen <john.johansen@canonical.com>
Diffstat (limited to 'security/apparmor/include/policy.h')
-rw-r--r-- | security/apparmor/include/policy.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/apparmor/include/policy.h b/security/apparmor/include/policy.h index b0b65c525bcc..27f9171fa31f 100644 --- a/security/apparmor/include/policy.h +++ b/security/apparmor/include/policy.h @@ -300,7 +300,7 @@ static inline int AUDIT_MODE(struct aa_profile *profile) } bool policy_view_capable(struct aa_ns *ns); -bool policy_admin_capable(void); +bool policy_admin_capable(struct aa_ns *ns); bool aa_may_manage_policy(int op); #endif /* __AA_POLICY_H */ |