[Bug libc/31394] clone on sparc might fail with -EFAULT for no valid reason

glaubitz at physik dot fu-berlin.de sourceware-bugzilla@sourceware.org
Sat Jan 17 13:52:33 GMT 2026


https://sourceware.org/bugzilla/show_bug.cgi?id=31394

--- Comment #18 from John Paul Adrian Glaubitz <glaubitz at physik dot fu-berlin.de> ---
(In reply to Adhemerval Zanella from comment #17)
> (In reply to John Paul Adrian Glaubitz from comment #16)
> > A patch has been posted on the Linux kernel mailing list which makes the
> > workaround by Michael Karcher unnecessary:
> > 
> > https://lore.kernel.org/all/c3f713a89dd406d094eae99ef95c108e779780c3.
> > camel@physik.fu-berlin.de/T/#mb548b6e4555859fad108d12d3cc80c22bf3a70ba
> 
> I don't think we can remove the workaround because we still support old
> kernels without this fix.

The fix will be backported to all LTS kernels, so I don't think there is a need
to keep the workaround in future versions of glibc.

The oldest, currently supported LTS kernel is 5.10 while glibc 2.42 requires at
least kernel version 5.4 unless I'm missing something.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Glibc-bugs mailing list