From: Yu Watanabe Date: Tue, 10 Dec 2024 02:16:40 +0000 (+0900) Subject: seccomp-util: add getxattrat and friends X-Git-Tag: v257~7^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F35520%2Fhead;p=thirdparty%2Fsystemd.git seccomp-util: add getxattrat and friends The new syscalls are added in kernel-6.13: https://github.com/torvalds/linux/commit/6140be90ec70c39fa844741ca3cc807dd0866394 --- diff --git a/src/shared/seccomp-util.c b/src/shared/seccomp-util.c index 96d3085f699..9853309bb29 100644 --- a/src/shared/seccomp-util.c +++ b/src/shared/seccomp-util.c @@ -502,6 +502,7 @@ const SyscallFilterSet syscall_filter_sets[_SYSCALL_FILTER_SET_MAX] = { "getdents\0" "getdents64\0" "getxattr\0" + "getxattrat\0" "inotify_add_watch\0" "inotify_init\0" "inotify_init1\0" @@ -511,6 +512,7 @@ const SyscallFilterSet syscall_filter_sets[_SYSCALL_FILTER_SET_MAX] = { "linkat\0" "listmount\0" "listxattr\0" + "listxattrat\0" "llistxattr\0" "lremovexattr\0" "lsetxattr\0" @@ -531,11 +533,13 @@ const SyscallFilterSet syscall_filter_sets[_SYSCALL_FILTER_SET_MAX] = { "readlink\0" "readlinkat\0" "removexattr\0" + "removexattrat\0" "rename\0" "renameat\0" "renameat2\0" "rmdir\0" "setxattr\0" + "setxattrat\0" "stat\0" "stat64\0" "statfs\0"