stat.2: Tighten wording: use 'mode bit' rather than 'permission bit'

According to POSIX, the the 9 UGO*RWX bits are permissions, and
'mode' is used to refer to collectively to those bits plus sticky,
set-UID, and set_GID bits.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2015-04-21 13:11:42 +02:00
parent b0c5363f3e
commit 7901c9c3cd
1 changed files with 2 additions and 2 deletions

View File

@ -371,7 +371,7 @@ with a value of 500 or greater, or
with a value of 200112L or greater. with a value of 200112L or greater.
.PP .PP
The following mask values are defined for The following mask values are defined for
the file permissions component of the the file mode component of the
.I st_mode .I st_mode
field: field:
.in +4n .in +4n
@ -624,7 +624,7 @@ field of the
structure. structure.
POSIX.1-2008 tightens the specification, requiring POSIX.1-2008 tightens the specification, requiring
.BR lstat () .BR lstat ()
to return valid information in all fields except the permission bits in to return valid information in all fields except the mode bits in
.IR st_mode . .IR st_mode .
Use of the Use of the