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.9-340-g6ecd877
- From: fche at sourceware dot org
- To: systemtap-cvs at sourceware dot org
- Date: 17 Sep 2009 02:39:18 -0000
- Subject: [SCM] systemtap: system-wide probe/trace tool branch, master, updated. release-0.9.9-340-g6ecd877
- 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 6ecd877049008c5abe9c6720ea8fc64732f47eb5 (commit)
from 6846cfc8a5cdb24fccb19037b27a180d2300ee09 (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 6ecd877049008c5abe9c6720ea8fc64732f47eb5
Author: Frank Ch. Eigler <fche@elastic.org>
Date: Wed Sep 16 22:32:28 2009 -0400
PR10650: markup some unprivileged-safe tapset functions
Add /* unprivileged */ to a variety of tapset embedded-c functions,
together with uid-assertion-checking code as needed. This is only
an initial set, and may need to grow or shrink after further testing.
Prototyped-By: Dave Brolley <brolley@redhat.com>
* runtime/runtime.h (is_myproc, assert_is_myproc): New macros.
* runtime/addr-map.c (lookup_bad_addr): Reject if !is_myproc
in unprivileged mode.
* runtime/print.c (_stp_print_kernel_info): Add unprivileged
mode info.
* tapset/DEVGUIDE: Document /* pure */ and /* unprivileged */.
* tapset/*.stp: Add /* unprivileged */ here and there, in
questionable cases along with an assert_is_myproc().
-----------------------------------------------------------------------
Summary of changes:
runtime/addr-map.c | 4 +++
runtime/print.c | 12 ++++++++-
runtime/runtime.h | 28 ++++++++++++++++++++++++
tapset/DEVGUIDE | 17 ++++++++++++++
tapset/context.stp | 46 +++++++++++++++++++-------------------
tapset/conversions.stp | 50 ++++++++++++++++++++++++++++--------------
tapset/string.stp | 20 ++++++++--------
tapset/timestamp_gtod.stp | 2 +-
tapset/ucontext-symbols.stp | 6 +++-
tapset/ucontext-unwind.stp | 6 +++-
tapset/utrace.stp | 27 ++++++++++++++++++-----
11 files changed, 155 insertions(+), 63 deletions(-)
hooks/post-receive
--
systemtap: system-wide probe/trace tool