summaryrefslogtreecommitdiffstats
path: root/runtime/staprun/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
* Kill all ChangeLogsJosh Stone2009-02-191-910/+0
| | | | | | Mark Wielaard, a dear friend of the departed, will be performing a song and dance at the funeral services to commemorate the joyous times that they had together.
* 2009-01-28 David Smith <dsmith@redhat.com>David Smith2009-01-281-0/+6
| | | | | | PR9788 * mainloop.c (cleanup_and_exit): Added workaround for bug 9788 by fork'ing/exec'ing staprun.
* Pick up --prefix dependency usage in config.h.Mark Wielaard2009-01-111-0/+4
|
* PR7082: support non-setuid use of $SYSTEMTAP_RUNTIME to find uprobes.koFrank Ch. Eigler2008-12-091-0/+7
|
* PR7063: honor SYSTEMTAP_STAPRUN and SYSTEMTAP_STAPIO environment variablesRoland McGrath2008-12-031-45/+54
|
* PR6925: tolerate modules left over from previous crashed? stap sessionsFrank Ch. Eigler2008-12-031-0/+6
|
* PR4783: remove traces of stap{run,io} self-renicingFrank Ch. Eigler2008-11-281-0/+7
|
* PR6964: configurably revert to signal-based "stap -c CMD" startup ↵Frank Ch. Eigler2008-11-121-0/+8
| | | | synchronization
* PR6964: temporary workaround for fedora utrace kernel bug 467568Wenji Huang2008-10-281-0/+6
|
* fix wordexp error handling, for invalid shell-like stap -c "command > file"Frank Ch. Eigler2008-10-151-0/+4
| | | | Reported-By: Wade Mealing <wmealing@redhat.com>
* Fix PR 6903 by checking for the real uid, not the euid.David Smith2008-09-181-0/+6
| | | | | | | | 2008-09-18 David Smith <dsmith@redhat.com> PR 6903. * staprun_funcs.c (check_permissions): Instead of checking the effective uid, check the real uid for root permissions.
* PR6445: documentation, mopping upFrank Ch. Eigler2008-09-061-0/+5
|
* remove capabilities logic, cont'dFrank Ch. Eigler2008-09-051-0/+8
|
* PR6736: changelogs for post-merge compiled unwind/symbols data reorganizationFrank Ch. Eigler2008-07-101-0/+9
|
* PR6429: remove stapio STP_UNWIND support and associated elfutils dependencyFrank Ch. Eigler2008-06-031-0/+5
|
* More signal cleanup.Martin Hunt2008-05-051-0/+2
|
* Fix problem handling SIG_CHLDMartin Hunt2008-05-051-0/+5
|
* Cleanup signal handling for staprun.Martin Hunt2008-05-051-0/+6
|
* PR6008: Increase the limitation of the buffer size to 4095MB.Masami Hiramatsu2008-04-301-0/+7
|
* PR5645: Fix sub-buffer size calculation and debug messages.Masami Hiramatsu2008-04-301-0/+5
|
* PR6451: avoid one class of staprun shutdown deadlock (module/.ctl filehandle ↵Frank Ch. Eigler2008-04-241-0/+6
| | | | = 0)
* Allow staprun to run on kernels without capabilities configured.Martin Hunt2008-04-221-0/+5
|
* Move send_request out of common.c because staprun no longer sends anything.Martin Hunt2008-04-221-0/+5
|
* Add documentation for staprun -d option.Martin Hunt2008-04-221-0/+4
|
* Change staprun to exec stapio. Add "-d" option to staprun.Martin Hunt2008-04-211-0/+12
|
* 2008-02-21 David Smith <dsmith@redhat.com>dsmith2008-02-211-2/+6
| | | | * staprun_funcs.c (check_path): Small security fix.
* 2008-01-21 Martin Hunt <hunt@redhat.com>hunt2008-01-211-0/+5
| | | | | * symbols.c (send_module): Simplify and use new send_data() function to keep longword alignment.
* PR4037 and fixes to better synchronize staprun and stapio.hunt2008-01-151-0/+22
|
* PR5603 hack for stack smashfche2008-01-121-0/+5
| | | | | | | 2008-01-12 Frank Ch. Eigler <fche@elastic.org> PR 5603 horrible hack. * symbols.c (do_kernel_symbols): Make buf[256] instead of [128].
* 2007-12-11 Martin Hunt <hunt@redhat.com>hunt2007-12-111-0/+6
| | | | | | | PR5368 * relay_old.c (init_oldrelayfs): Don't start threads if load_only. * relay.c (init_relayfs): Ditto.
* 2007-11-09 Martin Hunt <hunt@redhat.com>hunt2007-11-091-0/+5
| | | | | * mainloop.c (stp_main_loop): Bump recvbuf to 8196 for compatibility with old transport.
* 2007-10-26 Martin Hunt <hunt@redhat.com>hunt2007-10-261-0/+5
| | | | | | PR5218 * stapio.c (main): Set initialized properly when attached.
* 2007-10-12 Martin Hunt <hunt@redhat.com>hunt2007-10-121-0/+15
| | | | | | | | | | | | | | | | Changes to separate the symbols from the command channel. * cap.c (init_cap): Add CAP_DAC_OVERRIDE. * staprun.h: Change init_ctl_channel prototype. * ctl.c (init_ctl_channel): Modify to open either a command or symbol channel. Use ".cmd" and ".symbols" as the new names. * mainloop.c (init_stapio): Call init_ctl_channel(0); * staprun.c (cleanup): Call stop_symbol_thread(). (main): Call start_symbol_thread(). * staprun_funcs.c (handle_symbols): Make a thread. (start_symbol_thread): New. (stop_symbol_thread): New.
* * staprun error-check reordering for parseko/cmdline* testsfche2007-10-121-0/+5
| | | | | * staprun.c (main): Move checks for init_cap and getuid from just before command line argument parsing to just after.
* 2007-10-09 Martin Hunt <hunt@redhat.com>hunt2007-10-091-0/+7
| | | | | | | * common.c (set_clexec): New. * staprun.h: Add prototype for set_clexec. * relay*.c, ctl.c: Call set_clexec after file opens.
* 2007-09-14 Martin Hunt <hunt@redhat.com>hunt2007-09-141-0/+9
| | | | | | | | | * ctl.c (init_ctl_channel): Return 1 if the ctl file opened was for the old relayfs transport. * mainloop.c (init_stapio): Don't call using_old_transport(). Use the return of init_ctl_channel() instead. (using_old_transport): Deleted.
* 2007-08-31 Martin Hunt <hunt@redhat.com>hunt2007-08-311-0/+1
| | | | | | * mainloop.c (start_cmd): Set the priority to forked processes back to normal. (system_cmd): Ditto.
* 2007-08-31 Martin Hunt <hunt@redhat.com>hunt2007-08-311-0/+5
| | | | | * mainloop.c (start_cmd): Set the priority to forked processes back to normal.
* 2007-08-21 Martin Hunt <hunt@redhat.com>hunt2007-08-211-0/+5
| | | | | * mainloop.c (start_cmd): Send SIGINT to target_cmd, not stapio.
* 2007-08-20 David Smith <dsmith@redhat.com>dsmith2007-08-201-0/+6
| | | | | | From Lai Jiangshan <laijs@cn.fujitsu.com> * common.c (parse_args): Make sure the '-c' and '-x' options can't be specified together.
* 2007-08-15 David Smith <dsmith@redhat.com>dsmith2007-08-151-0/+4
| | | | * staprun.c (main): Quit if effective uid is not root.
* 2007-08-15 Martin Hunt <hunt@redhat.com>hunt2007-08-151-0/+5
| | | | | | PR4736 * staprun.c (cleanup): Set priority back to normal before removing module.
* 2007-08-15 Martin Hunt <hunt@redhat.com>hunt2007-08-151-0/+4
| | | | * stap_merge.tcl: New.
* 2007-08-14 David Smith <dsmith@redhat.com>dsmith2007-08-141-0/+76
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge from setuid-branch. Changes also by Martin Hunt <hunt@redhat.com>. * staprun.c (init_staprun): Drop CAP_SYS_ADMIN when we're done with it. (main): Calls parse_modpath instead of path_parse_modname. Just call parse_modpath with argv[optind]. Let it allocate and set modpath and modname. If no modulename was given, display usage and exit. Drop CAP_SYS_NICE when we're done with it. Set atexit(exit_cleanup) so cleanup always gets called and modules get removed. Call handle_symbols. (run_stapio): Set argv[0] to stapio so that it executes as itself instead of staprun. (cleanup): Only do cleanups once and only try to remove module when appropriate. (exit_cleanup): New. Calls cleanup(). (mountfs): Sets uid to root before making directory and then restores uid. (setup_ctl_channel): Uses DEBUGFS define and improved error message. (setup_relayfs): Ditto. (setup_oldrelayfs): Uses DEBUGFS and RELAYFS defines. (run_stp_check): Replaced by mountfs(). (mountfs): New function. Replaces an external script with C code. (init_staprun): Calls mountfs() instead of run_stp_check(). * staprun.h: Renamed path_parse_modname to parse_modpath. Added MODULE_NAME_LEN define. Added [_][p]err macros. Removed VERSION_CMD. * mainloop.c (cleanup_and_exit): Make sure initialized is 2 before exiting with code 2. (stp_main_loop): Set initialized to 2 when STP_TRANSPORT is received. Call cleanup_and_exit() with proper status. (start_cmd): exit 1 instead of -1. (system_cmd): Ditto. (init_staprun): Renamed init_stapio. (cleanup_and_exit): Set exit status. * cap.c: New file. * common.c: New file. * stapio.c: New file. * staprun_funcs.c: New file. * Makefile: Removed. * symbols.c (get_sections): Move the filter code up so that uninteresting section names are filtered out before attempting to open them. (do_kernel_symbols): Better detect overfow conditions and realloc new space. (do_module): After sending all modules, send a null message to indicate we are finished. * ctl.c (init_ctl_channel): When attempting to attach, if the control channel doesn't exist, print a better error message. * relay_old.c (init_oldrelayfs): Errors out if open_relayfs_files() couldn't open any files. PR 4795 * mainloop.c (send_request): Fixed buffer overflow check. * staprun.h: Added buffer overflow checking versions of strcpy/sprintf/snprintf. * common.c (path_parse_modname): Checks for overflows on strcpy/sprintf/snprintf. (read_buffer_info): Ditto. * ctl.c (init_ctl_channel): Ditto. * relay.c (init_relayfs): Ditto. * relay_old.c (open_relayfs_files): Ditto. (init_oldrelayfs): Ditto. * staprun_funcs.c (insert_module): Ditto. (check_path): Ditto. * symbols.c (get_sections): Ditto.
* 2007-07-09 David Smith <dsmith@redhat.com>dsmith2007-07-091-0/+5
| | | | | * relay.c (init_relayfs): Fixed a buffer size bug introduced by the last change.
* 2007-07-09 David Smith <dsmith@redhat.com>dsmith2007-07-091-0/+6
| | | | | | * relay.c (init_relayfs): Make sure buffers are big enough to hold a full path. * relay_old.c (init_oldrelayfs): Ditto.
* 2007-07-09 David Smith <dsmith@redhat.com>dsmith2007-07-091-0/+6
| | | | | | * ctl.c (read_buffer_info): Make sure buffer is big enough to hold a full path. (init_ctl_channel): Ditto.
* 2007-07-02 Martin Hunt <hunt@redhat.com>hunt2007-07-021-0/+5
| | | | | * symbols.c (get_sections): Set data pointer to the lowest address of any data section.
* 2007-06-21 Martin Hunt <hunt@redhat.com>hunt2007-06-211-0/+4
| | | | * relay.c (init_relayfs): Send message to check for bulkmode.
* 2007-06-20 Martin Hunt <hunt@redhat.com>hunt2007-06-201-0/+6
| | | | | | * stap_merge.c (main): Add verbose option. Will realloc buffer if current size is too small. Check return codes from writes so gcc won't complain.