From cf0588ad39b72575210810270c52964d4e7b344a Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Thu, 22 Sep 2016 10:52:37 +0200 Subject: [PATCH] execve.2: Note that real UID, real GID, and supplementary GIDs are unchanged Signed-off-by: Michael Kerrisk --- man2/execve.2 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/man2/execve.2 b/man2/execve.2 index 2e0fa3641..4d8045463 100644 --- a/man2/execve.2 +++ b/man2/execve.2 @@ -110,6 +110,10 @@ similarly, the effective group ID is copied to the saved set-group-ID. This copying takes place after any effective ID changes that occur because of the set-user-ID and set-group-ID mode bits. +The process's read UID and real GID, as well its supplementary group IDs, +are unchanged by a call to +.BR execve (2). + If the executable is an a.out dynamically linked binary executable containing shared-library stubs, the Linux dynamic linker