Skip to content

Commit b44535f

Browse files
committed
Enable clone3() syscall on SPARC which was added in Linux v7.0
1 parent 9c2df3f commit b44535f

File tree

3 files changed

+0
-5
lines changed

3 files changed

+0
-5
lines changed

libc-test/build.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4316,9 +4316,6 @@ fn test_linux(target: &str) {
43164316
// FIXME(value): IPPROTO_MAX was increased in 5.6 for IPPROTO_MPTCP:
43174317
"IPPROTO_MAX" => true,
43184318

4319-
// FIXME(linux): Not yet implemented on sparc64
4320-
"SYS_clone3" if sparc64 => true,
4321-
43224319
// FIXME(linux): Not defined on ARM, gnueabihf, mips, musl, PowerPC, riscv64, s390x, and sparc64.
43234320
"SYS_memfd_secret"
43244321
if arm | gnueabihf | mips | musl | ppc | riscv64 | s390x | sparc64 =>

src/unix/linux_like/linux/gnu/b32/sparc/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -849,7 +849,6 @@ pub const SYS_fsconfig: c_long = 431;
849849
pub const SYS_fsmount: c_long = 432;
850850
pub const SYS_fspick: c_long = 433;
851851
pub const SYS_pidfd_open: c_long = 434;
852-
// Reserved in the kernel, but not actually implemented yet
853852
pub const SYS_clone3: c_long = 435;
854853
pub const SYS_close_range: c_long = 436;
855854
pub const SYS_openat2: c_long = 437;

src/unix/linux_like/linux/gnu/b64/sparc64/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -904,7 +904,6 @@ pub const SYS_fsconfig: c_long = 431;
904904
pub const SYS_fsmount: c_long = 432;
905905
pub const SYS_fspick: c_long = 433;
906906
pub const SYS_pidfd_open: c_long = 434;
907-
// Reserved in the kernel, but not actually implemented yet
908907
pub const SYS_clone3: c_long = 435;
909908
pub const SYS_close_range: c_long = 436;
910909
pub const SYS_openat2: c_long = 437;

0 commit comments

Comments
 (0)