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]
Date:	Mon, 16 May 2011 14:46:25 +0200
From:	Tejun Heo <tj@...nel.org>
To:	Jan Kratochvil <jan.kratochvil@...hat.com>
Cc:	Oleg Nesterov <oleg@...hat.com>, vda.linux@...glemail.com,
	linux-kernel@...r.kernel.org, torvalds@...ux-foundation.org,
	akpm@...ux-foundation.org, indan@....nu
Subject: Re: waitpid(WNOHANG) should report SIGCHLD-notified signals  [Re:
 [PATCH 09/11] job control: reorganize wait_task_stopped()]

Hello,

On Mon, May 16, 2011 at 02:39:30PM +0200, Jan Kratochvil wrote:
> > The above wouldn't be linux kernel's top design concerns, right?
> 
> They are - as without threads one needs reliable WNOHANG - while which you say
> it is not reliable.

As I wrote before, I think it's reliable for ptrace.  The problematic
ones are transitions between continued and stopped and running and I
don't think it would affect ptrace.

> > It's not like new interface is gonna break that, but I think it's gonna be
> > more fragile.  Well, it shouldn't be worse than now.
> 
> BTW I really do not think this WNOHANG issue is anyhow related to this whole
> discussion.

Probably not but I've seen gdb going out of sync with the expected
state of the tracee.  Dunno whether it was kernel bug or gdb bug but
it seemed pretty fragile and adding group stop notifications might
make it a bit more difficult.  I don't know.  It was just my five
cents.  Feel free to ignore.

Thanks.

-- 
tejun
--
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