]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
inode.7: Add references to execve(2) to describe set-UID/set-GID behaviors
authorMichael Kerrisk <mtk.manpages@gmail.com>
Tue, 12 Mar 2019 05:49:15 +0000 (06:49 +0100)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Tue, 12 Mar 2019 05:49:15 +0000 (06:49 +0100)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man7/inode.7

index 204a7ec95c0f8b89dff368dd2dd426208c3863c3..a488a41470a07849e0073d4605467a248e169d81 100644 (file)
@@ -367,7 +367,7 @@ field:
 .in +4n
 .TS
 lB l l.
-S_ISUID          04000 set-user-ID bit
+S_ISUID          04000 set-user-ID bit (see \fBexecve\fP(2))
 S_ISGID          02000 set-group-ID bit (see below)
 S_ISVTX          01000 sticky bit (see below)
 
@@ -399,6 +399,9 @@ the directory, not from the effective group ID of the creating process,
 and directories created there will also get the
 .B S_ISGID
 bit set.
+For an executable file, the set-group-ID bit causes the effective group ID
+of a process that executes the file to change as described in
+.BR execve (2).
 For a file that does not have the group execution bit
 .RB ( S_IXGRP )
 set,