File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed
src/unix/notbsd/linux/musl Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -746,9 +746,9 @@ pub const SYS_mlock2: ::c_long = 376;
746
746
pub const SYS_copy_file_range : :: c_long = 377 ;
747
747
pub const SYS_preadv2 : :: c_long = 378 ;
748
748
pub const SYS_pwritev2 : :: c_long = 379 ;
749
- pub const SYS_pkey_mprotect : :: c_long = 380 ;
750
- pub const SYS_pkey_alloc : :: c_long = 381 ;
751
- pub const SYS_pkey_free : :: c_long = 382 ;
749
+ // FIXME syscalls 380-382 have been added in musl 1.16
750
+ // See discussion https://github.com/nix-rust/nix/pull/709
751
+
752
752
753
753
// offsets in user_regs_structs, from sys/reg.h
754
754
pub const EBX : :: c_int = 0 ;
Original file line number Diff line number Diff line change @@ -347,9 +347,8 @@ pub const SYS_mlock2: ::c_long = 325;
347
347
pub const SYS_copy_file_range : :: c_long = 326 ;
348
348
pub const SYS_preadv2 : :: c_long = 327 ;
349
349
pub const SYS_pwritev2 : :: c_long = 328 ;
350
- pub const SYS_pkey_mprotect : :: c_long = 329 ;
351
- pub const SYS_pkey_alloc : :: c_long = 330 ;
352
- pub const SYS_pkey_free : :: c_long = 331 ;
350
+ // FIXME syscalls 329-331 are not available in musl 1.15
351
+ // See discussion https://github.com/nix-rust/nix/pull/709
353
352
354
353
// offsets in user_regs_structs, from sys/reg.h
355
354
pub const R15 : :: c_int = 0 ;
You can’t perform that action at this time.
0 commit comments