diff --git a/functions/posix.xml b/functions/posix.xml index 98361e0303..b3562f55e2 100644 --- a/functions/posix.xml +++ b/functions/posix.xml @@ -1,5 +1,5 @@ - + POSIX functions POSIX @@ -179,7 +179,7 @@ posix_setuid - Set the effective UID of the current process + Set the UID of the current process @@ -202,11 +202,38 @@ + + + posix_seteuid + + Set the effective UID of the current process + + + + Description + + + bool posix_seteuid + int uid + + + + Set the real user ID of the current process. This is a privileged + function and you need appropriate privileges (usually root) on + your system to be able to perform this function. + + + Returns &true; on success, &false; otherwise. See also + posix_setgid. + + + + posix_setgid - Set the effective GID of the current process + Set the GID of the current process @@ -231,6 +258,32 @@ + + + posix_setegid + + Set the effective GID of the current process + + + + Description + + + bool posix_setegid + int gid + + + + Set the effective group ID of the current process. This is a + privileged function and you need appropriate privileges (usually + root) on your system to be able to perform this function. + + + Returns &true; on success, &false; otherwise. + + + + posix_getgroups