From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 86863 invoked by alias); 18 Jul 2016 20:44:44 -0000 Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org Received: (qmail 86715 invoked by uid 48); 18 Jul 2016 20:44:33 -0000 From: "fche at redhat dot com" To: systemtap@sourceware.org Subject: [Bug tapsets/20075] target_set_pid() returns False when execve() syscall is successful Date: Mon, 18 Jul 2016 20:44:00 -0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: systemtap X-Bugzilla-Component: tapsets X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fche at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: systemtap at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-q3/txt/msg00059.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=3D20075 Frank Ch. Eigler changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |wcohen at redhat dot com --- Comment #4 from Frank Ch. Eigler --- wcohen drafted similar function: function child_of_target:long (t:long) { if (!target()) return 1 while(t && t !=3D task_parent(t)) { if (task_pid(t) =3D=3D target()) return 1 t =3D task_parent(t) } return 0 } Maybe this implementation can take the place of the current one, or vice ve= rsa? Consider also disowned processes (that are reparented to ppid=3D1) somehow. --=20 You are receiving this mail because: You are the assignee for the bug.