public inbox for systemtap-cvs@sourceware.org
help / color / mirror / Atom feed
* [SCM] systemtap: system-wide probe/trace tool branch, master, updated. release-0.9.5-48-g4cc40e8
@ 2009-04-01 22:46 jistone
0 siblings, 0 replies; only message in thread
From: jistone @ 2009-04-01 22:46 UTC (permalink / raw)
To: systemtap-cvs
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-04-01 22:46 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-01 22:46 [SCM] systemtap: system-wide probe/trace tool branch, master, updated. release-0.9.5-48-g4cc40e8 jistone
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).