Check out my first novel, midnight's simulacra!
Procfs: Difference between revisions
From dankwiki
No edit summary |
|||
Line 18: | Line 18: | ||
* 2: users can only *see* their own <tt>proc/PID</tt> directories | * 2: users can only *see* their own <tt>proc/PID</tt> directories | ||
Linux 3.3 also introduced the <tt>gid</tt> parameter, which specifies a group ID. Members of this group are exempted from <tt>hidepid</tt> restrictions. | Linux 3.3 also introduced the <tt>gid</tt> parameter, which specifies a group ID. Members of this group are exempted from <tt>hidepid</tt> restrictions. | ||
Note that if you start a process as one user, and change to another user using e.g. <tt>setuid(2)</tt>, you will generally no longer be able to access your own <tt>/proc/PID</tt>. | |||
===<tt>proc/PID/loginuid</tt>=== | ===<tt>proc/PID/loginuid</tt>=== |