On Wed, 18 Mar 2020, David Howells wrote: > 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@xxxxxxxxxx> > cc: Casey Schaufler <casey@xxxxxxxxxxxxxxxx> > cc: Stephen Smalley <sds@xxxxxxxxxxxxx> > cc: linux-security-module@xxxxxxxxxxxxxxx > --- > > include/linux/lsm_hooks.h | 24 ++++++++++++++++++++++++ > include/linux/security.h | 17 +++++++++++++++++ > security/security.c | 14 ++++++++++++++ > 3 files changed, 55 insertions(+) > Acked-by: James Morris <jamorris@xxxxxxxxxxxxxxxxxxx> -- James Morris <jmorris@xxxxxxxxx>