opnsense-src/sys/security/mac
Mitchell Horne 2449b9e5fe mac: kdb/ddb framework hooks
Add three simple hooks to the debugger allowing for a loaded MAC policy
to intervene if desired:
 1. Before invoking the kdb backend
 2. Before ddb command registration
 3. Before ddb command execution

We extend struct db_command with a private pointer and two flag bits
reserved for policy use.

Reviewed by:	markj
Sponsored by:	Juniper Networks, Inc.
Sponsored by:	Klara, Inc.
Differential Revision:	https://reviews.freebsd.org/D35370
2022-07-18 22:06:13 +00:00
..
mac_audit.c
mac_cred.c
mac_framework.c
mac_framework.h mac: kdb/ddb framework hooks 2022-07-18 22:06:13 +00:00
mac_inet.c
mac_inet6.c
mac_internal.h
mac_kdb.c mac: kdb/ddb framework hooks 2022-07-18 22:06:13 +00:00
mac_label.c
mac_net.c
mac_pipe.c
mac_policy.h mac: kdb/ddb framework hooks 2022-07-18 22:06:13 +00:00
mac_posix_sem.c
mac_posix_shm.c
mac_priv.c
mac_process.c
mac_socket.c
mac_syscalls.c
mac_system.c
mac_sysv_msg.c
mac_sysv_sem.c
mac_sysv_shm.c
mac_vfs.c