/usr/share/systemtap/runtime/linux/autoconf-task-uid.c is in systemtap-common 2.9-2ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 | #include <linux/sched.h>
int bar (struct task_struct *foo) {
return (foo->uid = 0);
}
/* as opposed to linux/cred.h wrappers current_uid() etc. */
|