File tree Expand file tree Collapse file tree 6 files changed +8
-0
lines changed
src/unix/linux_like/linux Expand file tree Collapse file tree 6 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -4210,6 +4210,9 @@ fn test_linux(target: &str) {
42104210 true
42114211 }
42124212
4213+ // FIXME: Requires >= 6.6 kernel headers.
4214+ "SYS_fchmodat2" => true ,
4215+
42134216 // FIXME: seems to not be available all the time (from <include/linux/sched.h>:
42144217 "PF_VCPU"
42154218 | "PF_IDLE"
Original file line number Diff line number Diff line change @@ -1044,6 +1044,7 @@ pub const SYS_memfd_secret: ::c_long = 447;
10441044pub const SYS_process_mrelease : :: c_long = 448 ;
10451045pub const SYS_futex_waitv : :: c_long = 449 ;
10461046pub const SYS_set_mempolicy_home_node : :: c_long = 450 ;
1047+ pub const SYS_fchmodat2 : :: c_long = 452 ;
10471048
10481049// offsets in user_regs_structs, from sys/reg.h
10491050pub const EBX : :: c_int = 0 ;
Original file line number Diff line number Diff line change @@ -438,6 +438,7 @@ pub const SYS_memfd_secret: ::c_long = 447;
438438pub const SYS_process_mrelease : :: c_long = 448 ;
439439pub const SYS_futex_waitv : :: c_long = 449 ;
440440pub const SYS_set_mempolicy_home_node : :: c_long = 450 ;
441+ pub const SYS_fchmodat2 : :: c_long = 452 ;
441442
442443extern "C" {
443444 pub fn sysctl (
Original file line number Diff line number Diff line change @@ -366,6 +366,7 @@ pub const SYS_memfd_secret: ::c_long = __X32_SYSCALL_BIT + 447;
366366pub const SYS_process_mrelease : :: c_long = __X32_SYSCALL_BIT + 448 ;
367367pub const SYS_futex_waitv : :: c_long = __X32_SYSCALL_BIT + 449 ;
368368pub const SYS_set_mempolicy_home_node : :: c_long = __X32_SYSCALL_BIT + 450 ;
369+ pub const SYS_fchmodat2 : :: c_long = __X32_SYSCALL_BIT + 452 ;
369370pub const SYS_rt_sigaction : :: c_long = __X32_SYSCALL_BIT + 512 ;
370371pub const SYS_rt_sigreturn : :: c_long = __X32_SYSCALL_BIT + 513 ;
371372pub 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;
936936pub const SYS_process_mrelease : :: c_long = 448 ;
937937pub const SYS_futex_waitv : :: c_long = 449 ;
938938pub const SYS_set_mempolicy_home_node : :: c_long = 450 ;
939+ pub const SYS_fchmodat2 : :: c_long = 452 ;
939940
940941// offsets in user_regs_structs, from sys/reg.h
941942pub 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;
608608pub const SYS_process_mrelease : :: c_long = 448 ;
609609pub const SYS_futex_waitv : :: c_long = 449 ;
610610pub const SYS_set_mempolicy_home_node : :: c_long = 450 ;
611+ pub const SYS_fchmodat2 : :: c_long = 452 ;
611612
612613// offsets in user_regs_structs, from sys/reg.h
613614pub const R15 : :: c_int = 0 ;
You can’t perform that action at this time.
0 commit comments