diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2018-05-01 10:36:39 +0900 |
---|---|---|
committer | Sven Eden <yamakuzure@gmx.net> | 2018-08-24 16:47:08 +0200 |
commit | 879dc2984771e5a24a01bd752d3fa3ebfeccb1ff (patch) | |
tree | 13665afc6a00e240cca75c259b98eba74aebcbdd /src | |
parent | de675c5e1e7be07abfcdd7990b3c947517c2ef06 (diff) |
load-fragment: allow to specify RestrictNamespaces= multiple times
If multiple RestrictNamespaces= settings are set, then merge the settings.
This also drops supporting "~yes" and "~no".
Diffstat (limited to 'src')
-rw-r--r-- | src/shared/nsflags.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/shared/nsflags.h b/src/shared/nsflags.h index 7f2b94d16..509a3240c 100644 --- a/src/shared/nsflags.h +++ b/src/shared/nsflags.h @@ -26,6 +26,8 @@ #if 0 /// UNNEEDED by elogind #endif // 0 +#define NAMESPACE_FLAGS_INITIAL ((unsigned long) -1) + int namespace_flags_from_string(const char *name, unsigned long *ret); int namespace_flags_to_string(unsigned long flags, char **ret); |