public inbox for systemtap-cvs@sourceware.org
help / color / mirror / Atom feed
* src/runtime/staprun ChangeLog cap.c common.c m ...
@ 2007-07-25 14:13 hunt
0 siblings, 0 replies; only message in thread
From: hunt @ 2007-07-25 14:13 UTC (permalink / raw)
To: systemtap-cvs
CVSROOT: /cvs/systemtap
Module name: src
Branch: setuid-branch
Changes by: hunt@sourceware.org 2007-07-25 14:13:06
Modified files:
runtime/staprun: ChangeLog cap.c common.c mainloop.c stapio.c
staprun.c staprun.h staprun_funcs.c symbols.c
Log message:
2007-07-25 Martin Hunt <hunt@redhat.com>
* staprun.c (init_staprun): If insmod, then set inserted_module.
(cleanup): Only try to remove module when appropriate.
(exit_cleanup): New. Calls cleanup().
(main): Set atexit(exit_cleanup) so cleanup always gets called
and modules get removed.
* symbols.c: Call cleanup_and_exit(1) instead of 0.
* stapio.c: Remove some duplicate declarations.
(main): Call init_stapio instead of init_staprun.
* mainloop.c (start_cmd): exit 1 instead of -1.
(system_cmd): Ditto.
(init_staprun): Renamed init_stapio.
(cleanup_and_exit): Set exit status.
(_stp_main_loop): Call cleanup_and_exit() with proper status.
* common.c: Remove some duplicate declarations.
(path_parse_modname): Malloc modname buffer.
(fatal_handler): Set exit code based on if initialization completed.
* cap.c (print_cap): Don't exit on failures here.
ALL: Use ferror and perror to simplify error printing and handling.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/runtime/staprun/ChangeLog.diff?cvsroot=systemtap&only_with_tag=setuid-branch&r1=1.25.2.21&r2=1.25.2.22
http://sourceware.org/cgi-bin/cvsweb.cgi/src/runtime/staprun/cap.c.diff?cvsroot=systemtap&only_with_tag=setuid-branch&r1=1.1.2.2&r2=1.1.2.3
http://sourceware.org/cgi-bin/cvsweb.cgi/src/runtime/staprun/common.c.diff?cvsroot=systemtap&only_with_tag=setuid-branch&r1=1.1.2.6&r2=1.1.2.7
http://sourceware.org/cgi-bin/cvsweb.cgi/src/runtime/staprun/mainloop.c.diff?cvsroot=systemtap&only_with_tag=setuid-branch&r1=1.11.2.5&r2=1.11.2.6
http://sourceware.org/cgi-bin/cvsweb.cgi/src/runtime/staprun/stapio.c.diff?cvsroot=systemtap&only_with_tag=setuid-branch&r1=1.1.2.4&r2=1.1.2.5
http://sourceware.org/cgi-bin/cvsweb.cgi/src/runtime/staprun/staprun.c.diff?cvsroot=systemtap&only_with_tag=setuid-branch&r1=1.3.2.16&r2=1.3.2.17
http://sourceware.org/cgi-bin/cvsweb.cgi/src/runtime/staprun/staprun.h.diff?cvsroot=systemtap&only_with_tag=setuid-branch&r1=1.6.2.6&r2=1.6.2.7
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.6&r2=1.1.2.7
http://sourceware.org/cgi-bin/cvsweb.cgi/src/runtime/staprun/symbols.c.diff?cvsroot=systemtap&only_with_tag=setuid-branch&r1=1.5.2.1&r2=1.5.2.2
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-07-25 14:13 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-07-25 14:13 src/runtime/staprun ChangeLog cap.c common.c m hunt
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).