Skip to content

Commit 43644c4

Browse files
committed
Run make fmt
Signed-off-by: Evan Harris <[email protected]>
1 parent fcbc68f commit 43644c4

File tree

4 files changed

+58
-55
lines changed

4 files changed

+58
-55
lines changed

pkg/system/syscalls_armf32.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ const (
77
SyscallArmMaxNum32 = 462
88
SyscallArmLastName32 = "mseal"
99
)
10+
1011
// https://github.com/torvalds/linux/blob/master/arch/arm64/tools/syscall_32.tbl , https://github.com/torvalds/linux/blob/master/arch/arm/tools/syscall.tbl
1112
var syscallNumTableArmFamily32 = map[uint32]string{
1213
0: "restart_syscall",

pkg/system/syscalls_armf64.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ const (
77
SyscallArmMaxNum64 = 462
88
SyscallArmLastName64 = "mseal"
99
)
10+
1011
// https://github.com/torvalds/linux/blob/master/scripts/syscall.tbl
1112
var syscallNumTableArmFamily64 = map[uint32]string{
1213
0: "io_setup",
@@ -290,7 +291,6 @@ var syscallNumTableArmFamily64 = map[uint32]string{
290291
293: "rseq",
291292
294: "kexec_file_load",
292293

293-
294294
424: "pidfd_send_signal",
295295
425: "io_uring_setup",
296296
426: "io_uring_enter",

pkg/system/syscalls_x86f32.go

Lines changed: 27 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ const (
44
SyscallX86MaxNum32 = 462
55
SyscallX86LastName32 = "mseal"
66
)
7+
78
// https://github.com/torvalds/linux/blob/master/arch/x86/entry/syscalls/syscall_32.tbl
89
// line numbers are aligned with the syscall number (-10)
910
var syscallNumTableX86Family32 = [...]string{
@@ -442,34 +443,34 @@ var syscallNumTableX86Family32 = [...]string{
442443
"fsmount",
443444
"fspick",
444445
"pidfd_open",
445-
"clone3", // 435
446-
"close_range", // 436
447-
"openat2", // 437
448-
"pidfd_getfd", // 438
449-
"faccessat2", // 439
450-
"process_madvise", // 440
451-
"epoll_pwait2", // 441
452-
"mount_setattr", // 442
453-
"quotactl_fd", // 443
446+
"clone3", // 435
447+
"close_range", // 436
448+
"openat2", // 437
449+
"pidfd_getfd", // 438
450+
"faccessat2", // 439
451+
"process_madvise", // 440
452+
"epoll_pwait2", // 441
453+
"mount_setattr", // 442
454+
"quotactl_fd", // 443
454455
"landlock_create_ruleset", // 444
455-
"landlock_add_rule", // 445
456-
"landlock_restrict_self", // 446
457-
"memfd_secret", // 447
458-
"process_mrelease", // 448
459-
"futex_waitv", // 449
456+
"landlock_add_rule", // 445
457+
"landlock_restrict_self", // 446
458+
"memfd_secret", // 447
459+
"process_mrelease", // 448
460+
"futex_waitv", // 449
460461
"set_mempolicy_home_node", // 450
461-
"cachestat", // 451
462-
"fchmodat2", // 452
463-
"map_shadow_stack", // 453
464-
"futex_wake", // 454
465-
"futex_wait", // 455
466-
"futex_requeue", // 456
467-
"statmount", // 457
468-
"listmount", // 458
469-
"lsm_get_self_attr", // 459
470-
"lsm_set_self_attr", // 460
471-
"lsm_list_modules", // 461
472-
"mseal", // 462
462+
"cachestat", // 451
463+
"fchmodat2", // 452
464+
"map_shadow_stack", // 453
465+
"futex_wake", // 454
466+
"futex_wait", // 455
467+
"futex_requeue", // 456
468+
"statmount", // 457
469+
"listmount", // 458
470+
"lsm_get_self_attr", // 459
471+
"lsm_set_self_attr", // 460
472+
"lsm_list_modules", // 461
473+
"mseal", // 462
473474
}
474475

475476
func callNameX86Family32(num uint32) string {

pkg/system/syscalls_x86f64.go

Lines changed: 29 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ const (
44
SyscallX86MaxNum64 = 462
55
SyscallX86LastName64 = "mseal"
66
)
7+
78
// https://github.com/torvalds/linux/blob/master/arch/x86/entry/syscalls/syscall_64.tbl , https://github.com/torvalds/linux/blob/master/scripts/syscall.tbl
89
// line numbers are aligned with the syscall number (-10)
910
var syscallNumTableX86Family64 = [...]string{
@@ -341,7 +342,7 @@ var syscallNumTableX86Family64 = [...]string{
341342
"pkey_free",
342343
"statx",
343344
"io_pgetevents",
344-
"rseq", // 334
345+
"rseq", // 334
345346
"uretprobe", // 335
346347
"reserved.336",
347348
"reserved.337",
@@ -441,35 +442,35 @@ var syscallNumTableX86Family64 = [...]string{
441442
"fsconfig",
442443
"fsmount",
443444
"fspick",
444-
"pidfd_open", // 434
445-
"clone3", // 435
446-
"close_range", // 436
447-
"openat2", // 437
448-
"pidfd_getfd", // 438
449-
"faccessat2", // 439
450-
"process_madvise", // 440
451-
"epoll_pwait2", // 441
452-
"mount_setattr", // 442
453-
"quotactl_fd", // 443
445+
"pidfd_open", // 434
446+
"clone3", // 435
447+
"close_range", // 436
448+
"openat2", // 437
449+
"pidfd_getfd", // 438
450+
"faccessat2", // 439
451+
"process_madvise", // 440
452+
"epoll_pwait2", // 441
453+
"mount_setattr", // 442
454+
"quotactl_fd", // 443
454455
"landlock_create_ruleset", // 444
455-
"landlock_add_rule", // 445
456-
"landlock_restrict_self", // 446
457-
"memfd_secret", // 447
458-
"process_mrelease", // 448
459-
"futex_waitv", // 449
456+
"landlock_add_rule", // 445
457+
"landlock_restrict_self", // 446
458+
"memfd_secret", // 447
459+
"process_mrelease", // 448
460+
"futex_waitv", // 449
460461
"set_mempolicy_home_node", // 450
461-
"cachestat", // 451
462-
"fchmodat2", // 452
463-
"map_shadow_stack", // 453
464-
"futex_wake", // 454
465-
"futex_wait", // 455
466-
"futex_requeue", // 456
467-
"statmount", // 457
468-
"listmount", // 458
469-
"lsm_get_self_attr", // 459
470-
"lsm_set_self_attr", // 460
471-
"lsm_list_modules", // 461
472-
"mseal", // 462
462+
"cachestat", // 451
463+
"fchmodat2", // 452
464+
"map_shadow_stack", // 453
465+
"futex_wake", // 454
466+
"futex_wait", // 455
467+
"futex_requeue", // 456
468+
"statmount", // 457
469+
"listmount", // 458
470+
"lsm_get_self_attr", // 459
471+
"lsm_set_self_attr", // 460
472+
"lsm_list_modules", // 461
473+
"mseal", // 462
473474
}
474475

475476
func callNameX86Family64(num uint32) string {

0 commit comments

Comments
 (0)