diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2017-11-11 21:35:49 +0900 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2017-11-11 21:54:12 +0900 |
commit | 8cfa775f4f116c5f56a140da268ea7b6072534e6 (patch) | |
tree | 7f88d52404e713e03c872c49a7c908fbbec479b3 /src/core/execute.h | |
parent | 473d2ec39cc9f43c7918c4587c8984ec9235455f (diff) | |
download | systemd-8cfa775f4f116c5f56a140da268ea7b6072534e6.tar.gz |
core: add support to specify errno in SystemCallFilter=
This makes each system call in SystemCallFilter= blacklist optionally
takes errno name or number after a colon. The errno takes precedence
over the one given by SystemCallErrorNumber=.
C.f. #7173.
Closes #7169.
Diffstat (limited to 'src/core/execute.h')
-rw-r--r-- | src/core/execute.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/execute.h b/src/core/execute.h index 4d41990b36..23abdd4516 100644 --- a/src/core/execute.h +++ b/src/core/execute.h @@ -242,7 +242,7 @@ struct ExecContext { unsigned long restrict_namespaces; /* The CLONE_NEWxyz flags permitted to the unit's processes */ - Set *syscall_filter; + Hashmap *syscall_filter; Set *syscall_archs; int syscall_errno; bool syscall_whitelist:1; |