Smack: compilation fix
authorJarkko Sakkinen <jarkko.j.sakkinen@gmail.com>
Fri, 14 Oct 2011 10:16:24 +0000 (13:16 +0300)
committerCasey Schaufler <cschaufler@cschaufler-intel.(none)>
Fri, 14 Oct 2011 15:56:49 +0000 (08:56 -0700)
commit16014d87509e26d6ed6935adbbf437a571fb5870
treebdf8641b1412d5e8cd1abe39eca5bc62caf99ad0
parentf8859d98c1d1e73393285fb9dd57007839956247
Smack: compilation fix

On some build configurations PER_CLEAR_ON_SETID symbol was not
found when compiling smack_lsm.c. This patch fixes the issue by
explicitly doing #include <linux/personality.h>.

Signed-off-by: Jarkko Sakkinen <jarkko.j.sakkinen@gmail.com>
Signed-off-by: Casey Schaufler <cschaufler@cschaufler-intel.(none)>
security/smack/smack_lsm.c