summaryrefslogtreecommitdiff
path: root/src/systemctl
diff options
context:
space:
mode:
authorIago López Galeiras <iagol@microsoft.com>2021-02-11 16:59:30 +0100
committerIago Lopez Galeiras <iagol@microsoft.com>2021-10-06 10:52:14 +0200
commite59ccd035c94a8448d9b99bb0b8056ed3d3a339c (patch)
tree594049fe756c6a7fcaa6d439b1e81aa9f7369614 /src/systemctl
parentb1994387d3cb50b212fc4815941a8ff40d60cd85 (diff)
downloadsystemd-e59ccd035c94a8448d9b99bb0b8056ed3d3a339c.tar.gz
core: add RestrictFileSystems= fragment parser
It takes an allow or deny list of filesystems services should have access to.
Diffstat (limited to 'src/systemctl')
-rw-r--r--src/systemctl/systemctl-show.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/systemctl/systemctl-show.c b/src/systemctl/systemctl-show.c
index d008c4172a..9e10560f80 100644
--- a/src/systemctl/systemctl-show.c
+++ b/src/systemctl/systemctl-show.c
@@ -1023,7 +1023,7 @@ static int print_property(const char *name, const char *expected_value, sd_bus_m
return 1;
- } else if (STR_IN_SET(name, "SystemCallFilter", "SystemCallLog", "RestrictAddressFamilies", "RestrictNetworkInterfaces")) {
+ } else if (STR_IN_SET(name, "SystemCallFilter", "SystemCallLog", "RestrictAddressFamilies", "RestrictNetworkInterfaces", "RestrictFileSystems")) {
_cleanup_strv_free_ char **l = NULL;
int allow_list;