summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * Define IRQF_ONESHOT for older kernels.Mark Wielaard2009-11-161-0/+3
| | | | | | | | | | | | | | IRQF_ONESHOT was only introduced in 2.6.32. It doesn't hurt defining it if it isn't already there. It will just never show up on older kernels. * tapset/aux_syscalls.stp: Define IRQF_ONESHOT if not already defined.
| * add definition of function irqflags_str()Prerna Saxena2009-11-161-0/+27
| |
| * Regen indexes for interrupts-by-dev exampleJosh Stone2009-11-134-0/+20
| |
| * Delete test commit fileJosh Stone2009-11-131-1/+0
| |
| * Turn ctime.stp documentation into proper Tapset Reference markup.Mark Wielaard2009-11-132-12/+25
| | | | | | | | | | * doc/SystemTap_Tapset_Reference/tapsets.tmpl: Add chapter on ctime.stp. * tapset/ctime.stp: Turn documentation into proper reference markup.
| * Accept relative user module paths for -d.Mark Wielaard2009-11-131-5/+13
| | | | | | | | | | | | | | | | | | | | | | | | When using relative (non-canonical) paths for user modules one would get a confusing WARNING: missing unwind/symbol data for module 'bin/test'. Also unless the path started with '/' the task_finder wouldn't start. By checking that the given file can be made absolute (canonicalized) both issues are resolved and the user module will be correctly identified at both translation and runtime. * main.cxx (main): case 'd' try canonicalize_file_name() the argument first to identify user modules.
| * Adding a new .meta file to run interrupts-by-dev.stp in testPrerna Saxena2009-11-131-0/+14
| |
* | Ensure uprobes/Makefile never returns failure due to setting permissions.Dave Brolley2009-11-2314-4966/+3782
| | | | | | | | | | Ensure uprobes install directory has group 'stap-server'. Rename igid_in to in_group.
* | Rework setting of group and permissions on generated files and directories.Dave Brolley2009-11-231-8/+21
| |
* | Make built files and directories writeable by the stap-server group ↵Dave Brolley2009-11-231-4/+6
| | | | | | | | individually.
* | Only attempt to change the group permissions of built items if we are root.Dave Brolley2009-11-201-3/+6
| |
* | Allow members of the group stap-server to build the uprobes module.Dave Brolley2009-11-204-10/+62
| |
* | Ensure that server status files are written by the initscript, not ↵Dave Brolley2009-11-201-1/+1
| | | | | | | | stap-start-server.
* | Report correct status when a server fails to start.Dave Brolley2009-11-201-3/+5
| |
* | Fix typo on command to create /usr/share/systemtap/runtime/uprobes.Dave Brolley2009-11-201-1/+1
| |
* | PR 10905 - Ensure that /usr/share/systemtap/runtime/uprobes is writeable by theDave Brolley2009-11-201-0/+5
|/ | | | stap-server group.
* Merge branch 'master' of ssh://sources.redhat.com/git/systemtapDave Brolley2009-11-123-8/+190
|\
| * Add documentation for conversions.stp tapset functions.Mark Wielaard2009-11-122-7/+188
| | | | | | | | | | * doc/SystemTap_Tapset_Reference/tapsets.tmpl: Add conversions.stp chapter. * tapset/conversions.stp: Add documentation for all functions.
| * Mark usymname as unprivileged.Mark Wielaard2009-11-121-1/+2
| | | | | | | | | | * tapset/ucontext-symbols.stp (usymname): Add assert_is_myproc() and mark as unprivileged, just like usymdata().
* | Sign uprobes.ko with the builder's certificate.Dave Brolley2009-11-123-452/+27
|/ | | | Delete ownership & permissions tests from modsign.cxx and stap-serverd.
* Relax restrictions on ownership and access permissions of signer's cert ↵Dave Brolley2009-11-122-0/+8
| | | | database.
* PR6979: fix loc2c handling of second and later piecesRoland McGrath2009-11-111-29/+39
| | | | * loc2c.c (translate): Reset stack state tracking after finishing each piece.
* build: quiet down xmlto tests and runsFrank Ch. Eigler2009-11-114-8/+8
| | | | | * configure.ac (xmlto --stringparam check): Add >&/dev/null. * doc/*/Makefile.am (xmlto runs): Ditto.
* A very simple patch that fix the networking tapset documentation.Breno Leitao2009-11-111-1/+1
| | | | | It references the file include/linux/if_ether.h as the one that contains the protocol numbers and types.
* PR5916: Exploit kretprobe data storage areaJosh Stone2009-11-105-27/+291
| | | | | | | | | | | | | | | | | | | | Since 2.6.25, kretprobes can carry a data packet to be filled in an entry_handler. This patch lets us store our implicitly-saved $target variables in .return probes in that data area. * tapset/kretprobe.stp: New get/set functions for kretprobe data. * translate.cxx (c_unparser::emit_common_header): Add context->pi_longs. * tapsets.cxx (dwarf_var_expanding_visitor::visit_target_symbol_saved_return): Switch between the old and new methods of saving $vars in .return probes. (dwarf_var_expanding_visitor::gen_mapped_saved_return): The old way. (dwarf_var_expanding_visitor::gen_kretprobe_saved_return): The new way. (dwarf_derived_probe::join_group): Don't register paired entry-handlers. (dwarf_derived_probe::dwarf_derived_probe): Remember saved-var details. (dwarf_derived_probe_group::emit_module_decls): Output saved-var details. Also split the kretprobe handler whether we're on entry or return. (dwarf_derived_probe_group::emit_module_init): Prepare the entry handler. * testsuite/systemtap.base/kretprobe-vars.stp: Test implicit $var saving.
* Merge branch 'master' of ssh://sources.redhat.com/git/systemtapDave Brolley2009-11-109-40/+29
|\
| * PR10877: Fix coveragedb.cxx to account for new components/token structureCharley Wang2009-11-101-4/+4
| |
| * PR10927: undocument nonexistent do/while constructFrank Ch. Eigler2009-11-101-10/+0
| |
| * PR10877: Give token* to each component instead of each probe_pointCharley Wang2009-11-107-26/+25
| |
* | Use 'module_realpath' instead of overwriting 'path' in insert_module.Dave Brolley2009-11-101-18/+14
|/ | | | Update comments to clearly explain the security issues involved.
* Replace the use of the global variable 'modpath' in diagnosticDave Brolley2009-11-103-10/+14
| | | | | | | | messages within verify_it with the use of a 'module_name' parameter passed in. Add a comment in insert_module explaining why it's ok to overwrite the 'path' parameter with the canonicalized path.
* Merge branch 'master' of ssh://sources.redhat.com/git/systemtapDave Brolley2009-11-1012-3920/+5014
|\
| * Add blank lines for formatting stapprobes.irqJosh Stone2009-11-101-0/+46
| | | | | | | | The line spacing is significant to the way the output is rendered.
| * Fix stapprobes.irq title and add to install listJosh Stone2009-11-1011-3765/+4968
| | | | | | | | (And incidentally re-enable quiet builds at the same time...)
| * Only .3stap.in files should be committedJosh Stone2009-11-101-155/+0
| |
* | Merge branch 'master' of ssh://sources.redhat.com/git/systemtapDave Brolley2009-11-099-152/+702
|\|
| * Normalized whitespace and comments.David Smith2009-11-091-146/+153
| |
| * IRQ tapset, sample script, testsuite, man page updates, etcPrerna Saxena2009-11-095-0/+520
| |
| * PR10923 Handle AT_frame_base given by DW_OP_call_frame_cfa in .debug_frame.Mark Wielaard2009-11-081-2/+2
| | | | | | | | | | | | | | | | dwarf_cfi_addrframe should not be called with pc adjusted to the bias of the dwfl_module_dwarf_cfi or dwfl_module_eh_cfi. This just happened to work in the .eh_frame case because bias was always zero. * dwflpp.cxx (get_cfa_ops): Don't adjust pc for bias.
| * Fix a comment typoJosh Stone2009-11-061-1/+1
| |
| * expand comment on has_return=0 treatment of -L foo.return probesFrank Ch. Eigler2009-11-061-3/+7
| |
| * Constrain $var-checking for -L of .return probesJosh Stone2009-11-061-10/+10
| | | | | | | | | | | | | | | | | | Normally, using a $var in a return probe create a matching entry probe to save the value. We don't want all this machinery though when we're just checking the accessibility of a $var for -L mode. * tapsets.cxx (dwarf_derived_probe::saveargs): Save/restore has_return while the $var accesses are attempted.
| * PR10849: Support MAXSKIPPED handling on RHEL4 through implementation of ↵Roland Grunberg2009-11-062-2/+13
| | | | | | | | atomic_cmpxchg
| * PR10820-cont': initialize the fields of empty tokenWenji Huang2009-11-061-0/+8
| | | | | | | | * tapsets.cxx (dwarf_derived_probe::saveargs): fill fields.
* | Don't reference global variable modpath in insert_module and its helpers.Dave Brolley2009-11-095-36/+118
|/ | | | | | | | | | | This allows insert_module to to be used for loading the signed uprobes.ko module. Allow the use of $$parms and $$return in uprobes based probes for unprivileged users. Re-add management of module signatures in the cache. Don't know why it was removed.
* Revert change which loads uprobes.ko using insert_module.Dave Brolley2009-11-051-3/+5
|
* Merge branch 'master' of ssh://sources.redhat.com/git/systemtapDave Brolley2009-11-054-29/+51
|\
| * PR10466: print the set-intersection of variables retrieved from each branchWenji Huang2009-11-044-29/+51
| | | | | | | | | | | | | | * elaborate.h: Remove printargs and add getargs. * tapset-mark.cxx (mark_derived_probe): Ditto. * tapsets.cxx (dwarf_derived_probe,tracepoint_derived_probe): Ditto. * main.cxx (printscript): Make intersection before printing.
* | Revert previous change re: home directory og stap-server. Ensure it has 755 ↵Dave Brolley2009-11-051-2/+1
| | | | | | | | privileges.
* | PR 9973: Sign uprobes.ko when it is created and load it using insert_module.Dave Brolley2009-11-056-80/+99
|/ | | | Create home directory manually for stap-server.