core: Fix time namespace in RestrictNamespaces=
RestrictNamespaces= would accept "time" but would not actually apply seccomp filters e.g. systemd-run -p RestrictNamespaces=time unshare -T true should fail but it succeeded. This commit actually enables time namespace seccomp filtering.
This commit is contained in:
@@ -14,7 +14,8 @@
|
||||
CLONE_NEWNS| \
|
||||
CLONE_NEWPID| \
|
||||
CLONE_NEWUSER| \
|
||||
CLONE_NEWUTS))
|
||||
CLONE_NEWUTS| \
|
||||
CLONE_NEWTIME))
|
||||
|
||||
#define NAMESPACE_FLAGS_INITIAL ULONG_MAX
|
||||
|
||||
|
||||
Reference in New Issue
Block a user