File tree 6 files changed +8
-0
lines changed
src/unix/linux_like/linux
6 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -4116,6 +4116,9 @@ fn test_linux(target: &str) {
4116
4116
true
4117
4117
}
4118
4118
4119
+ // FIXME: Requires >= 6.6 kernel headers.
4120
+ "SYS_fchmodat2" => true ,
4121
+
4119
4122
// FIXME: seems to not be available all the time (from <include/linux/sched.h>:
4120
4123
"PF_VCPU"
4121
4124
| "PF_IDLE"
Original file line number Diff line number Diff line change @@ -1044,6 +1044,7 @@ pub const SYS_memfd_secret: ::c_long = 447;
1044
1044
pub const SYS_process_mrelease : :: c_long = 448 ;
1045
1045
pub const SYS_futex_waitv : :: c_long = 449 ;
1046
1046
pub const SYS_set_mempolicy_home_node : :: c_long = 450 ;
1047
+ pub const SYS_fchmodat2 : :: c_long = 452 ;
1047
1048
1048
1049
// offsets in user_regs_structs, from sys/reg.h
1049
1050
pub const EBX : :: c_int = 0 ;
Original file line number Diff line number Diff line change @@ -430,6 +430,7 @@ pub const SYS_memfd_secret: ::c_long = 447;
430
430
pub const SYS_process_mrelease : :: c_long = 448 ;
431
431
pub const SYS_futex_waitv : :: c_long = 449 ;
432
432
pub const SYS_set_mempolicy_home_node : :: c_long = 450 ;
433
+ pub const SYS_fchmodat2 : :: c_long = 452 ;
433
434
434
435
extern "C" {
435
436
pub fn sysctl (
Original file line number Diff line number Diff line change @@ -361,6 +361,7 @@ pub const SYS_memfd_secret: ::c_long = __X32_SYSCALL_BIT + 447;
361
361
pub const SYS_process_mrelease : :: c_long = __X32_SYSCALL_BIT + 448 ;
362
362
pub const SYS_futex_waitv : :: c_long = __X32_SYSCALL_BIT + 449 ;
363
363
pub const SYS_set_mempolicy_home_node : :: c_long = __X32_SYSCALL_BIT + 450 ;
364
+ pub const SYS_fchmodat2 : :: c_long = __X32_SYSCALL_BIT + 452 ;
364
365
pub const SYS_rt_sigaction : :: c_long = __X32_SYSCALL_BIT + 512 ;
365
366
pub const SYS_rt_sigreturn : :: c_long = __X32_SYSCALL_BIT + 513 ;
366
367
pub const SYS_ioctl : :: c_long = __X32_SYSCALL_BIT + 514 ;
Original file line number Diff line number Diff line change @@ -936,6 +936,7 @@ pub const SYS_memfd_secret: ::c_long = 447;
936
936
pub const SYS_process_mrelease : :: c_long = 448 ;
937
937
pub const SYS_futex_waitv : :: c_long = 449 ;
938
938
pub const SYS_set_mempolicy_home_node : :: c_long = 450 ;
939
+ pub const SYS_fchmodat2 : :: c_long = 452 ;
939
940
940
941
// offsets in user_regs_structs, from sys/reg.h
941
942
pub const EBX : :: c_int = 0 ;
Original file line number Diff line number Diff line change @@ -608,6 +608,7 @@ pub const SYS_memfd_secret: ::c_long = 447;
608
608
pub const SYS_process_mrelease : :: c_long = 448 ;
609
609
pub const SYS_futex_waitv : :: c_long = 449 ;
610
610
pub const SYS_set_mempolicy_home_node : :: c_long = 450 ;
611
+ pub const SYS_fchmodat2 : :: c_long = 452 ;
611
612
612
613
// offsets in user_regs_structs, from sys/reg.h
613
614
pub const R15 : :: c_int = 0 ;
You can’t perform that action at this time.
0 commit comments