-
Notifications
You must be signed in to change notification settings - Fork 933
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
api: add a new extension
container_syscall_filtering_allow_deny
Commit 0c987f6 added support for the respectful config key names (`security.syscalls.allow` and `security.syscalls.deny*`) but kept support for the offensive names for backward compatibility. However, that commit did not add the `container_syscall_filtering_allow_deny` extension to `shared/version/api.go`, presumably by mistake. Now that we are dropping support for the offensively named configuration keys, use the API extension name and advertise it properly. Items changed: * doc/api-extensions: rewrite keys `from container_syscall_filtering` and update `container_syscall_filtering_allow_deny` description * shared/version/api: add `container_syscall_filtering_allow_deny` extension * lxd/instance/instancetype/instance: remove `security.syscalls.(black|white)list*` keys * lxd/instance/instance_utils: remove `security.syscalls.(black|white)list*` keys * lxd/seccomp/seccomp: remove `security.syscalls.(black|white)list*` keys and error out when liblxc doesn't support the needed feature `seccomp_allow_deny_syntax` The change in lxd/seccomp/seccomp requires the underlying liblxc to support the allowlist/denylist which is the case since lxc/lxc@78522aa which means lxc 5.0.0 and higher. Signed-off-by: Simon Deziel <[email protected]>
- Loading branch information
1 parent
0ff71ae
commit 75f5570
Showing
5 changed files
with
29 additions
and
85 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters