diff options
Diffstat (limited to 'runtime/autoconf-task-uid.c')
-rw-r--r-- | runtime/autoconf-task-uid.c | 5 |
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. */ |