core: add new setting NetworkNamespacePath= for configuring a netns by path for a service
Fixes: #2741
This commit is contained in:
@@ -279,6 +279,8 @@ struct ExecContext {
|
||||
bool nice_set:1;
|
||||
bool ioprio_set:1;
|
||||
bool cpu_sched_set:1;
|
||||
|
||||
char *network_namespace_path;
|
||||
};
|
||||
|
||||
static inline bool exec_context_restrict_namespaces_set(const ExecContext *c) {
|
||||
|
||||
Reference in New Issue
Block a user