xref: /linux/security/ipe/audit.h (revision 55d0969c451159cff86949b38c39171cab962069)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * Copyright (C) 2020-2024 Microsoft Corporation. All rights reserved.
4  */
5 
6 #ifndef _IPE_AUDIT_H
7 #define _IPE_AUDIT_H
8 
9 #include "policy.h"
10 
11 void ipe_audit_match(const struct ipe_eval_ctx *const ctx,
12 		     enum ipe_match match_type,
13 		     enum ipe_action_type act, const struct ipe_rule *const r);
14 void ipe_audit_policy_load(const struct ipe_policy *const p);
15 void ipe_audit_policy_activation(const struct ipe_policy *const op,
16 				 const struct ipe_policy *const np);
17 void ipe_audit_enforce(bool new_enforce, bool old_enforce);
18 
19 #endif /* _IPE_AUDIT_H */
20