Skip to content

Commit 51cd3f7

Browse files
committed
Add syscall numbers for statx
1 parent 95ab2d7 commit 51cd3f7

File tree

7 files changed

+7
-0
lines changed

7 files changed

+7
-0
lines changed

src/unix/notbsd/linux/other/b32/arm.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -610,3 +610,4 @@ pub const SYS_pwritev2: ::c_long = 393;
610610
pub const SYS_pkey_mprotect: ::c_long = 394;
611611
pub const SYS_pkey_alloc: ::c_long = 395;
612612
pub const SYS_pkey_free: ::c_long = 396;
613+
pub const SYS_statx: ::c_long = 397;

src/unix/notbsd/linux/other/b32/powerpc.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -612,3 +612,4 @@ pub const SYS_copy_file_range: ::c_long = 379;
612612
pub const SYS_preadv2: ::c_long = 380;
613613
pub const SYS_pwritev2: ::c_long = 381;
614614
pub const SYS_kexec_file_load: ::c_long = 382;
615+
pub const SYS_statx: ::c_long = 383;

src/unix/notbsd/linux/other/b32/x86.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -738,6 +738,7 @@ pub const SYS_pwritev2: ::c_long = 379;
738738
pub const SYS_pkey_mprotect: ::c_long = 380;
739739
pub const SYS_pkey_alloc: ::c_long = 381;
740740
pub const SYS_pkey_free: ::c_long = 382;
741+
pub const SYS_statx: ::c_long = 383;
741742

742743
// offsets in user_regs_structs, from sys/reg.h
743744
pub const EBX: ::c_int = 0;

src/unix/notbsd/linux/other/b64/not_x32.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -408,6 +408,7 @@ pub const SYS_pwritev2: ::c_long = 328;
408408
pub const SYS_pkey_mprotect: ::c_long = 329;
409409
pub const SYS_pkey_alloc: ::c_long = 330;
410410
pub const SYS_pkey_free: ::c_long = 331;
411+
pub const SYS_statx: ::c_long = 332;
411412

412413
#[link(name = "util")]
413414
extern {

src/unix/notbsd/linux/other/b64/powerpc64.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -917,6 +917,7 @@ pub const SYS_copy_file_range: ::c_long = 379;
917917
pub const SYS_preadv2: ::c_long = 380;
918918
pub const SYS_pwritev2: ::c_long = 381;
919919
pub const SYS_kexec_file_load: ::c_long = 382;
920+
pub const SYS_statx: ::c_long = 383;
920921

921922
#[link(name = "util")]
922923
extern {

src/unix/notbsd/linux/other/b64/sparc64.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -855,6 +855,7 @@ pub const SYS_mlock2: ::c_long = 356;
855855
pub const SYS_copy_file_range: ::c_long = 357;
856856
pub const SYS_preadv2: ::c_long = 358;
857857
pub const SYS_pwritev2: ::c_long = 359;
858+
pub const SYS_statx: ::c_long = 360;
858859

859860
#[link(name = "util")]
860861
extern {

src/unix/notbsd/linux/other/b64/x32.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -336,6 +336,7 @@ pub const SYS_copy_file_range: ::c_long = __X32_SYSCALL_BIT + 326;
336336
pub const SYS_pkey_mprotect: ::c_long = __X32_SYSCALL_BIT + 329;
337337
pub const SYS_pkey_alloc: ::c_long = __X32_SYSCALL_BIT + 330;
338338
pub const SYS_pkey_free: ::c_long = __X32_SYSCALL_BIT + 331;
339+
pub const SYS_statx: ::c_long = __X32_SYSCALL_BIT + 332;
339340
pub const SYS_rt_sigaction: ::c_long = __X32_SYSCALL_BIT + 512;
340341
pub const SYS_rt_sigreturn: ::c_long = __X32_SYSCALL_BIT + 513;
341342
pub const SYS_ioctl: ::c_long = __X32_SYSCALL_BIT + 514;

0 commit comments

Comments
 (0)