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-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <AANLkTilGLJJG_eLHaqvJ5jOzxp96SbOroTCbHe9g5TXE@mail.gmail.com>
Date:	Mon, 17 May 2010 15:43:17 +0530
From:	Srinivas Nayak <sinu.nayak2001@...il.com>
To:	Jaswinder Singh Rajput <jaswinderlinux@...il.com>
Cc:	linux-kernel@...r.kernel.org
Subject: Re: Which function returns LWP in Linux.

>
> You are asking procps question in LKML.
>

Dear Jaswinder,

I am new to linux mailing lists. Thought, this process id related
question can only be answered by linux kernel developers, as they may be
working with this almost everyday. And more to this, I searched in the
Internet for LWP id, but found no positive answer. Many places gettid
was the answer, but it doesn't work.

I apologize, if lkml is not the best place to ask programming related
questions. It would be kind, if you let me know the correct mailing
list where general linux programming discussions happen. To my find,
linux-c-programming mailing list is not so active.

After some more research, i foind that

syscall(SYS_gettid)

returns LWP id. Isn't this correct?

Sincerely,
Srinivas Nayak
--
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