linux/security/ipe
Deven Bowers a68916eaed ipe: add permissive toggle
IPE, like SELinux, supports a permissive mode. This mode allows policy
authors to test and evaluate IPE policy without it affecting their
programs. When the mode is changed, a 1404 AUDIT_MAC_STATUS will
be reported.

This patch adds the following audit records:

    audit: MAC_STATUS enforcing=0 old_enforcing=1 auid=4294967295
      ses=4294967295 enabled=1 old-enabled=1 lsm=ipe res=1
    audit: MAC_STATUS enforcing=1 old_enforcing=0 auid=4294967295
      ses=4294967295 enabled=1 old-enabled=1 lsm=ipe res=1

The audit record only emit when the value from the user input is
different from the current enforce value.

Signed-off-by: Deven Bowers <deven.desai@linux.microsoft.com>
Signed-off-by: Fan Wu <wufan@linux.microsoft.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
2024-08-20 14:02:27 -04:00
..
audit.c ipe: add permissive toggle 2024-08-20 14:02:27 -04:00
audit.h ipe: add permissive toggle 2024-08-20 14:02:27 -04:00
eval.c ipe: add permissive toggle 2024-08-20 14:02:27 -04:00
eval.h ipe: add permissive toggle 2024-08-20 14:02:27 -04:00
fs.c ipe: add permissive toggle 2024-08-20 14:02:27 -04:00
fs.h ipe: add userspace interface 2024-08-20 14:02:15 -04:00
hooks.c audit,ipe: add IPE auditing support 2024-08-20 14:02:22 -04:00
hooks.h audit,ipe: add IPE auditing support 2024-08-20 14:02:22 -04:00
ipe.c ipe: add userspace interface 2024-08-20 14:02:15 -04:00
ipe.h ipe: add userspace interface 2024-08-20 14:02:15 -04:00
Kconfig audit,ipe: add IPE auditing support 2024-08-20 14:02:22 -04:00
Makefile audit,ipe: add IPE auditing support 2024-08-20 14:02:22 -04:00
policy.c audit,ipe: add IPE auditing support 2024-08-20 14:02:22 -04:00
policy.h ipe: add userspace interface 2024-08-20 14:02:15 -04:00
policy_fs.c ipe: add userspace interface 2024-08-20 14:02:15 -04:00
policy_parser.c ipe: introduce 'boot_verified' as a trust provider 2024-08-20 14:01:52 -04:00
policy_parser.h ipe: add policy parser 2024-08-20 14:01:00 -04:00