mirror of
https://github.com/moby/moby.git
synced 2026-01-11 10:41:43 +00:00
seccomp: Require CAP_SYS_ADMIN for lsm_* syscalls
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
This commit is contained in:
@@ -208,9 +208,6 @@
|
||||
"lremovexattr",
|
||||
"lseek",
|
||||
"lsetxattr",
|
||||
"lsm_get_self_attr",
|
||||
"lsm_list_modules",
|
||||
"lsm_set_self_attrs",
|
||||
"lstat",
|
||||
"lstat64",
|
||||
"madvise",
|
||||
@@ -614,6 +611,9 @@
|
||||
"fsopen",
|
||||
"fspick",
|
||||
"lookup_dcookie",
|
||||
"lsm_get_self_attr",
|
||||
"lsm_list_modules",
|
||||
"lsm_set_self_attr",
|
||||
"mount",
|
||||
"mount_setattr",
|
||||
"move_mount",
|
||||
|
||||
@@ -200,9 +200,6 @@ func DefaultProfile() *Seccomp {
|
||||
"lremovexattr",
|
||||
"lseek",
|
||||
"lsetxattr",
|
||||
"lsm_get_self_attr", // kernel v6.8, libseccomp v2.6.0
|
||||
"lsm_list_modules", // kernel v6.8, libseccomp v2.6.0
|
||||
"lsm_set_self_attr", // kernel v6.8, libseccomp v2.6.0
|
||||
"lstat",
|
||||
"lstat64",
|
||||
"madvise",
|
||||
@@ -605,6 +602,9 @@ func DefaultProfile() *Seccomp {
|
||||
"fsopen",
|
||||
"fspick",
|
||||
"lookup_dcookie",
|
||||
"lsm_get_self_attr", // kernel v6.8, libseccomp v2.6.0
|
||||
"lsm_list_modules", // kernel v6.8, libseccomp v2.6.0
|
||||
"lsm_set_self_attr", // kernel v6.8, libseccomp v2.6.0
|
||||
"mount",
|
||||
"mount_setattr",
|
||||
"move_mount",
|
||||
|
||||
Reference in New Issue
Block a user