diff options
author | 2017-01-16 00:42:35 -0800 | |
---|---|---|
committer | 2017-01-16 01:18:29 -0800 | |
commit | 30b026a8d16bfa15bc24f4cca1604e47ac1a2f64 (patch) | |
tree | 56adf76fcfa79ed096ac06f5cfe9decf85d406b8 /security/apparmor/include/policy.h | |
parent | apparmor: refactor prepare_ns() and make usable from different views (diff) | |
download | linux-30b026a8d16bfa15bc24f4cca1604e47ac1a2f64.tar.gz linux-30b026a8d16bfa15bc24f4cca1604e47ac1a2f64.tar.bz2 linux-30b026a8d16bfa15bc24f4cca1604e47ac1a2f64.zip |
apparmor: pass gfp_t parameter into profile allocation
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 1573cade8812..b44eaea2bd2c 100644 --- a/security/apparmor/include/policy.h +++ b/security/apparmor/include/policy.h @@ -172,7 +172,7 @@ void aa_add_profile(struct aa_policy *common, struct aa_profile *profile); void aa_free_proxy_kref(struct kref *kref); -struct aa_profile *aa_alloc_profile(const char *name); +struct aa_profile *aa_alloc_profile(const char *name, gfp_t gfp); struct aa_profile *aa_new_null_profile(struct aa_profile *parent, int hat); void aa_free_profile(struct aa_profile *profile); void aa_free_profile_kref(struct kref *kref); |