lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Mon, 8 Aug 2016 08:11:38 -0400
From:	Tom Horsley <horsley1953@...il.com>
To:	linux-kernel@...r.kernel.org
Subject: How the devil can gettid() return 1?

Every once in a while google-chrome goes into a 100% cpu loop.
I got curious and examined the thread that was running at 100%
and strace says this over and over again till I interrupt it:

gettid()                                = 1
gettid()                                = 1
gettid()                                = 1
gettid()                                = 1
^Cstrace: Process 18863 detached
 <detached ...>

Clearly Process 18863 isn't the init process, how can it
have a tid of 1?

This is on a fedora 24 box with a 4.6 kernel:

Linux tomh 4.6.4-301.fc24.x86_64 #1 SMP Tue Jul 12 11:50:00 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

Just curious...

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ