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: <20110601200807.GB9981@redhat.com>
Date:	Wed, 1 Jun 2011 22:08:07 +0200
From:	Oleg Nesterov <oleg@...hat.com>
To:	Tejun Heo <tj@...nel.org>
Cc:	Linus Torvalds <torvalds@...ux-foundation.org>,
	Denys Vlasenko <vda.linux@...glemail.com>, indan@....nu,
	bdonlan@...il.com, linux-kernel@...r.kernel.org,
	jan.kratochvil@...hat.com, akpm@...ux-foundation.org
Subject: Re: [PATCH 03/10] ptrace: implement PTRACE_SEIZE

On 06/01, Tejun Heo wrote:
>
> Hello, Oleg.
>
> On Tue, May 31, 2011 at 09:08:09PM +0200, Oleg Nesterov wrote:
> > Speaking of this particular problem, it is really annoying. The leader
> > exits, and it even notifies the tracer. For what? waitpid() returns 0
> > or hangs depending on WNOHANG, any ptrace() request fails with ESRCH.
>
> Hmm... can't we just allow PTRACE_DETACH after PTRACE_EVENT_EXIT is
> reported?

Confused. PTRACE_DETACH surely works if the tracee reports EVENT_EXIT...
Could you explain what you meant?

Oleg.

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