diff options
author | Dave Brolley <brolley@redhat.com> | 2009-10-13 11:52:22 -0400 |
---|---|---|
committer | Dave Brolley <brolley@redhat.com> | 2009-10-13 11:52:22 -0400 |
commit | 8f6d8c2bd3e5c1d2881e2ebe1c7ad5deb389e581 (patch) | |
tree | f8a2e01b07e9fd351a1d598846b5d51ee69736f1 /elaborate.cxx | |
parent | 2865d17a48d055b3aef6e45506292908800cdb21 (diff) | |
download | systemtap-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 'elaborate.cxx')
-rw-r--r-- | elaborate.cxx | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/elaborate.cxx b/elaborate.cxx index e8795a6c..22a39c3e 100644 --- a/elaborate.cxx +++ b/elaborate.cxx @@ -162,6 +162,17 @@ derived_probe::emit_process_owner_assertion (translator_output* o) o->newline(-1) << "#endif"; } +void +derived_probe::print_dupe_stamp_unprivileged(ostream& o) +{ + o << "unprivileged users: authorized" << endl; +} + +void +derived_probe::print_dupe_stamp_unprivileged_process_owner(ostream& o) +{ + o << "unprivileged users: authorized for process owner" << endl; +} // ------------------------------------------------------------------------ // Members of derived_probe_builder |