How to get current process's UID and EUID in Linux Kernel 4.2?
<p>As LDD3 chapter 6 p175 show, we can get current process UID and EUID by <code>current-&gt;uid</code> and <code>current-&gt;euid</code>.
But the definition of <code>struct task_struct</code> of Linux Kernel 4.2 don't contain fields named by <code>uid</code> or <code>euid</code> any more.
So, I wonder if there are any other methods to get UID and EUID ?
Thanks!</p>