summaryrefslogtreecommitdiff
path: root/src/shared/meson.build
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2023-03-16 17:56:23 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2023-04-18 08:22:21 +0200
commitb3a062cb80bfa4ca96a321aa4736fe4f939ff7cd (patch)
tree61e334c0835fca70683a8768fff6f9fcd9776ed1 /src/shared/meson.build
parent25d9c6cdaf82d3f627db92b69f3be3e2a68e06fa (diff)
downloadsystemd-b3a062cb80bfa4ca96a321aa4736fe4f939ff7cd.tar.gz
lsm-util: move detection of support of LSMs into a new lsm-util.[ch] helper
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.
Diffstat (limited to 'src/shared/meson.build')
-rw-r--r--src/shared/meson.build1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shared/meson.build b/src/shared/meson.build
index df82778f9d..060e528555 100644
--- a/src/shared/meson.build
+++ b/src/shared/meson.build
@@ -105,6 +105,7 @@ shared_sources = files(
'logs-show.c',
'loop-util.c',
'loopback-setup.c',
+ 'lsm-util.c',
'machine-id-setup.c',
'machine-pool.c',
'macvlan-util.c',