diff options
| author | Rasmus Lerdorf <rasmus@php.net> | 2001-07-09 17:36:04 +0000 |
|---|---|---|
| committer | Rasmus Lerdorf <rasmus@php.net> | 2001-07-09 17:36:04 +0000 |
| commit | 934e10c7dc797300e5d10ccda4b6c8c43ccc3e8a (patch) | |
| tree | fd35cb5cc5674cc4e5f0e56ae0df20e43937a4bf /ext/standard/basic_functions.c | |
| parent | 9869ecc9b7e94b1e6b002c40f5e79c101bed8385 (diff) | |
| download | php-git-934e10c7dc797300e5d10ccda4b6c8c43ccc3e8a.tar.gz | |
Add getmygid() and safe_mode_gid ini directive to allow safe mode to do
a gid check instead of a uid check.
@ - Add getmygid() and safe_mode_gid ini directive to allow safe mode to do
@ a gid check instead of a uid check. (James E. Flemer, Rasmus)
Diffstat (limited to 'ext/standard/basic_functions.c')
| -rw-r--r-- | ext/standard/basic_functions.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/standard/basic_functions.c b/ext/standard/basic_functions.c index ec7edec638..6c94209ada 100644 --- a/ext/standard/basic_functions.c +++ b/ext/standard/basic_functions.c @@ -268,6 +268,7 @@ function_entry basic_functions[] = { #endif PHP_FE(getmyuid, NULL) + PHP_FE(getmygid, NULL) PHP_FE(getmypid, NULL) PHP_FE(getmyinode, NULL) PHP_FE(getlastmod, NULL) @@ -846,6 +847,7 @@ PHP_RINIT_FUNCTION(basic) BG(mmap_file) = NULL; #endif BG(page_uid) = -1; + BG(page_gid) = -1; BG(page_inode) = -1; BG(page_mtime) = -1; #ifdef HAVE_PUTENV |
