apparmor: fail unpack if profile mode is unknown
authorJohn Johansen <john.johansen@canonical.com>
Thu, 19 Dec 2019 23:55:39 +0000 (15:55 -0800)
committerJohn Johansen <john.johansen@canonical.com>
Tue, 21 Jan 2020 13:58:53 +0000 (05:58 -0800)
commitf05841a940df995b784b5e3ec6f76141e8337245
tree6abf96d8d019b1d5692b8533c604b1c4aaa590ab
parent3ed4aaa94fc07db3cd0c91be95e3e1b9782a2710
apparmor: fail unpack if profile mode is unknown

Profile unpack should fail if the profile mode is not a mode that the
kernel understands.

Signed-off-by: John Johansen <john.johansen@canonical.com>
security/apparmor/policy_unpack.c