This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug dynamic-link/21082] loader did not check result when allocating tlsblocks
- From: "fweimer at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Mon, 06 Feb 2017 11:43:00 +0000
- Subject: [Bug dynamic-link/21082] loader did not check result when allocating tlsblocks
- Auto-submitted: auto-generated
- References: <bug-21082-131@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=21082
--- Comment #5 from Florian Weimer <fweimer at redhat dot com> ---
(In reply to ma.jiang from comment #4)
> (In reply to Florian Weimer from comment #3)
> > We currently cannot use INTERNAL_SYSCALL in generic code, so this is more
> > complicated than it looks.
> Hi Florian,
> Sorry for the delay, we got spring festival last week.
> If we could not use INTERNAL_SYSCALL in libc-tls.c then I can finally
> understand those comments in code now... But I still can not understand why
> INTERNAL_SYSCALL can not be used here.
> INTERNAL_SYSCALL is just a macro in sysdep.h, and have been used in many
> generic routines
> (nptl/nptl-init.c,sysdeps/unix/sysv/linux/clock_nanosleep.c,...).
With “generic“, I meant “not Linux-specific”. INTERNAL_SYSCALL is specific to
Linux. Hurd uses something else. I don't know what the out-of-tree FreeBSD
port uses.
--
You are receiving this mail because:
You are on the CC list for the bug.