Smack: Use the netlabel cache
authorCasey Schaufler <casey@schaufler-ca.com>
Wed, 12 Aug 2020 00:39:43 +0000 (17:39 -0700)
committerCasey Schaufler <cschaufler@localhost.localdomain>
Fri, 11 Sep 2020 22:31:31 +0000 (15:31 -0700)
commit322dd63c7f98315b5794653bc582d109841219ae
tree8e27960271441520510c2cde964a4106212a547d
parenta2af031885071604452f03cd4e0eafdbd8014767
Smack: Use the netlabel cache

Utilize the Netlabel cache mechanism for incoming packet matching.
Refactor the initialization of secattr structures, as it was being
done in two places.

Signed-off-by: Casey Schaufler <casey@schaufler-ca.com>
security/smack/smack.h
security/smack/smack_access.c
security/smack/smack_lsm.c
security/smack/smackfs.c