From 24a586f3a6fb709f8b34cfcc7ec5f5cac03591e0 Mon Sep 17 00:00:00 2001 From: katie Date: Thu, 19 Dec 2024 12:40:19 +0100 Subject: [PATCH 1/2] cmd/snap-seccomp/syscalls: added new syscalls --- cmd/snap-seccomp/syscalls/syscalls.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cmd/snap-seccomp/syscalls/syscalls.go b/cmd/snap-seccomp/syscalls/syscalls.go index a5e16167534..6969f68f644 100644 --- a/cmd/snap-seccomp/syscalls/syscalls.go +++ b/cmd/snap-seccomp/syscalls/syscalls.go @@ -175,6 +175,7 @@ var SeccompSyscalls = []string{ "getuid", "getuid32", "getxattr", + "getxattrat", "gtty", "idle", "init_module", @@ -214,6 +215,7 @@ var SeccompSyscalls = []string{ "listen", "listmount", "listxattr", + "listxattrat", "llistxattr", "lock", "lookup_dcookie", @@ -336,6 +338,7 @@ var SeccompSyscalls = []string{ "recvmsg", "remap_file_pages", "removexattr", + "removexattrat", "rename", "renameat", "renameat2", @@ -422,6 +425,7 @@ var SeccompSyscalls = []string{ "setuid", "setuid32", "setxattr", + "setxattrat", "sgetmask", "shmat", "shmctl", From f50fd6f73f0eff29704de40e3cb2b61b2913e243 Mon Sep 17 00:00:00 2001 From: katie Date: Fri, 20 Dec 2024 17:27:51 +0100 Subject: [PATCH 2/2] cmd/snap-seccomp/syscalls: update git revision --- cmd/snap-seccomp/syscalls/syscalls.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/snap-seccomp/syscalls/syscalls.go b/cmd/snap-seccomp/syscalls/syscalls.go index 6969f68f644..678b99b45f9 100644 --- a/cmd/snap-seccomp/syscalls/syscalls.go +++ b/cmd/snap-seccomp/syscalls/syscalls.go @@ -20,7 +20,7 @@ package syscalls // Generated using arch-syscall-dump test tool from libseccomp tree, git -// revision aa168d49243b95f63b9825a87351a1eb323dc792. +// revision 42b596818635bf9d1cae54fa87e8c7b2e16869d3. var SeccompSyscalls = []string{ "_llseek", "_newselect",