summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 2009-04-02 Dave Brolley <brolley@redhat.com>Dave Brolley2009-04-025-23/+76
| | | | | | | | | | | | | | | | * stap-serverd (initialization): Create client certificate database if it does not exist. * stap-server (call_stap): Don't pass --sign-module to stap. * session.h (unprivileged): New member of systemtap_session. * modsign.cxx (init_cert_db_path, check_cert_db_path): New functions. (sign_module): Call check_cert_db_path. * main.cxx (usage): Document --signing-cert and --unprivileged. (runner): Set default signing certificate path. Initialize s.unprivileged. (LONG_OPT_SIGN_MODULE): Renamed to LONG_OPT_SIGNING_CERT. (LONG_OPT_UNPRIVILEGED): #define it. (long_options): Add --signing-cert and --unprivileged. (runner): Allow multiple --signing-cert options. Use the last specified. Don't reset unless the new setting is valid. Handle LONG_OPT_UNPRIVILEGED.
* Merge branch 'master' of git://sources.redhat.com/git/systemtapDave Brolley2009-04-015-1/+700
|\
| * PR4105: support up to 9 (up from 5) array index dimensionsFrank Ch. Eigler2009-04-014-0/+697
| | | | | | | | | | | | | | | | * runtime/map-gen.c, pmap-gen.c: Hand-expand arity 6..9 cases throughout. * testsuite/buildok/thirty.stp: New test. * testsuite/buildko/two.stp: New test. An Alan Smithee patch.
| * semok/badvar.stp test: add stap -p2 as for other semok testsFrank Ch. Eigler2009-04-011-1/+3
| |
* | Merge branch 'master' of git://sources.redhat.com/git/systemtapDave Brolley2009-03-3110-25/+184
|\|
| * Customize .mark -l output.Stan Cox2009-03-312-7/+46
| | | | | | | | | | | | * tapsets.cxx (dwarf_builder::build): Add .mark name wildcard check. Customize -l handling. * testsuite/systemtap.base/static_uprobes.exp: Test .mark name wildcard.
| * Add fake Systemtap Hackers author to tapset reference manual template.Mark Wielaard2009-03-311-0/+8
| | | | | | | | * doc/SystemTap_Tapset_Reference/tapsets.tmpl: Add authorblock.
| * Add missing socket function argument descriptions.Mark Wielaard2009-03-311-0/+6
| | | | | | | | * tapsets/socket.stp: Add descriptions for proto, family and state.
| * PR10016: Run stap in its own process group with waiter process for signals.Mark Wielaard2009-03-311-2/+56
| | | | | | | | | | | | | | * main.cxx (runner): New main function. (waiter_handler): Signal handler for waiter process. (waiter): Waiter process waitpid function. (main): Fork and run wait and runner in their own processes.
| * PR9998: new config and test filesWenji Huang2009-03-303-0/+27
| | | | | | | | | | | | * runtime/autoconf-x86-gs.c : New file. * testsuite/systemtap.base/x86_gs.exp : New test case. * testsuite/systemtap.base/x86_gs.stp : Ditto.
| * PR9998: adapt tapset/i686/registers.stp to latest kernelWenji Huang2009-03-302-18/+33
| | | | | | | | | | | | | | | | | | * buildrun.cxx (compile_pass): Add autoconf-x86-gs.c. * tapset/i686/registers.stp (_stp_register_regs): Update offsets. (test_x86_gs): Auxiliary function. * runtime/autoconf-x86-gs.c : New file. * testsuite/systemtap.base/x86_gs.exp : New test case. * testsuite/systemtap.base/x86_gs.stp : Ditto.
| * PR10016: systemtap kills all processes in process group on signal.Mark Wielaard2009-03-301-0/+10
| | | | | | | | * main.cxx (main): Make sure we run in our own process group.
* | Merge branch 'master' of git://sources.redhat.com/git/systemtapDave Brolley2009-03-3025-112/+733
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: aclocal.m4 configure testsuite/aclocal.m4 Also: 2009-03-30 Dave Brolley <brolley@redhat.com> * nsscommon.c (nssError): Handle SEC_ERROR_BAD_SIGNATURE. 2009-03-30 Dave Brolley <brolley@redhat.com> * modverify.c (verify_it): Print a message if the module may have been tampered with.
| * Test marker probe parameter types.Stan Cox2009-03-303-25/+561
| | | | | | | | | | | | * testsuite/systemtap.base/sdt_types.c: New file. * testsuite/systemtap.base/sdt_types.stp: New file. * testsuite/systemtap.base/static_uprobes.exp: Use sdt_types for type testing.
| * prefer using /usr/bin/lsb_release to deduce distribution for testsuiteFrank Ch. Eigler2009-03-291-3/+9
| |
| * tweak "Distro:" line generation in testsuite logs, to moot ↵Frank Ch. Eigler2009-03-291-4/+3
| | | | | | | | "oracle-enterprise.patch"
| * hand-regen configure after commit 99c0acad yxmlto->xmlto typo fixFrank Ch. Eigler2009-03-291-2/+2
| |
| * Add headerEugeniy Meshcheryakov2009-03-281-0/+2
| |
| * Fix typo s/yxmlto/xmlto/Eugeniy Meshcheryakov2009-03-281-1/+1
| |
| * PR7045: on 64-bit kernels, allow 32-bit userspace to be pass elf validationFrank Ch. Eigler2009-03-271-10/+24
| | | | | | | | * tapsets.cxx (validate_elf): Reorganize glob matching for x86 and ppc.
| * Don't do beginning of statement check for .mark probesStan Cox2009-03-271-3/+7
| | | | | | | | | | | | * tapsets.cxx (dwarf_query): Add has_mark. (query_cu): Use for beginning of statement check. (dwarf_builder::build): Set has_mark.
| * Version bumps for 0.9.5 releaseJosh Stone2009-03-2712-2399/+2827
| |
| * PR6819: clarify syntactic vs. semantic probe point validityFrank Ch. Eigler2009-03-271-3/+8
| |
| * initialize skip_badvars=0. rererenag developers in session.h to do so in ↵Frank Ch. Eigler2009-03-272-4/+22
| | | | | | | | the future
| * PR10000: emit _stp_relocate* calculations correctly for kernel/module global ↵Frank Ch. Eigler2009-03-273-9/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | $data * translate.cxx (dump_unwindsyms): Also emit STT_OBJECT symbols, therefore .data etc. sections into stap-symbols.h. * tapsets.cxx (iterate_over_modules): Omit a dwfl_getmodules() RC-checking assertion that blocked meaningful $context var error messages. (dwflpp::emit_address): Bypass dwfl_module_relocate_address() for kernel symbols as it has been unreliable; subtract sess.sym_stext manually. * testsuite/buildok/seventeen.stp: Extend test with module $global.
| * .gitignore: Add testsuite exe and so files and initscript systemtap.Mark Wielaard2009-03-272-0/+4
| |
| * Add manual for pid-based lookup functionsWenji Huang2009-03-261-0/+8
| | | | | | | | | | * stapfuncs.3stap.in: Add description for pid2task and pid2execname.
| * Skip the git-rev in the hash for now (from a5e8d632)Josh Stone2009-03-261-1/+4
| | | | | | | | | | | | It may be potentially expensive to fork-exec a git call to get the HEAD revision, and it's not clear whether it's even needed. We can always throw this back on if we find a meaningful usage scenario.
| * PR10001: Use the kernel's strlcpy & strlcatJosh Stone2009-03-261-16/+5
| | | | | | | | | | | | We had our own implementations of these which were triggering gcc bug38480 in some particular cases. It's easier for us to use the kernel's strlcpy and strlcat anyway, which avoids the bug.
| * .gitignore: Replace .5 with .3stap.Mark Wielaard2009-03-261-1/+2
| |
* | Merge branch 'master' of git://sources.redhat.com/git/systemtapDave Brolley2009-03-266-15/+71
|\|
| * Add the kernel tree's git revision to the hashJosh Stone2009-03-253-0/+32
| | | | | | | | | | To better support kernel developers who work out of a single source tree, this adds the git HEAD revision to our caching hash.
| * Add more file stats to the hashJosh Stone2009-03-252-14/+25
| | | | | | | | | | | | | | | | | | | | For kernel developers, it may be common practice to reuse the same kernel build tree for several kernel variants. Our previous hashing only considered the release version, architecture, and build path, which may all remain constant for such a developer. This change adds the file size and mtime of several kernel version files to the hash, so it should be a bit more robust against collisions.
| * Make aux_tapset.stp "long long" size agnostic so ia64 works.William Cohen2009-03-251-1/+2
| |
| * NEWS: Mention disable-pie, sdt.h compat, syscall wrappers and CVE-2009-0784.Mark Wielaard2009-03-251-0/+12
| |
* | Merge branch 'master' of git://sources.redhat.com/git/systemtapDave Brolley2009-03-2543-324/+551
|\| | | | | | | | | | | Conflicts: Makefile.in
| * Fix for CVE-2009-0784: stapusr module-path checking raceFrank Ch. Eigler2009-03-251-0/+9
| | | | | | | | | | * runtime/staprun/staprun_funcs.c (check_path): Save fully canonicalized and checked module path for later loading.
| * Update configure --help message now that default is changedRajan Arora2009-03-252-2/+2
| | | | | | | | | | *configure.ac: Update help message for building with pie support. *configure: Regenerate.
| * NEWS: Document mark/trace list mode, interrupt reentrancy, reentrancy debug.Mark Wielaard2009-03-251-0/+12
| |
| * NEWS: Fix man 3stap description to original.Mark Wielaard2009-03-251-6/+5
| |
| * NEWS: Add description of probe process().insn and process().insn.block.Mark Wielaard2009-03-251-0/+9
| |
| * NEWS: Document how to see man pages for probes and functions in 3stap section.Mark Wielaard2009-03-251-2/+5
| |
| * PR 9922 fix, make --disable-pie the configure defaultRajan Arora2009-03-243-3/+12
| | | | | | | | | | | | | | *configure.ac: Change the default to compiling without fPIE. *systemtap.spec: Add --enable-pie as the default option (set pie_supported to 1). *configure: Regenerated with autoconf 2.61.
| * brown paper bag fix for commit 5d6b0142Frank Ch. Eigler2009-03-241-2/+2
| | | | | | | | return != break
| * Typo and whitespace.Roland McGrath2009-03-241-33/+33
| |
| * further accelerate pass-3 symbol/unwind process, skip one more iterationFrank Ch. Eigler2009-03-241-2/+4
| |
| * Add testcase for uprobe on shared library (PR9940).Mark Wielaard2009-03-244-0/+94
| | | | | | | | | | | | | | * testsuite/systemtap.base/uprobes_exe.c: New file. * testsuite/systemtap.base/uprobes_lib.c: New file. * testsuite/systemtap.base/uprobes_lib.exp: New file. * testsuite/systemtap.base/uprobes_lib.stp: New file.
| * Remove debugging line.Stan Cox2009-03-244-22/+35
| |\ | | | | | | | | | * dtrace: Remove debugging line.
| | * Revert "PR9940: avoid duplicated calling of uprobes in shared libraries"Frank Ch. Eigler2009-03-241-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fix caused a regression on fedora. stap -ve 'probe process("/bin/ls").function("main") { log(pp()); } probe process("/lib64/libc.so.6").function("*") { log(pp()); }' \ -c /bin/ls hung (with stapio & ls processes spinning) upon startup.
| | * itrace: zap "usr_itrace_init: completed for tid = NNNN" debug messageFrank Ch. Eigler2009-03-241-1/+2
| | |