Skip to content

Commit f88a84e

Browse files
committed
Enable clone3() syscall on sparc-linux and sparc64-linux
Starting with version 7.0, the Linux kernel gained support for clone3() on SPARC. Thus, it can be enabled in libc now.
1 parent 9595912 commit f88a84e

3 files changed

Lines changed: 0 additions & 5 deletions

File tree

libc-test/build.rs

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

4649-
// FIXME(linux): Not yet implemented on sparc64
4650-
"SYS_clone3" if sparc64 => true,
4651-
46524649
// FIXME(linux): Requires >= 6.9 kernel headers.
46534650
n if (arm || ppc32) && n.starts_with("FUTEX2_") => true,
46544651

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)