summaryrefslogtreecommitdiff
path: root/src/systemctl
diff options
context:
space:
mode:
authorTopi Miettinen <toiwoton@gmail.com>2020-08-30 21:56:13 +0300
committerTopi Miettinen <toiwoton@gmail.com>2020-09-15 12:54:17 +0300
commit9df2cdd8ec1cc223d74fd06eeb89d822f72f61c3 (patch)
tree8a3f3a39b5311905c97221bb99d04dc428f023de /src/systemctl
parent005bfaf11876e261de6b99d597b69f664b53e7c5 (diff)
downloadsystemd-9df2cdd8ec1cc223d74fd06eeb89d822f72f61c3.tar.gz
exec: SystemCallLog= directive
With new directive SystemCallLog= it's possible to list system calls to be logged. This can be used for auditing or temporarily when constructing system call filters. --- v5: drop intermediary, update HASHMAP_FOREACH_KEY() use v4: skip useless debug messages, actually parse directive v3: don't declare unused variables with old libseccomp v2: fix build without seccomp or old libseccomp
Diffstat (limited to 'src/systemctl')
-rw-r--r--src/systemctl/systemctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c
index aa046c6ada..115983f98b 100644
--- a/src/systemctl/systemctl.c
+++ b/src/systemctl/systemctl.c
@@ -4822,7 +4822,7 @@ static int print_property(const char *name, const char *expected_value, sd_bus_m
return 1;
- } else if (STR_IN_SET(name, "SystemCallFilter", "RestrictAddressFamilies")) {
+ } else if (STR_IN_SET(name, "SystemCallFilter", "SystemCallLog", "RestrictAddressFamilies")) {
_cleanup_strv_free_ char **l = NULL;
int allow_list;