Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2002-06-17 03:34:43 +0400
committerChristopher Faylor <me@cgf.cx>2002-06-17 03:34:43 +0400
commite40670ee488a5dcea90a57efb58ecd04ee39a302 (patch)
treef56b9f45a0723b621407cd4e009be6ef54f32a26 /winsup/cygwin/ChangeLog
parent45e9463a38af63cd024f3a568b9c61be4df2b0d1 (diff)
* cygheap.h (cygheap_user::issetuid): New method.
* dtable.cc (dtable::vfork_child_dup): Use new method to determine if we are in "setuid mode." * fork.cc (fork_parent): Ditto. * spawn.cc (spawn_guts): Ditto. * syscalls.cc (seteuid32): Ditto. (setegid32): Ditto. * environ.cc (spenv::retrieve): (Suggested by Pierre Humblet) Do potential recalculation of cygheap_user stuff when in setuid mode. Return special value when environment variable exists but should not be added. (build_env): Don't add retrieved value to dstp if it is 'dont_add'.
Diffstat (limited to 'winsup/cygwin/ChangeLog')
-rw-r--r--winsup/cygwin/ChangeLog15
1 files changed, 15 insertions, 0 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index cfe5ec628..85b3aae06 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,5 +1,20 @@
2002-06-16 Christopher Faylor <cgf@redhat.com>
+ * cygheap.h (cygheap_user::issetuid): New method.
+ * dtable.cc (dtable::vfork_child_dup): Use new method to determine if
+ we are in "setuid mode."
+ * fork.cc (fork_parent): Ditto.
+ * spawn.cc (spawn_guts): Ditto.
+ * syscalls.cc (seteuid32): Ditto.
+ (setegid32): Ditto.
+ * environ.cc (spenv::retrieve): (Suggested by Pierre Humblet) Do
+ potential recalculation of cygheap_user stuff when in setuid mode.
+ Return special value when environment variable exists but should not be
+ added.
+ (build_env): Don't add retrieved value to dstp if it is 'dont_add'.
+
+2002-06-16 Christopher Faylor <cgf@redhat.com>
+
Changes suggested by Pierre Humblet.
* environ.cc (NL): New macro.
(conv_envvars): Use NL macro to fill in name and namelen.