howto get uid from kernel?
Hi all,
I'm compiling a kernel module using 2.6.30.5 (downloaded from kernel.org). I wanted to get the current process' uid and euid thru current-> uid and current->euid. But I got the error: ‘struct task_struct’ has no member named ‘uid’.
I checked SOURCE/inlucde/linux/sched.h, uid and euid are not in struct task_struct any more. How can I access them in version 2.6.30.5?
thanks in advance,
lqu
|