aboutsummaryrefslogtreecommitdiffstats
path: root/security/apparmor/include
diff options
context:
space:
mode:
authorJohn Johansen <john.johansen@canonical.com>2018-02-03 20:08:28 +0100
committerJohn Johansen <john.johansen@canonical.com>2018-02-09 11:30:00 -0800
commita6a52579e52b55448326db88bd9a5740e7c1a037 (patch)
treea8f9a62cfa04f14d8c6448faff38beab8e17e568 /security/apparmor/include
parentapparmor: fix logging of the existence test for signals (diff)
downloadlinux-dev-a6a52579e52b55448326db88bd9a5740e7c1a037.tar.xz
linux-dev-a6a52579e52b55448326db88bd9a5740e7c1a037.zip
apparmor: split load data into management struct and data blob
Splitting the management struct from the actual data blob will allow us in the future to do some sharing and other data reduction techniques like replacing the the raw data with compressed data. Prepare for this by separating the management struct from the data blob. Signed-off-by: John Johansen <john.johansen@canonical.com>
Diffstat (limited to 'security/apparmor/include')
-rw-r--r--security/apparmor/include/policy_unpack.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/apparmor/include/policy_unpack.h b/security/apparmor/include/policy_unpack.h
index be6cd69ac319..8db4ab759e80 100644
--- a/security/apparmor/include/policy_unpack.h
+++ b/security/apparmor/include/policy_unpack.h
@@ -70,7 +70,7 @@ struct aa_loaddata {
int abi;
unsigned char *hash;
- char data[];
+ char *data;
};
int aa_unpack(struct aa_loaddata *udata, struct list_head *lh, const char **ns);