summaryrefslogtreecommitdiffstats
path: root/tapset-itrace.cxx
diff options
context:
space:
mode:
authorDave Brolley <brolley@redhat.com>2009-09-14 11:58:22 -0400
committerDave Brolley <brolley@redhat.com>2009-09-14 11:58:22 -0400
commitd2c9ec9b6933fbe36834d7ad52be0994e96eb12c (patch)
treeb643f2c742d1fc1ea5e16ad9a6bc77481d88449c /tapset-itrace.cxx
parent6db2f61f39669ad1f0fa23595b94ff22c8fc50d6 (diff)
downloadsystemtap-steved-d2c9ec9b6933fbe36834d7ad52be0994e96eb12c.tar.gz
systemtap-steved-d2c9ec9b6933fbe36834d7ad52be0994e96eb12c.tar.xz
systemtap-steved-d2c9ec9b6933fbe36834d7ad52be0994e96eb12c.zip
Allow remaining process.* probes for unprivileged users.
Diffstat (limited to 'tapset-itrace.cxx')
-rw-r--r--tapset-itrace.cxx16
1 files changed, 12 insertions, 4 deletions
diff --git a/tapset-itrace.cxx b/tapset-itrace.cxx
index dee2fe64..9fc59d42 100644
--- a/tapset-itrace.cxx
+++ b/tapset-itrace.cxx
@@ -299,10 +299,18 @@ register_tapset_itrace(systemtap_session& s)
match_node* root = s.pattern_root;
derived_probe_builder *builder = new itrace_builder();
- root->bind_str(TOK_PROCESS)->bind(TOK_INSN)->bind(builder);
- root->bind_num(TOK_PROCESS)->bind(TOK_INSN)->bind(builder);
- root->bind_str(TOK_PROCESS)->bind(TOK_INSN)->bind(TOK_BLOCK)->bind(builder);
- root->bind_num(TOK_PROCESS)->bind(TOK_INSN)->bind(TOK_BLOCK)->bind(builder);
+ root->bind_str(TOK_PROCESS)->bind(TOK_INSN)
+ ->allow_unprivileged()
+ ->bind(builder);
+ root->bind_num(TOK_PROCESS)->bind(TOK_INSN)
+ ->allow_unprivileged()
+ ->bind(builder);
+ root->bind_str(TOK_PROCESS)->bind(TOK_INSN)->bind(TOK_BLOCK)
+ ->allow_unprivileged()
+ ->bind(builder);
+ root->bind_num(TOK_PROCESS)->bind(TOK_INSN)->bind(TOK_BLOCK)
+ ->allow_unprivileged()
+ ->bind(builder);
}