2022-09-06 15:10:31

by Xiu Jianfeng

[permalink] [raw]
Subject: [PATCH -next] audit: remove selinux_audit_rule_update() declaration

selinux_audit_rule_update() has been renamed to audit_update_lsm_rules()
since commit d7a96f3a1ae2 ("Audit: internally use the new LSM audit
hooks"), so remove it.

Signed-off-by: Xiu Jianfeng <[email protected]>
---
kernel/audit.h | 2 --
1 file changed, 2 deletions(-)

diff --git a/kernel/audit.h b/kernel/audit.h
index d6eb7b59c791..c57b008b9914 100644
--- a/kernel/audit.h
+++ b/kernel/audit.h
@@ -245,8 +245,6 @@ struct audit_netlink_list {

int audit_send_list_thread(void *_dest);

-extern int selinux_audit_rule_update(void);
-
extern struct mutex audit_filter_mutex;
extern int audit_del_rule(struct audit_entry *entry);
extern void audit_free_rule_rcu(struct rcu_head *head);
--
2.17.1


2022-09-07 15:39:16

by Paul Moore

[permalink] [raw]
Subject: Re: [PATCH -next] audit: remove selinux_audit_rule_update() declaration

On Tue, Sep 6, 2022 at 9:28 AM Xiu Jianfeng <[email protected]> wrote:
>
> selinux_audit_rule_update() has been renamed to audit_update_lsm_rules()
> since commit d7a96f3a1ae2 ("Audit: internally use the new LSM audit
> hooks"), so remove it.
>
> Signed-off-by: Xiu Jianfeng <[email protected]>
> ---
> kernel/audit.h | 2 --
> 1 file changed, 2 deletions(-)

Merged into audit/next, thanks.

--
paul-moore.com