summaryrefslogtreecommitdiff
path: root/security/apparmor/match.c
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2017-03-10 13:24:24 +1100
committerStephen Rothwell <sfr@canb.auug.org.au>2017-03-10 13:24:24 +1100
commit7f36522fa5c8192dccee0f0a414f1b7b336b9c87 (patch)
tree443ab002a359443792f43c48790e91539a01e4d4 /security/apparmor/match.c
parentbab31490ee78b5c5531bae6d54d411a49d2c2f30 (diff)
parent28415881a8fced951563443d0a95f9f14cea8687 (diff)
Merge branch 'akpm/master'
Diffstat (limited to 'security/apparmor/match.c')
-rw-r--r--security/apparmor/match.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/apparmor/match.c b/security/apparmor/match.c
index eb0efef746f5..960c913381e2 100644
--- a/security/apparmor/match.c
+++ b/security/apparmor/match.c
@@ -88,7 +88,7 @@ static struct table_header *unpack_table(char *blob, size_t bsize)
if (bsize < tsize)
goto out;
- table = kvzalloc(tsize);
+ table = kvzalloc(tsize, GFP_KERNEL);
if (table) {
table->td_id = th.td_id;
table->td_flags = th.td_flags;