This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug dynamic-link/21082] loader did not check result when allocating tlsblocks


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]