public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] Make clone3 shared-only [BZ #31770]
@ 2024-05-21  2:31 H.J. Lu
  2024-05-21 12:50 ` Adhemerval Zanella Netto
  0 siblings, 1 reply; 3+ messages in thread
From: H.J. Lu @ 2024-05-21  2:31 UTC (permalink / raw)
  To: libc-alpha

clone3 isn't exported from libc.so.  Fix BZ #31770 by making clone3
shared-only.

Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
---
 sysdeps/unix/sysv/linux/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sysdeps/unix/sysv/linux/Makefile b/sysdeps/unix/sysv/linux/Makefile
index 415aa1f14d..233db08be7 100644
--- a/sysdeps/unix/sysv/linux/Makefile
+++ b/sysdeps/unix/sysv/linux/Makefile
@@ -112,6 +112,7 @@ sysdep_routines += \
   xstat \
   xstat64 \
   # sysdep_routines
+shared-only-routines += clone3
 
 CFLAGS-gethostid.c = -fexceptions
 CFLAGS-tee.c = -fexceptions -fasynchronous-unwind-tables
-- 
2.45.1


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-05-21 12:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-05-21  2:31 [PATCH] Make clone3 shared-only [BZ #31770] H.J. Lu
2024-05-21 12:50 ` Adhemerval Zanella Netto
2024-05-21 12:55   ` H.J. Lu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).