audit.h 599 B

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