diff options
author | Daniel Mack <github@zonque.org> | 2015-06-23 13:26:23 +0200 |
---|---|---|
committer | Daniel Mack <github@zonque.org> | 2015-06-23 13:26:23 +0200 |
commit | f3941a6f33cd325355c9669f49869267d582b6a1 (patch) | |
tree | ba18a547f73a570ec253e9f4b388e9525b5e43c2 /configure.ac | |
parent | 9261d42e6d4c166fe4d56c6bf6929cc9e7fda3c8 (diff) | |
parent | e174dce27173396ed8034c9cfda87eb210365126 (diff) |
Merge pull request #318 from walyong/smack_v02
SMACK v02: support modify rules and add default executed process label
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 8b1e275d27..88b52c45fe 100644 --- a/configure.ac +++ b/configure.ac @@ -673,8 +673,14 @@ fi AC_ARG_WITH(smack-run-label, AS_HELP_STRING([--with-smack-run-label=STRING], - [run systemd --system with a specific SMACK label]), - [AC_DEFINE_UNQUOTED(SMACK_RUN_LABEL, ["$withval"], [Run with a smack label])], + [run systemd --system itself with a specific SMACK label]), + [AC_DEFINE_UNQUOTED(SMACK_RUN_LABEL, ["$withval"], [Run systemd itself with SMACK label])], + []) + +AC_ARG_WITH(smack-default-process-label, +AS_HELP_STRING([--with-smack-default-process-label=STRING], + [default SMACK label for executed processes]), + [AC_DEFINE_UNQUOTED(SMACK_DEFAULT_PROCESS_LABEL, ["$withval"], [Default SMACK label for executed processes])], []) if test "x${have_smack}" = xyes ; then |