summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.unprivileged/foo.c
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/foo.c
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/foo.c')
-rw-r--r--testsuite/systemtap.unprivileged/foo.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/systemtap.unprivileged/foo.c b/testsuite/systemtap.unprivileged/foo.c
new file mode 100644
index 00000000..82ff7232
--- /dev/null
+++ b/testsuite/systemtap.unprivileged/foo.c
@@ -0,0 +1,7 @@
+/* Test application */
+void bar () {
+}
+
+main () {
+ bar ();
+}