proc.5: Document /proc/PID/status 'Umask' field

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2016-05-26 16:12:49 -05:00
parent 5d92f6e91a
commit a79343e9e4
1 changed files with 5 additions and 0 deletions

View File

@ -1957,6 +1957,7 @@ Here's an example:
.RB "$" " cat /proc/$$/status" .RB "$" " cat /proc/$$/status"
Name: bash Name: bash
Umask: 0022
State: S (sleeping) State: S (sleeping)
Tgid: 17248 Tgid: 17248
Ngid: 0 Ngid: 0
@ -2012,6 +2013,10 @@ The fields are as follows:
.IR Name : .IR Name :
Command run by this process. Command run by this process.
.IP * .IP *
.IR Umask :
Process umask, expressed in octal with a leading zero.
(Since Linux 4.7.)
.IP *
.IR State : .IR State :
Current state of the process. Current state of the process.
One of One of