]> git.baikalelectronics.ru Git - kernel.git/commit
security: Add hooks to rule on setting a watch
authorDavid Howells <dhowells@redhat.com>
Wed, 12 Feb 2020 13:58:35 +0000 (13:58 +0000)
committerDavid Howells <dhowells@redhat.com>
Tue, 19 May 2020 14:16:08 +0000 (15:16 +0100)
commit21c4e3c04be71b2d1e7b18f48265bd03233e0015
treef3c28ad22a9d75c557e399d83ac4d06426dd5c8e
parent175295c8c9fa4674f23247f9c883d00665a97bb3
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
include/linux/lsm_hook_defs.h
include/linux/lsm_hooks.h
include/linux/security.h
security/security.c