OSDN Git Service

apparmor: fix undefined reference to `aa_g_hash_policy'
authorJohn Johansen <john.johansen@canonical.com>
Mon, 16 Jan 2017 21:21:27 +0000 (13:21 -0800)
committerJohn Johansen <john.johansen@canonical.com>
Mon, 16 Jan 2017 21:21:27 +0000 (13:21 -0800)
commit3ccb76c5dfe0d25c1d0168d5b726d0b43d19a485
tree2c06cfff5670bca294c8ed5af4d283408dd694cf
parente6bfa25deb5096c05a08f01e4d6a436dd331fa88
apparmor: fix undefined reference to `aa_g_hash_policy'

The kernel build bot turned up a bad config combination when
CONFIG_SECURITY_APPARMOR is y and CONFIG_SECURITY_APPARMOR_HASH is n,
resulting in the build error
   security/built-in.o: In function `aa_unpack':
   (.text+0x841e2): undefined reference to `aa_g_hash_policy'

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