security: Add hooks to rule on setting a watch
Add security hooks that will allow an LSM to rule on whether or not a watch may be set. More than one hook is required as the watches watch different types of object. Signed-off-by:David Howells <dhowells@redhat.com> Acked-by:
James Morris <jamorris@linux.microsoft.com> cc: Casey Schaufler <casey@schaufler-ca.com> cc: Stephen Smalley <sds@tycho.nsa.gov> cc: linux-security-module@vger.kernel.org
Showing
- include/linux/lsm_hook_defs.h 4 additions, 0 deletionsinclude/linux/lsm_hook_defs.h
- include/linux/lsm_hooks.h 5 additions, 0 deletionsinclude/linux/lsm_hooks.h
- include/linux/security.h 9 additions, 0 deletionsinclude/linux/security.h
- security/security.c 7 additions, 0 deletionssecurity/security.c
Please register or sign in to comment