This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Add finit_module syscall for Linux
On Fri, Jan 25, 2013 at 8:14 PM, Kees Cook <keescook@chromium.org> wrote:
> On Fri, Jan 25, 2013 at 9:31 AM, KOSAKI Motohiro
> <kosaki.motohiro@gmail.com> wrote:
>>> gettid(2)
>>
>> Very frequently uses. because linux /proc uses tid. pthrad_self()
>> don't help us when facing libc/kernel combination issue.
>> I have no seen any issue of exporting.
>
> Yeah, I've needed gettid() in multiple situations before. I think
> having this available in glibc would be great.
http://sourceware.org/bugzilla/show_bug.cgi?id=6399 has been around
for a long time now, but didn't get much traction with Ulrich...
--
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Author of "The Linux Programming Interface"; http://man7.org/tlpi/