diff options
author | Lennart Poettering <lennart@poettering.net> | 2014-01-09 19:36:26 -0500 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2014-01-09 19:36:26 -0500 |
commit | b51ff2cd4aee8033f8d3f4bb8eb9eb7035737152 (patch) | |
tree | 3ebe72403fb96eb0c011be72a15b88cdd9eb8a66 /src/udev/Makefile.am | |
parent | 97b903d94eca5cc6cf17262f91e43227998d3301 (diff) |
security: rework selinux, smack, ima, apparmor detection logic
Always cache the results, and bypass low-level security calls when
the respective subsystem is not enabled.
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'src/udev/Makefile.am')
-rw-r--r-- | src/udev/Makefile.am | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/udev/Makefile.am b/src/udev/Makefile.am index 4e806fbfca..d395620abb 100644 --- a/src/udev/Makefile.am +++ b/src/udev/Makefile.am @@ -57,7 +57,8 @@ libudev_core_la_SOURCES = \ udev-builtin-usb_id.c \ dev-setup.c \ label.c \ - mkdir.c + mkdir.c \ + smack-util.c if ENABLE_FIRMWARE libudev_core_la_SOURCES += \ @@ -67,7 +68,8 @@ endif noinst_HEADERS = \ dev-setup.h \ label.h \ - mkdir.h + mkdir.h \ + smack-util.h include_HEADERS = \ udev.h |