# Re: \[PATCH v30 01/28\] integrity: disassociate ima\_filter\_rule from security\_audit\_rule

- From: Paul Moore \<paul@paul-moore.com\>
- Date: 2021-12-06 02:43:42 
- List: linux-security-module
- Page: https://ratatoskr.run/linux-security-module/2021/12/1596852
- Thread: https://ratatoskr.run/linux-security-module/2021/11/1583405/t.md

```text
On Tue, Nov 23, 2021 at 8:45 PM Casey Schaufler [ref] wrote:
>
> Create real functions for the ima_filter_rule interfaces.
> These replace #defines that obscure the reuse of audit
> interfaces. The new fuctions are put in security.c because
> they use security module registered hooks that we don't
> want exported.
>
> Signed-off-by: Casey Schaufler <casey@schaufler-ca.com>
> ---
>  include/linux/security.h     | 26 ++++++++++++++++++++++++++
>  security/integrity/ima/ima.h | 26 --------------------------
>  security/security.c          | 21 +++++++++++++++++++++
>  3 files changed, 47 insertions(+), 26 deletions(-)

Acked-by: Paul Moore <paul@paul-moore.com> # audit


--
paul moore
www.paul-moore.com
```
