aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2016-05-26 16:14:26 -0500
committerMichael Kerrisk <mtk.manpages@gmail.com>2016-05-26 16:14:26 -0500
commit0c00a52e4968835cf292316a9c3f1d2a53d23504 (patch)
treeaa6722fe4ca6b96cc520b0cc80f6242ce7555864
parenta79343e9e4c036fd12d7304ffdf71a7febfa0016 (diff)
downloadman-pages-0c00a52e4968835cf292316a9c3f1d2a53d23504.tar.gz
umask.2: NOTES: Mention /proc/PID/status 'Umask' field
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-rw-r--r--man2/umask.25
1 files changed, 5 insertions, 0 deletions
diff --git a/man2/umask.2 b/man2/umask.2
index e7ef16f9f6..b5c73e5bdc 100644
--- a/man2/umask.2
+++ b/man2/umask.2
@@ -117,6 +117,11 @@ inherits its parent's umask.
The umask is left unchanged by
.BR execve (2).
+Since Linux 4.7, the umask of any process can be viewed via the
+.I umask
+field of
+.IR /proc/[pid]/status .
+
The umask setting also affects the permissions assigned to POSIX IPC objects
.RB ( mq_open (3),
.BR sem_open (3),