summaryrefslogtreecommitdiffstats
path: root/tapset-itrace.cxx
diff options
context:
space:
mode:
authorDave Brolley <brolley@redhat.com>2009-10-13 11:52:22 -0400
committerDave Brolley <brolley@redhat.com>2009-10-13 11:52:22 -0400
commit8f6d8c2bd3e5c1d2881e2ebe1c7ad5deb389e581 (patch)
treef8a2e01b07e9fd351a1d598846b5d51ee69736f1 /tapset-itrace.cxx
parent2865d17a48d055b3aef6e45506292908800cdb21 (diff)
downloadsystemtap-steved-8f6d8c2bd3e5c1d2881e2ebe1c7ad5deb389e581.tar.gz
systemtap-steved-8f6d8c2bd3e5c1d2881e2ebe1c7ad5deb389e581.tar.xz
systemtap-steved-8f6d8c2bd3e5c1d2881e2ebe1c7ad5deb389e581.zip
Ensure that unprivileged-authorized probe point functions are hashed differently
than non-authorized ones for the purpose of removing duplicates. 2009-10-13 Dave Brolley <brolley@redhat.com> * elaborate.h (print_dupe_stamp_unprivileged): New static method of derived_probe. (print_dupe_stamp_unprivileged_process_owner): Likewise. * elaborate.cxx (print_dupe_stamp_unprivileged): New static method of derived_probe. (print_dupe_stamp_unprivileged_process_owner): Likewise. * tapset-been.cxx (print_dupe_stamp): New virtual method of be_derived_p robe and never_derived_probe. * tapset-utrace.cxx (print_dupe_stamp): New virtual method of utrace_der ived_probe * tapset-itrace.cxx (itrace_derived_probe::emit_unprivileged_assertion): Removed. (itrace_builder::check_unprivileged): Removed. * tapsets.cxx (print_dupe_stamp): New virtual method of uprobe_derived_p robe
Diffstat (limited to 'tapset-itrace.cxx')
-rw-r--r--tapset-itrace.cxx15
1 files changed, 0 insertions, 15 deletions
diff --git a/tapset-itrace.cxx b/tapset-itrace.cxx
index 512a70b0..cdd7ac19 100644
--- a/tapset-itrace.cxx
+++ b/tapset-itrace.cxx
@@ -44,8 +44,6 @@ struct itrace_derived_probe: public derived_probe
bool hp, string &pn, int64_t pd, int ss
);
void join_group (systemtap_session& s);
-
- void emit_unprivileged_assertion (translator_output*);
};
@@ -81,15 +79,6 @@ itrace_derived_probe::itrace_derived_probe (systemtap_session &s,
void
-itrace_derived_probe::emit_unprivileged_assertion (translator_output* o)
-{
- // These probes are allowed for unprivileged users, but only in the
- // context of processes which they own.
- emit_process_owner_assertion (o);
-}
-
-
-void
itrace_derived_probe::join_group (systemtap_session& s)
{
if (! s.itrace_derived_probes)
@@ -132,10 +121,6 @@ struct itrace_builder: public derived_probe_builder
single_step
));
}
-
- // No action required. These probes are allowed for unprivileged users.
- virtual void check_unprivileged (const systemtap_session & sess,
- const literal_map_t & parameters) {}
};