Package: systemtap / 1.7-1+deb7u1

Metadata

Package Version Patches format
systemtap 1.7-1+deb7u1 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
debversion.diff | (download)

git_version.sh | 3 3 + 0 - 0 !
1 file changed, 3 insertions(+)

 make sure debian version is visible in e.g. "stap -v"
manpage syntax1.diff | (download)

stap-server.8 | 4 2 + 2 - 0 !
stap.1 | 6 3 + 3 - 0 !
stappaths.7.in | 2 1 + 1 - 0 !
3 files changed, 6 insertions(+), 6 deletions(-)

 [patch 3/3] properly quote minus sign in man pages


spelling fixes1.diff | (download)

README.unprivileged | 10 5 + 5 - 0 !
1 file changed, 5 insertions(+), 5 deletions(-)

 [patch 1/3] fix spelling errors


spelling fixes2.diff | (download)

buildrun.cxx | 2 1 + 1 - 0 !
install-sh | 4 2 + 2 - 0 !
parse.cxx | 2 1 + 1 - 0 !
runtime/staprun/modverify.c | 4 2 + 2 - 0 !
runtime/transport/ring_buffer.c | 2 1 + 1 - 0 !
runtime/uprobes-common.c | 8 4 + 4 - 0 !
runtime/uprobes/Makefile | 2 1 + 1 - 0 !
tapset/errno.stp | 2 1 + 1 - 0 !
tapset/nfs_proc.stp | 2 1 + 1 - 0 !
tapset/nfsd.stp | 2 1 + 1 - 0 !
tapset/speculative.stp | 2 1 + 1 - 0 !
tapset/stap_staticmarkers.stp | 2 1 + 1 - 0 !
tapset/tcpmib.stp | 2 1 + 1 - 0 !
tapsets.cxx | 2 1 + 1 - 0 !
testsuite/systemtap.examples/network/tcpipstat.stp | 2 1 + 1 - 0 !
15 files changed, 20 insertions(+), 20 deletions(-)

 [patch 2/3] fix more spelling errors


manpage paths1.diff | (download)

stappaths.7.in | 18 9 + 9 - 0 !
1 file changed, 9 insertions(+), 9 deletions(-)

 [patch] update stappaths paths to reflect reality a bit better


fix.CVE 2012 0875.diff | (download)

runtime/unwind.c | 32 25 + 7 - 0 !
1 file changed, 25 insertions(+), 7 deletions(-)

 [patch] pr13714 - make sure reg_state.cfa_is_expr is always set correctly.

runtime/unwind.c (processCFI): Always set REG_STATE.cfa_is_expr and
add new sanity checks to make sure the cfa definition rules are sane.

Since the cfa expr pointer and cfa register/offset rule shared a union
not setting REG_STATE.cfa_is_expr could result in compute_expr ()
wrongly being called and using the register/offset as expr pointer.

PR14245 support sys kernel debug mounted 0700.patch | (download)

runtime/staprun/common.c | 12 11 + 1 - 0 !
runtime/staprun/ctl.c | 45 43 + 2 - 0 !
runtime/staprun/relay.c | 14 10 + 4 - 0 !
runtime/staprun/staprun.c | 30 30 + 0 - 0 !
runtime/staprun/staprun.h | 1 1 + 0 - 0 !
runtime/staprun/staprun_funcs.c | 1 1 + 0 - 0 !
6 files changed, 96 insertions(+), 7 deletions(-)

 [patch] pr14245: support /sys/kernel/debug mounted 0700

This is done by staprun passing a file descriptor for the
/sys/kernel/debug/systemtap/stap_MODULE directory from staprun
(running setuid) to stapio (running unprivileged, previously unable to
traverse to that path itself). This FD passing is done with a new
option -F<fd> for stapio (though by accident staprun also accepts (and
rejects) this option).

Since openat(2) is relatively recent, autoconf macros are used to back
down to graceful failure on older kernels, and to hide the new code.
New staprun always uses -F<fd> to stapio, even if permissions on
/sys/kernel/debug do not require it.

* staprun/common.c (relay_basedir_fd): New variable.
  (parse_args): Parse new -F: option.
  (usage): Document it.
* staprun/staprun.h: Corresponding changes.
* staprun/ctl.c (init_ctl_channel): Reorganize to try an incoming
  relay_basedir_fd first (with a faccessat cross-user check) first.
  Try to compute a relay_basedir_fd if not already set.
* staprun/mainloop.c (read_buffer_info): Note ignoring of this PR facility on
  RHEL4-era old_transport.
* staprun/relayfs.c (init_relayfs): Attempt to open relay_fd[] using
  relay_basedir_fd if specified.
* staprun/stapio.c: Top secret.
* staprun/staprun.c (main): Don't allow staprun itself to take -F, for it
  could be misused by a very bad person (tm).  However, arrange to pass
  it to stapio, if we have incidentally discovered a good relay_basedir_fd.
* staprun/staprun_funcs.c (mountfs): Drop access_debugfs() check at this
  point, as init_ctl_channel() will do the check later.