]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
seccomp-util: add getxattrat and friends 35520/head
authorYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 10 Dec 2024 02:16:40 +0000 (11:16 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 10 Dec 2024 02:16:44 +0000 (11:16 +0900)
The new syscalls are added in kernel-6.13:
https://github.com/torvalds/linux/commit/6140be90ec70c39fa844741ca3cc807dd0866394

src/shared/seccomp-util.c

index 96d3085f6995449f93c5f47836a00d70a233880b..9853309bb291a32892eaf3a8aa710cfbaa393567 100644 (file)
@@ -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"