From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13433 invoked by alias); 16 Feb 2011 20:21:19 -0000 Mailing-List: contact archer-help@sourceware.org; run by ezmlm Sender: Precedence: bulk List-Post: List-Help: List-Subscribe: List-Id: Received: (qmail 13424 invoked by uid 22791); 16 Feb 2011 20:21:18 -0000 X-SWARE-Spam-Status: No, hits=-6.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SARE_SUB_IMPROVE,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Date: Wed, 16 Feb 2011 20:21:00 -0000 From: Oleg Nesterov To: Roland McGrath Cc: Jan Kratochvil , Project Archer Subject: Re: ptrace improvement ideas (QPassSignals) Message-ID: <20110216201306.GC17601@redhat.com> References: <20110203223905.D0C77180081@magilla.sf.frob.com> <20110216113110.GA18421@host1.dyn.jankratochvil.net> <20110216183608.4A8E01806E0@magilla.sf.frob.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110216183608.4A8E01806E0@magilla.sf.frob.com> User-Agent: Mutt/1.5.18 (2008-05-17) X-SW-Source: 2011-q1/txt/msg00073.txt.bz2 On 02/16, Roland McGrath wrote: > > > An idea about another simple ptrace extension - to set a set of signals which > > are not interesting to GDB, like what exists in the gdbserver protocol: > > That is another obvious feature. It is straightforward to implement in the > kernel, but it requires some extra storage per-thread, Yes, all we need is the simple bitmask. > It's already desireable to restructure > the ptrace implementation details so that ptrace-related storage is not > allocated when ptrace is not being used, Yes. IIRC, we already had the patches, but right now I can't recall if they were complete (most probably yes, except I am not sure about task->ptrace member). I'll try to find this series. Probably this is the first thing we should do. Oleg.