]> www.infradead.org Git - users/willy/linux.git/commit
smack: Implement filesystem context security hooks
authorDavid Howells <dhowells@redhat.com>
Tue, 11 Sep 2018 21:20:55 +0000 (22:20 +0100)
committerDavid Howells <dhowells@redhat.com>
Tue, 23 Oct 2018 16:38:57 +0000 (17:38 +0100)
commit1f0a62d8669433e51fd829ea3df5d75e00c191ed
tree4d0b42b7bbedaf462e7d032b8664d3cbe0db6c60
parent4786c3427b2517ee9c685f95bf5b3185e332e64d
smack: Implement filesystem context security hooks

Implement filesystem context security hooks for the smack LSM.

Question: Should the ->fs_context_parse_source() hook be implemented to
check the labels on any source devices specified?

Signed-off-by: David Howells <dhowells@redhat.com>
cc: Casey Schaufler <casey@schaufler-ca.com>
cc: linux-security-module@vger.kernel.org
security/smack/smack.h
security/smack/smack_lsm.c