From cb32853d408aae8ff15a8d5005362a02cf912fdb Mon Sep 17 00:00:00 2001 From: Hartmut Holzgraefe Date: Sun, 16 Dec 2001 11:51:32 +0000 Subject: [PATCH] added documentation for seteuid() and setegid() git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@65278 c90b9560-bf6c-de11-be94-00142212c4b1 --- functions/posix.xml | 59 ++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 56 insertions(+), 3 deletions(-) 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