summaryrefslogtreecommitdiffstats
path: root/runtime/autoconf-task-uid.c
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@elastic.org>2009-01-06 17:06:30 -0500
committerFrank Ch. Eigler <fche@elastic.org>2009-01-06 17:06:30 -0500
commit27053aa14ba234a0d5e1b4affd272a5c7b01aa1b (patch)
tree2c1849cbff5dc374eb981aaa973c6b9d8fa6e447 /runtime/autoconf-task-uid.c
parent6046b840e1b9e79ae535eb6027a98757be0673fa (diff)
downloadsystemtap-steved-27053aa14ba234a0d5e1b4affd272a5c7b01aa1b.tar.gz
systemtap-steved-27053aa14ba234a0d5e1b4affd272a5c7b01aa1b.tar.xz
systemtap-steved-27053aa14ba234a0d5e1b4affd272a5c7b01aa1b.zip
PR9699: build fixes for kernel 2.6.28
Diffstat (limited to 'runtime/autoconf-task-uid.c')
-rw-r--r--runtime/autoconf-task-uid.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/runtime/autoconf-task-uid.c b/runtime/autoconf-task-uid.c
new file mode 100644
index 00000000..5f5a321c
--- /dev/null
+++ b/runtime/autoconf-task-uid.c
@@ -0,0 +1,5 @@
+#include <linux/sched.h>
+
+struct task_struct *foo;
+void bar () { foo->uid = 0; }
+/* as opposed to linux/cred.h wrappers current_uid() etc. */