GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — re-generate syscall list (add file_getattr / file_setattr) · sevan/bcc@b63d7e3

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • libbpf-tools
    • syscall_helpers.c
  • src/python/bcc
    • syscall.py
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎libbpf-tools/syscall_helpers.c‎

Copy file name to clipboardExpand all lines: libbpf-tools/syscall_helpers.c
+3-1Lines 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",
Collapse file

‎src/python/bcc/syscall.py‎

Copy file name to clipboardExpand all lines: src/python/bcc/syscall.py
+3-1Lines 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 (0)
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.