summaryrefslogtreecommitdiff
path: root/security/bpf/hooks.c
diff options
context:
space:
mode:
authorPaul Moore <paul@paul-moore.com>2025-04-09 17:59:42 -0400
committerPaul Moore <paul@paul-moore.com>2025-10-22 19:24:17 -0400
commit37f788f65528611f4482e2135d11ca34afb25828 (patch)
treea3ffcc5150a932889b01f6bda54555d93dea7baf /security/bpf/hooks.c
parente02578561d47567be26e603c6d27c10a5aa4c2c4 (diff)
lsm: introduce looping macros for the initialization code
There are three common for loop patterns in the LSM initialization code to loop through the ordered LSM list and the registered "early" LSMs. This patch implements these loop patterns as macros to help simplify the code and reduce the chance for errors. Reviewed-by: Casey Schaufler <casey@schaufler-ca.com> Reviewed-by: John Johansen <john.johhansen@canonical.com> Reviewed-by: Mimi Zohar <zohar@linux.ibm.com> Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'security/bpf/hooks.c')
0 files changed, 0 insertions, 0 deletions