Skip to content

Commit b63d7e3

Browse files
stfnwekyooo
authored andcommitted
re-generate syscall list (add file_getattr / file_setattr)
1 parent b3f4d6d commit b63d7e3

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

libbpf-tools/syscall_helpers.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ void free_syscall_names(void)
125125

126126
/*
127127
* Syscall table for Linux x86_64. Automatically generated from
128-
* https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/arch/x86/entry/syscalls/syscall_64.tbl?h=v6.15.6
128+
* https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/arch/x86/entry/syscalls/syscall_64.tbl?h=linux-6.17.y
129129
* using the following commands:
130130
*
131131
* cat arch/x86/entry/syscalls/syscall_64.tbl \
@@ -517,6 +517,8 @@ static const char *syscall_names_x86_64[] = {
517517
[465] = "listxattrat",
518518
[466] = "removexattrat",
519519
[467] = "open_tree_attr",
520+
[468] = "file_getattr",
521+
[469] = "file_setattr",
520522
[512] = "rt_sigaction",
521523
[513] = "rt_sigreturn",
522524
[514] = "ioctl",

src/python/bcc/syscall.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
import platform
2020

2121
# Syscall table for Linux x86_64, not very recent. Automatically generated from
22-
# https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/arch/x86/entry/syscalls/syscall_64.tbl?h=v6.15.6
22+
# https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/arch/x86/entry/syscalls/syscall_64.tbl?h=linux-6.17.y
2323
# using the following command:
2424
#
2525
# cat arch/x86/entry/syscalls/syscall_64.tbl \
@@ -408,6 +408,8 @@
408408
465: b"listxattrat",
409409
466: b"removexattrat",
410410
467: b"open_tree_attr",
411+
468: b"file_getattr",
412+
469: b"file_setattr",
411413
512: b"rt_sigaction",
412414
513: b"rt_sigreturn",
413415
514: b"ioctl",

0 commit comments

Comments
 (0)