diff options
author | Dave Brolley <brolley@redhat.com> | 2009-09-14 11:58:22 -0400 |
---|---|---|
committer | Dave Brolley <brolley@redhat.com> | 2009-09-14 11:58:22 -0400 |
commit | d2c9ec9b6933fbe36834d7ad52be0994e96eb12c (patch) | |
tree | b643f2c742d1fc1ea5e16ad9a6bc77481d88449c /tapset-itrace.cxx | |
parent | 6db2f61f39669ad1f0fa23595b94ff22c8fc50d6 (diff) | |
download | systemtap-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.cxx | 16 |
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); } |