summaryrefslogtreecommitdiff
path: root/ext/standard/basic_functions.h
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>2000-01-30 20:31:41 +0000
committerZeev Suraski <zeev@php.net>2000-01-30 20:31:41 +0000
commit430571d62c90e2f81dc4909b43e300ff1e2edc13 (patch)
tree98f770be32ba13490d12975737b52985997b515d /ext/standard/basic_functions.h
parent0296bba808e63deb27a7e6cf58b5a6ae3cbb90bc (diff)
downloadphp-git-430571d62c90e2f81dc4909b43e300ff1e2edc13.tar.gz
Initial work on the protected env vars stuff
Diffstat (limited to 'ext/standard/basic_functions.h')
-rw-r--r--ext/standard/basic_functions.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/ext/standard/basic_functions.h b/ext/standard/basic_functions.h
index 17597c34c6..4f1d5a178d 100644
--- a/ext/standard/basic_functions.h
+++ b/ext/standard/basic_functions.h
@@ -136,6 +136,8 @@ typedef struct {
zval **array_walk_func_name;
zval **user_compare_func_name;
+ HashTable protected_env_vars;
+
/* pageinfo.c */
long page_uid;
long page_inode;
@@ -180,4 +182,10 @@ typedef struct {
} putenv_entry;
#endif
+/* Values are coma-delimited
+ * All variables, beginning with the following prefixes, will be protected
+ * from change by the PHP runtime function putenv()
+ */
+#define SAFE_MODE_PROTECTED_ENV_VARS "LD_"
+
#endif /* _BASIC_FUNCTIONS_H */