apparmor: split load data into management struct and data blob
authorJohn Johansen <john.johansen@canonical.com>
Sat, 3 Feb 2018 19:08:28 +0000 (20:08 +0100)
committerJohn Johansen <john.johansen@canonical.com>
Fri, 9 Feb 2018 19:30:00 +0000 (11:30 -0800)
commita6a52579e52b55448326db88bd9a5740e7c1a037
treea8f9a62cfa04f14d8c6448faff38beab8e17e568
parent98cf5bbff413eadf1b9cb195a7b80cc61c72a50e
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>
security/apparmor/include/policy_unpack.h
security/apparmor/policy_unpack.c