summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.base/gtod.c
diff options
context:
space:
mode:
authorJosh Stone <jistone@redhat.com>2009-10-21 19:27:17 -0700
committerJosh Stone <jistone@redhat.com>2009-10-21 19:27:17 -0700
commit991bd3ba708b467a6b1de0788e0e1e558a087b0d (patch)
tree7a5707b1d34d6acd6c150c85feecf7c9a024d315 /testsuite/systemtap.base/gtod.c
parent29bb0bbc8603edb20de09e79fd8addb4a174947d (diff)
downloadsystemtap-steved-991bd3ba708b467a6b1de0788e0e1e558a087b0d.tar.gz
systemtap-steved-991bd3ba708b467a6b1de0788e0e1e558a087b0d.tar.xz
systemtap-steved-991bd3ba708b467a6b1de0788e0e1e558a087b0d.zip
Correct the safety-net escape WRT locking
Within a probe body, the "out" label starts the normal exit path, including unlocking whatever globals are used in that probe. Since the unprivileged safety-net checks are before the locks are ever grabbed, we should bypass the unlock on the way out. * elaborate.cxx (derived_probe::emit_process_owner_assertion): Use "return" instead of "goto out".
Diffstat (limited to 'testsuite/systemtap.base/gtod.c')
0 files changed, 0 insertions, 0 deletions