This is the mail archive of the
systemtap-cvs@sourceware.org
mailing list for the systemtap project.
src/runtime/staprun ChangeLog cap.c common.c c ...
- From: hunt at sourceware dot org
- To: systemtap-cvs at sourceware dot org
- Date: 3 Aug 2007 13:45:42 -0000
- Subject: src/runtime/staprun ChangeLog cap.c common.c c ...
CVSROOT: /cvs/systemtap
Module name: src
Branch: setuid-branch
Changes by: hunt@sourceware.org 2007-08-03 13:45:42
Modified files:
runtime/staprun: ChangeLog cap.c common.c ctl.c mainloop.c
relay.c relay_old.c stapio.c staprun.c
staprun.h staprun_funcs.c symbols.c
Log message:
2007-08-02 Martin Hunt <hunt@redhat.com>
* symbols.c (get_sections): Move the filter code up so that
uninteresting section names are filtered out before
attempting to open them.
* stapio.c (main): Just call parse_modpath with argv[optind].
Let it allocate and set modpath and modname.
* common.c (parse_modpath): Allocate space for modpath.
Use strdup to allocate modname.
* ctl.c (init_ctl_channel): When attempting to attach, if the
control channel doesn't exist, print a better error message.
* staprun.c (main): Just call parse_modpath with argv[optind].
Let it allocate and set modpath and modname.
* staprun.h (err): New. print to stderr.
(perr): New. perror with varargs,
(_err): New. err with source info.
(_perr): New. perr with source info.
(fatal): Removed.
(ferror): Removed.
(overflow_error): Just call _err.
(strcpy_chk): Removed.
(modpath): Declare as a pointer instead of an array.
* ALL: Use [_][p]err macros.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/runtime/staprun/ChangeLog.diff?cvsroot=systemtap&only_with_tag=setuid-branch&r1=1.25.2.34&r2=1.25.2.35
http://sourceware.org/cgi-bin/cvsweb.cgi/src/runtime/staprun/cap.c.diff?cvsroot=systemtap&only_with_tag=setuid-branch&r1=1.1.2.3&r2=1.1.2.4
http://sourceware.org/cgi-bin/cvsweb.cgi/src/runtime/staprun/common.c.diff?cvsroot=systemtap&only_with_tag=setuid-branch&r1=1.1.2.14&r2=1.1.2.15
http://sourceware.org/cgi-bin/cvsweb.cgi/src/runtime/staprun/ctl.c.diff?cvsroot=systemtap&only_with_tag=setuid-branch&r1=1.5.2.3&r2=1.5.2.4
http://sourceware.org/cgi-bin/cvsweb.cgi/src/runtime/staprun/mainloop.c.diff?cvsroot=systemtap&only_with_tag=setuid-branch&r1=1.11.2.7&r2=1.11.2.8
http://sourceware.org/cgi-bin/cvsweb.cgi/src/runtime/staprun/relay.c.diff?cvsroot=systemtap&only_with_tag=setuid-branch&r1=1.14.2.3&r2=1.14.2.4
http://sourceware.org/cgi-bin/cvsweb.cgi/src/runtime/staprun/relay_old.c.diff?cvsroot=systemtap&only_with_tag=setuid-branch&r1=1.7.2.4&r2=1.7.2.5
http://sourceware.org/cgi-bin/cvsweb.cgi/src/runtime/staprun/stapio.c.diff?cvsroot=systemtap&only_with_tag=setuid-branch&r1=1.1.2.8&r2=1.1.2.9
http://sourceware.org/cgi-bin/cvsweb.cgi/src/runtime/staprun/staprun.c.diff?cvsroot=systemtap&only_with_tag=setuid-branch&r1=1.3.2.23&r2=1.3.2.24
http://sourceware.org/cgi-bin/cvsweb.cgi/src/runtime/staprun/staprun.h.diff?cvsroot=systemtap&only_with_tag=setuid-branch&r1=1.6.2.12&r2=1.6.2.13
http://sourceware.org/cgi-bin/cvsweb.cgi/src/runtime/staprun/staprun_funcs.c.diff?cvsroot=systemtap&only_with_tag=setuid-branch&r1=1.1.2.10&r2=1.1.2.11
http://sourceware.org/cgi-bin/cvsweb.cgi/src/runtime/staprun/symbols.c.diff?cvsroot=systemtap&only_with_tag=setuid-branch&r1=1.5.2.3&r2=1.5.2.4