]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc94809d8f12d571e46b3a43e88978fb08de99c04
tree2c06cfff5670bca294c8ed5af4d283408dd694cf
parentba7ee7497b228b69db9da4d81c8f0119eddb01cb
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