]> sourceware.org Git - newlib-cygwin.git/commit
* cygheap.h (cygheap_user::issetuid): New method.
authorChristopher Faylor <me@cgf.cx>
Sun, 16 Jun 2002 23:34:43 +0000 (23:34 +0000)
committerChristopher Faylor <me@cgf.cx>
Sun, 16 Jun 2002 23:34:43 +0000 (23:34 +0000)
commite40670ee488a5dcea90a57efb58ecd04ee39a302
treef56b9f45a0723b621407cd4e009be6ef54f32a26
parent45e9463a38af63cd024f3a568b9c61be4df2b0d1
* 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
winsup/cygwin/cygheap.h
winsup/cygwin/dtable.cc
winsup/cygwin/environ.cc
winsup/cygwin/fork.cc
winsup/cygwin/spawn.cc
winsup/cygwin/syscalls.cc
This page took 0.027812 seconds and 5 git commands to generate.