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
| ||
|
Date: Wed, 13 Jul 2011 14:10:38 +0200 From: Tejun Heo <tj@...nel.org> To: Oleg Nesterov <oleg@...hat.com> Cc: Linus Torvalds <torvalds@...ux-foundation.org>, vda.linux@...glemail.com, jan.kratochvil@...hat.com, pedro@...esourcery.com, indan@....nu, bdonlan@...il.com, linux-kernel@...r.kernel.org Subject: Re: [RFC PATCH 3/3] ptrace: dont send SIGSTOP on auto-attach if PT_SEIZED Hello, On Fri, Jul 08, 2011 at 07:14:17PM +0200, Oleg Nesterov wrote: > The fake SIGSTOP during attach has numerous problems. PTRACE_SEIZE > is already fine, but we have basically the same problems is SIGSTOP > is sent on auto-attach, the tracer can't know if this signal signal > should be cancelled or not. > > Change ptrace_event() to set JOBCTL_TRAP_STOP if the new child is > PT_SEIZED, this triggers the PTRACE_EVENT_STOP report. > > Thereafter a PT_SEIZED task can never report the bogus SIGSTOP. > > Test-case: ... > Signed-off-by: Oleg Nesterov <oleg@...hat.com> Looks good to me. For 2 and 3, Acked-by: Tejun Heo <tj@...nel.org> So, yeah, with this change, we're almost there. 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