summaryrefslogtreecommitdiff
path: root/src/shared/lsm-util.c
Commit message (Collapse)AuthorAgeFilesLines
* lsm-util: move detection of support of LSMs into a new lsm-util.[ch] helperLennart Poettering2023-04-181-0/+33
This makes the bpf LSM check generic, so that we can use it elsewhere. it also drops the caching inside it, given that bpf-lsm code in PID1 will cache it a second time a stack frame further up when it checks for various other bpf functionality.