diff options
author | John Johansen <john.johansen@canonical.com> | 2017-01-16 09:42:35 +0100 |
---|---|---|
committer | John Johansen <john.johansen@canonical.com> | 2017-01-16 10:18:29 +0100 |
commit | 30b026a8d16bfa15bc24f4cca1604e47ac1a2f64 (patch) | |
tree | 56adf76fcfa79ed096ac06f5cfe9decf85d406b8 /security/apparmor/policy_unpack.c | |
parent | apparmor: refactor prepare_ns() and make usable from different views (diff) | |
download | linux-30b026a8d16bfa15bc24f4cca1604e47ac1a2f64.tar.xz 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/policy_unpack.c')
-rw-r--r-- | security/apparmor/policy_unpack.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/apparmor/policy_unpack.c b/security/apparmor/policy_unpack.c index 138120698f83..9ddc6b2a7322 100644 --- a/security/apparmor/policy_unpack.c +++ b/security/apparmor/policy_unpack.c @@ -486,7 +486,7 @@ static struct aa_profile *unpack_profile(struct aa_ext *e) if (!unpack_str(e, &name, NULL)) goto fail; - profile = aa_alloc_profile(name); + profile = aa_alloc_profile(name, GFP_KERNEL); if (!profile) return ERR_PTR(-ENOMEM); |