diff options
author | John Johansen <john.johansen@canonical.com> | 2017-01-16 11:42:35 +0300 |
---|---|---|
committer | John Johansen <john.johansen@canonical.com> | 2017-01-16 12:18:29 +0300 |
commit | 30b026a8d16bfa15bc24f4cca1604e47ac1a2f64 (patch) | |
tree | 56adf76fcfa79ed096ac06f5cfe9decf85d406b8 /security/apparmor/include | |
parent | 73688d1ed0b8f800f312f7bc9d583463858da861 (diff) | |
download | linux-30b026a8d16bfa15bc24f4cca1604e47ac1a2f64.tar.xz |
apparmor: pass gfp_t parameter into profile allocation
Signed-off-by: John Johansen <john.johansen@canonical.com>
Diffstat (limited to 'security/apparmor/include')
-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); |