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] [day] [month] [year] [list]
Message-ID: <cfd18e0f0903311844nd5ab221g6bff6cf5fc73de42@mail.gmail.com>
Date:	Wed, 1 Apr 2009 14:44:26 +1300
From:	Michael Kerrisk <mtk.manpages@...glemail.com>
To:	Roland McGrath <roland@...hat.com>
Cc:	Oleg Nesterov <oleg@...hat.com>,
	Thomas Gleixner <tglx@...utronix.de>,
	LKML <linux-kernel@...r.kernel.org>,
	Ulrich Drepper <drepper@...hat.com>,
	Andrew Morton <akpm@...ux-foundation.org>,
	Ingo Molnar <mingo@...e.hu>
Subject: Re: [patch 0/3] add rt_tgsigqueueinfo syscall -V2

On Wed, Apr 1, 2009 at 2:25 PM, Roland McGrath <roland@...hat.com> wrote:
>> 1) With rt_siqueueinfo(), we can get the PID (TGID) of the sender,
>
> No.  You can get whatever the caller put into the siginfo_t.
> Only the si_signo field is set by the kernel.
>
>> With rt_tgsigqueueinfo(), [...]
>
> You still get whatever the caller put into the siginfo_t.

Yes.  I wrote the text awkwardly, but I think the point was clear.  In
my point 1, I wrongly thought we needed a way to get the sender's TID
to the receiver, and you pointed out that sigval could do the job.  In
my point 2, I made the same observation as you just made above.

Thanks,

Michael


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
git://git.kernel.org/pub/scm/docs/man-pages/man-pages.git
man-pages online: http://www.kernel.org/doc/man-pages/online_pages.html
Found a bug? http://www.kernel.org/doc/man-pages/reporting_bugs.html
--
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