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>] [day] [month] [year] [list]
Message-ID: <C4A438513D3F12459455E5D43FD54783017F780C@extlv102.eAladdin.org>
Date:	Mon, 17 Sep 2007 11:59:26 +0200
From:	"Yishai Hadas" <Yishai.Hadas@...ddin.com>
To:	<linux-kernel@...r.kernel.org>
Subject: kernel thread id 

Hi List,

I'm using NPTL multi-threaded library and kernel 2.4.

When a new thread is created using the pthread_create call the returned
thread handle is pthread_t.

I want to get the kernel thread id for this pthread - means similar to
what gettid returns when it's called by the thread itself.

How can achieve this information from the creator thread?



Any help is appreciated.

Yishai.

**********************************************************************************************

The contents of this email and any attachments are confidential.
It is intended for the named recipient(s) only.
If you have received this email in error please notify the system manager or� the 
sender immediately and do not disclose the contents to anyone or make copies.
** eSafe scanned this email for viruses, vandals and malicious content **

**********************************************************************************************

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ