summaryrefslogtreecommitdiffstats
path: root/src/shared/seccomp-util.c
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2024-12-10 03:16:40 +0100
committerYu Watanabe <watanabe.yu+github@gmail.com>2024-12-10 03:16:44 +0100
commitfb35d775a714ef0b952aead464e77efdeb4149b7 (patch)
tree6902e9206ccf0f8421541e4eee63de0262e57b34 /src/shared/seccomp-util.c
parentbasic: update syscall tables (diff)
downloadsystemd-fb35d775a714ef0b952aead464e77efdeb4149b7.tar.xz
systemd-fb35d775a714ef0b952aead464e77efdeb4149b7.zip
seccomp-util: add getxattrat and friends
The new syscalls are added in kernel-6.13: https://github.com/torvalds/linux/commit/6140be90ec70c39fa844741ca3cc807dd0866394
Diffstat (limited to '')
-rw-r--r--src/shared/seccomp-util.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/shared/seccomp-util.c b/src/shared/seccomp-util.c
index 96d3085f69..9853309bb2 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"