This is the mail archive of the
systemtap-cvs@sourceware.org
mailing list for the systemtap project.
[SCM] systemtap: system-wide probe/trace tool branch, master, updated. release-0.9.5-48-g4cc40e8
- From: jistone at sourceware dot org
- To: systemtap-cvs at sourceware dot org
- Date: 1 Apr 2009 22:46:58 -0000
- Subject: [SCM] systemtap: system-wide probe/trace tool branch, master, updated. release-0.9.5-48-g4cc40e8
- Reply-to: systemtap at sourceware dot org
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "systemtap: system-wide probe/trace tool".
The branch, master has been updated
via 4cc40e829870dd6a1d9714706d38f5fd4b2ec982 (commit)
from 0dbfd2a9ccad1759c58f240843cabc50d502e44a (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 4cc40e829870dd6a1d9714706d38f5fd4b2ec982
Author: Josh Stone <jistone@redhat.com>
Date: Wed Apr 1 14:49:12 2009 -0700
PR10016: Purge stap of all pgrp and system() usage
We hereby no longer try to manipulate process groups in any way. We
don't set a private process group, and we never kill() our entire group
either. Instead of using system(), we now have a stap_system() which
saves the child PID, so when we get a terminating signal we can pass it
along to the child.
Signals sent through the TTY have always worked, since the TTY sends it
to the entire pgrp. However, if we're running as part of a wrapper
script or GUI, which may not have a separate process group for stap, we
still would like to allow "kill -TERM $STAPPID" to terminate stap
nicely.
There's still a short window of failure in the time that staprun is
active, because we can't kill a setuid process from a user process.
Once staprun drops privileges and execs to stapio though, everything
should work fine.
-----------------------------------------------------------------------
Summary of changes:
buildrun.cxx | 8 +++---
main.cxx | 77 +++-------------------------------------------------------
util.cxx | 41 ++++++++++++++++++++++++++++---
util.h | 2 +
4 files changed, 47 insertions(+), 81 deletions(-)
hooks/post-receive
--
systemtap: system-wide probe/trace tool