summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.unprivileged/unprivilegedok
diff options
context:
space:
mode:
authorDave Brolley <brolley@redhat.com>2010-02-15 13:56:20 -0500
committerDave Brolley <brolley@redhat.com>2010-02-15 13:56:20 -0500
commit27dc09b13650456b7b3efd45c07690083e526b6d (patch)
treefee2a7ea25f8e8d5f51a0bb5012c07743b170476 /testsuite/systemtap.unprivileged/unprivilegedok
parent189559623dcda793b1ae9ade54299f5c7a775b76 (diff)
downloadsystemtap-steved-27dc09b13650456b7b3efd45c07690083e526b6d.tar.gz
systemtap-steved-27dc09b13650456b7b3efd45c07690083e526b6d.tar.xz
systemtap-steved-27dc09b13650456b7b3efd45c07690083e526b6d.zip
Rework identification of probes allowed for unprivileged users.
- Bind unprivileged permission at probe registration time. - Remove check_unprivileged filter from derived_probe_builder and its children. - Add test suites for unprivilegedok and unprivilegedko.
Diffstat (limited to 'testsuite/systemtap.unprivileged/unprivilegedok')
-rwxr-xr-xtestsuite/systemtap.unprivileged/unprivilegedok/one.stp4
1 files changed, 4 insertions, 0 deletions
diff --git a/testsuite/systemtap.unprivileged/unprivilegedok/one.stp b/testsuite/systemtap.unprivileged/unprivilegedok/one.stp
new file mode 100755
index 00000000..fb0ad6e7
--- /dev/null
+++ b/testsuite/systemtap.unprivileged/unprivilegedok/one.stp
@@ -0,0 +1,4 @@
+#! /bin/sh
+
+# This probe should be ok
+stap --unprivileged -p2 -t -e 'probe process("foo").function("bar").call { }' -c ./foo