Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Restore staprun's support for REAL_UID/GID | Josh Stone | 2009-05-22 | 1 | -1/+14 |
| | | | | | This is needed for run-stap so that stapio and all child processes can run as the originally invoking user instead of root. | ||||
* | Problems using server scripts when not on PATH. | Dave Brolley | 2009-05-06 | 1 | -1/+1 |
| | | | | HAVE_NSS related compile time warning. | ||||
* | Add Vim modelines for new C/C++ sources | Josh Stone | 2009-05-05 | 2 | -0/+3 |
| | |||||
* | Module signing and verification using a separate file for the module signature. | Dave Brolley | 2009-05-04 | 4 | -69/+532 |
| | |||||
* | PR 9821: Use genuine strftime in staprun/stapio | Masami Hiramatsu | 2009-04-22 | 1 | -105/+7 |
| | | | | | | | | | | * Makefile.am: Add -fno-builtin-strftime to stapio_CFLAGS. * Makefile.in: Ditto. * runtime/staprun/common.c (stap_strfloctime): Use strftime(3). (parse_args): Remove strftime format limitation message. * main.cxx (usage): Ditto. * stap.1.in: Ditto. * staprun.8.in: Ditto. | ||||
* | PR10032: Trigger cleanup after relay thread errors | Josh Stone | 2009-04-03 | 2 | -10/+25 |
| | | | | | | When the relay threads encounter an error, they now send SIGTERM to the rest of the process before the thread exit, so we get a clean shutdown. For EPIPE in particular, error messages are also suppressed. | ||||
* | Really fix run-stap this time, I promise! | Josh Stone | 2009-04-02 | 1 | -1/+14 |
| | |||||
* | Fix strftime format bug | Masami Hiramatsu | 2009-04-02 | 1 | -3/+6 |
| | | | | | This fixes bugs in strftime-subset function. This modifies %C, %l and %j to fit the output of date command. | ||||
* | Fix a bug in file size limitation code. | Masami Hiramatsu | 2009-04-02 | 2 | -3/+3 |
| | | | | | | | | | This fixes a bug in stapio, which checks written data size and switches new file when it exceeds a limit. The problem is that written-data-size counter ignores the first written-data size when switching files. So, actual file size always exceeds the limit. This changes stapio to initialize written-data-size counter with the size of the data which will be written in new file. | ||||
* | Fix for CVE-2009-0784: stapusr module-path checking race | Frank Ch. Eigler | 2009-03-25 | 1 | -0/+9 |
| | | | | | * runtime/staprun/staprun_funcs.c (check_path): Save fully canonicalized and checked module path for later loading. | ||||
* | PR9821: staprun supports subset of strftime. | Masami Hiramatsu | 2009-03-20 | 4 | -32/+232 |
| | | | | | Add strftime subset format support for output file name to systemtap. This format will be evaluated when opening a new output file. | ||||
* | PR6930: stapio: support file switching | Masami Hiramatsu | 2009-03-20 | 5 | -17/+195 |
| | | | | | | | | | | | | | | | Add file-switching option(-S size[,N]) to stapio. This option has two arguments, 'size' and 'N', and requires -o option. - When the size of output file exceeds specified 'size'MB, staprun switches output file to the next file. For this purpose, all output file has a serial number as a suffix only when user specifies this option. - Using this option in bulk mode, the output file name will be 'FILE_cpuX.SERIAL'. - When the number of files exceeds specified N, staprun removes the oldest file. This argument can be omitted. | ||||
* | PR6930: stapio: run in background as a daemon | Masami Hiramatsu | 2009-03-20 | 3 | -4/+84 |
| | | | | | | | Add '-D'(daemon mode) option to staprun/stapio for daemon mode. In this mode, stapio shows just its pid and detachs from console. Since it has no stdio, this mode requires -o option. stapio will exit when it receives SIGTERM or detects some error. | ||||
* | PR6930: staprun: supports error message to syslog | Masami Hiramatsu | 2009-03-20 | 3 | -8/+33 |
| | | | | | Add an interface (eprintf) to output error messages to syslogd, because staprun has no stderr after detaching from console. | ||||
* | PR9947: move runtime cleanup out of the work queue | Josh Stone | 2009-03-13 | 1 | -0/+8 |
| | | | | | | | | | | | | The kernel lockdep checking found a possible deadlock if a forced rmmod tried to destroy _stp_work_queue at the same time that the work queue was unregistering tracepoints. An unlikely scenario, but still possible. Now the work queue will just issue a STP_REQUEST_EXIT down to usermode, and usermode will echo back an STP_EXIT that triggers the actual probe cleanup. This way the unregistrations are happening in exactly the same context as the registrations were. | ||||
* | Kill all ChangeLogs | Josh Stone | 2009-02-19 | 1 | -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 Smith | 2009-01-28 | 2 | -0/+53 |
| | | | | | | 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 Wielaard | 2009-01-11 | 2 | -0/+7 |
| | |||||
* | PR7082: support non-setuid use of $SYSTEMTAP_RUNTIME to find uprobes.ko | Frank Ch. Eigler | 2008-12-09 | 2 | -4/+17 |
| | |||||
* | PR7063: honor SYSTEMTAP_STAPRUN and SYSTEMTAP_STAPIO environment variables | Roland McGrath | 2008-12-03 | 3 | -53/+77 |
| | |||||
* | PR6925: tolerate modules left over from previous crashed? stap sessions | Frank Ch. Eigler | 2008-12-03 | 2 | -2/+18 |
| | |||||
* | PR4783: remove traces of stap{run,io} self-renicing | Frank Ch. Eigler | 2008-11-28 | 3 | -6/+7 |
| | |||||
* | PR6964: configurably revert to signal-based "stap -c CMD" startup ↵ | Frank Ch. Eigler | 2008-11-12 | 2 | -29/+69 |
| | | | | synchronization | ||||
* | PR6964: temporary workaround for fedora utrace kernel bug 467568 | Wenji Huang | 2008-10-28 | 2 | -0/+25 |
| | |||||
* | BZ467652: support old-style stap -c "FOO > BAR" usage by backing down to ↵ | Frank Ch. Eigler | 2008-10-23 | 1 | -7/+27 |
| | | | | sh -c if needed. | ||||
* | fix wordexp error handling, for invalid shell-like stap -c "command > file" | Frank Ch. Eigler | 2008-10-15 | 2 | -3/+13 |
| | | | | Reported-By: Wade Mealing <wmealing@redhat.com> | ||||
* | PR4886: check build-id if able. | Wenji Huang | 2008-10-06 | 1 | -0/+5 |
| | | | | This provides sanity check of debuginfo file based on build-id. Many cases are considered, whether build-id exists in debuginfo file or not, whether module is loaded or not, whether build-id exists in runtime kernel/module. It will do work when LD >= 2.18 and kernel >=2.6.23, otherwise no check. | ||||
* | Fix PR 6903 by checking for the real uid, not the euid. | David Smith | 2008-09-18 | 2 | -1/+7 |
| | | | | | | | | 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 up | Frank Ch. Eigler | 2008-09-06 | 1 | -0/+5 |
| | |||||
* | "stap -c" cleanup part 2 - use wordexp / execvp instead of "sh -c" to ↵ | Frank Ch. Eigler | 2008-09-06 | 1 | -28/+30 |
| | | | | execute cmd string | ||||
* | task_finder <-> target_pid coupling; staprun/target_cmd fork under ptrace ↵ | Frank Ch. Eigler | 2008-09-05 | 1 | -298/+328 |
| | | | | control | ||||
* | remove capabilities logic, cont'd | Frank Ch. Eigler | 2008-09-05 | 4 | -91/+73 |
| | |||||
* | remove capability logic | Frank Ch. Eigler | 2008-09-05 | 1 | -166/+0 |
| | | | | | It was only barely beneficial anyway, since some crucial capabilities were never permanently dropped. | ||||
* | PR6736: changelogs for post-merge compiled unwind/symbols data reorganization | Frank Ch. Eigler | 2008-07-10 | 1 | -0/+9 |
| | |||||
* | pass /sys/module/*/sections/* addresses to the kernel module too | Frank Ch. Eigler | 2008-07-07 | 1 | -7/+83 |
| | |||||
* | emit all symbol tables at compile time; don't do any module munging; new ↵ | Frank Ch. Eigler | 2008-07-04 | 1 | -1/+2 |
| | | | | unwinder still disabled | ||||
* | transport/symbol rework: kernel-only probes working | Frank Ch. Eigler | 2008-06-29 | 3 | -4/+14 |
| | |||||
* | STP_RELOCATE message for kernel relocatability (re)adaption, starting ↵ | Frank Ch. Eigler | 2008-06-29 | 4 | -23/+128 |
| | | | | implementation | ||||
* | PR6429: remove unused file | Frank Ch. Eigler | 2008-06-03 | 1 | -97/+0 |
| | |||||
* | PR6429: remove stapio STP_UNWIND support and associated elfutils dependency | Frank Ch. Eigler | 2008-06-03 | 2 | -12/+5 |
| | |||||
* | More signal cleanup. | Martin Hunt | 2008-05-05 | 2 | -9/+6 |
| | |||||
* | Fix problem handling SIG_CHLD | Martin Hunt | 2008-05-05 | 2 | -2/+19 |
| | |||||
* | Cleanup signal handling for staprun. | Martin Hunt | 2008-05-05 | 2 | -46/+77 |
| | |||||
* | PR6008: Increase the limitation of the buffer size to 4095MB. | Masami Hiramatsu | 2008-04-30 | 2 | -3/+10 |
| | |||||
* | PR5645: Fix sub-buffer size calculation and debug messages. | Masami Hiramatsu | 2008-04-30 | 3 | -2/+7 |
| | |||||
* | PR6451: avoid one class of staprun shutdown deadlock (module/.ctl filehandle ↵ | Frank Ch. Eigler | 2008-04-24 | 3 | -3/+9 |
| | | | | = 0) | ||||
* | Allow staprun to run on kernels without capabilities configured. | Martin Hunt | 2008-04-22 | 5 | -40/+52 |
| | |||||
* | Move send_request out of common.c because staprun no longer sends anything. | Martin Hunt | 2008-04-22 | 4 | -27/+32 |
| | |||||
* | Add documentation for staprun -d option. | Martin Hunt | 2008-04-22 | 2 | -0/+7 |
| | |||||
* | Change staprun to exec stapio. Add "-d" option to staprun. | Martin Hunt | 2008-04-21 | 9 | -486/+153 |
| |