# Re: \[PATCH 02/17\] security: Add hooks to rule on setting a watch \[ver \#5\]

- From: James Morris \<jmorris@namei.org\>
- Date: 2020-03-18 18:56:39 
- List: linux-security-module
- Page: https://ratatoskr.run/linux-security-module/2020/03/175563
- Thread: https://ratatoskr.run/linux-security-module/2020/03/175521/t.md

```text
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@redhat.com>
> cc: Casey Schaufler <casey@schaufler-ca.com>
> cc: Stephen Smalley <redacted>
> cc: <redacted>
> ---
> 
>  include/linux/lsm_hooks.h |   24 ++++++++++++++++++++++++
>  include/linux/security.h  |   17 +++++++++++++++++
>  security/security.c       |   14 ++++++++++++++
>  3 files changed, 55 insertions(+)
> 


Acked-by: James Morris <redacted>


-- 
James Morris
[ref]

```
