From e40670ee488a5dcea90a57efb58ecd04ee39a302 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Sun, 16 Jun 2002 23:34:43 +0000 Subject: * 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'. --- winsup/cygwin/ChangeLog | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'winsup/cygwin/ChangeLog') diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index cfe5ec628..85b3aae06 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,18 @@ +2002-06-16 Christopher Faylor + + * 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 Changes suggested by Pierre Humblet. -- cgit v1.2.3