Skip to content

Commit

Permalink
_drgn_util.platform: add back missing architecture syscall numbers
Browse files Browse the repository at this point in the history
I accidentally dropped some architectures that were recently migrated to
the generic syscall table in the kernel.

Fixes: c752b8a ("_drgn_util.platform: add finit_module to SYS")
Signed-off-by: Omar Sandoval <[email protected]>
  • Loading branch information
osandov committed Sep 27, 2024
1 parent 7bbb7e6 commit 577169b
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions _drgn_util/platform.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,12 @@


SYS = {
"aarch64": {
"bpf": 280,
"finit_module": 273,
"kexec_file_load": 294,
"perf_event_open": 241,
},
"alpha": {
"bpf": 515,
"finit_module": 507,
Expand All @@ -47,11 +53,29 @@
"kexec_file_load": 294,
"perf_event_open": 241,
},
"hexagon": {
"bpf": 280,
"finit_module": 273,
"kexec_file_load": 294,
"perf_event_open": 241,
},
"i386": {
"bpf": 357,
"finit_module": 350,
"perf_event_open": 336,
},
"loongarch": {
"bpf": 280,
"finit_module": 273,
"kexec_file_load": 294,
"perf_event_open": 241,
},
"loongarch64": {
"bpf": 280,
"finit_module": 273,
"kexec_file_load": 294,
"perf_event_open": 241,
},
"m68k": {
"bpf": 354,
"finit_module": 348,
Expand All @@ -73,6 +97,12 @@
"kexec_file_load": 294,
"perf_event_open": 241,
},
"openrisc": {
"bpf": 280,
"finit_module": 273,
"kexec_file_load": 294,
"perf_event_open": 241,
},
"parisc": {
"bpf": 341,
"finit_module": 333,
Expand Down

0 comments on commit 577169b

Please sign in to comment.