diff options
author | John Johansen <john.johansen@canonical.com> | 2017-01-16 00:42:31 -0800 |
---|---|---|
committer | John Johansen <john.johansen@canonical.com> | 2017-01-16 01:18:27 -0800 |
commit | d102d895713c736fd13e21feaab38b52d8ab32ad (patch) | |
tree | bcbf252b3864929644eba922a2b0ffe6f122b371 /security/apparmor/policy.c | |
parent | bbe4a7c8733c925b061dcce2d1af8926cefbe539 (diff) | |
download | linux-d102d895713c736fd13e21feaab38b52d8ab32ad.tar.bz2 |
apparmor: pass gfp param into aa_policy_init()
Signed-off-by: John Johansen <john.johansen@canonical.com>
Diffstat (limited to 'security/apparmor/policy.c')
-rw-r--r-- | security/apparmor/policy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/apparmor/policy.c b/security/apparmor/policy.c index 3b23960b8a5d..5d99fb7ac881 100644 --- a/security/apparmor/policy.c +++ b/security/apparmor/policy.c @@ -272,7 +272,7 @@ struct aa_profile *aa_alloc_profile(const char *hname) goto fail; kref_init(&profile->proxy->count); - if (!aa_policy_init(&profile->base, NULL, hname)) + if (!aa_policy_init(&profile->base, NULL, hname, GFP_KERNEL)) goto fail; kref_init(&profile->count); |