summaryrefslogtreecommitdiffstats
path: root/tapset-utrace.cxx
diff options
context:
space:
mode:
authorJosh Stone <jistone@redhat.com>2009-09-03 14:31:02 -0700
committerJosh Stone <jistone@redhat.com>2009-09-03 14:31:02 -0700
commit06e0b6262393b095a33e9cc6e7ab7bc5d4fe9c95 (patch)
tree8029267099eec7bd898e6532bf6152c8b946f8ba /tapset-utrace.cxx
parentb969d16b2986a491eb37706e09da888d9914a7dd (diff)
parentd0822e28934cd0387c2af4349cf52c52c368c55a (diff)
downloadsystemtap-steved-06e0b6262393b095a33e9cc6e7ab7bc5d4fe9c95.tar.gz
systemtap-steved-06e0b6262393b095a33e9cc6e7ab7bc5d4fe9c95.tar.xz
systemtap-steved-06e0b6262393b095a33e9cc6e7ab7bc5d4fe9c95.zip
Merge branch 'master' of sourceware.org:/git/systemtap
Diffstat (limited to 'tapset-utrace.cxx')
-rw-r--r--tapset-utrace.cxx20
1 files changed, 14 insertions, 6 deletions
diff --git a/tapset-utrace.cxx b/tapset-utrace.cxx
index c6214e70..490af20f 100644
--- a/tapset-utrace.cxx
+++ b/tapset-utrace.cxx
@@ -1033,12 +1033,20 @@ register_tapset_utrace(systemtap_session& s)
for (unsigned i = 0; i < roots.size(); ++i)
{
- roots[i]->bind(TOK_BEGIN)->bind(builder);
- roots[i]->bind(TOK_END)->bind(builder);
- roots[i]->bind(TOK_THREAD)->bind(TOK_BEGIN)->bind(builder);
- roots[i]->bind(TOK_THREAD)->bind(TOK_END)->bind(builder);
- roots[i]->bind(TOK_SYSCALL)->bind(builder);
- roots[i]->bind(TOK_SYSCALL)->bind(TOK_RETURN)->bind(builder);
+ roots[i]->bind(TOK_BEGIN)
+ ->allow_unprivileged()
+ ->bind(builder);
+ roots[i]->bind(TOK_END)
+ ->allow_unprivileged()
+ ->bind(builder);
+ roots[i]->bind(TOK_THREAD)->bind(TOK_BEGIN)
+ ->bind(builder);
+ roots[i]->bind(TOK_THREAD)->bind(TOK_END)
+ ->bind(builder);
+ roots[i]->bind(TOK_SYSCALL)
+ ->bind(builder);
+ roots[i]->bind(TOK_SYSCALL)->bind(TOK_RETURN)
+ ->bind(builder);
}
}