This is the mail archive of the
cygwin-patches@cygwin.com
mailing list for the Cygwin project.
Re: Reorganizing internal_getlogin()
Christopher Faylor wrote:
>
>
> Ok. I'm in favor of getting rid of sexec in 1.3.11, then.
>
> I'll do that sometime today.
>
Then you can also junk the first argument (token) in _spawnve()
and spawn_guts() (FYI).
By the way, here is a diagram of what I proposed:
Currently:
PARENT
seteuid internal_getlogin (1 & 2) spawn_guts
CHILD
uinfo_init internal_getlogin (1 & 2)
Proposed:
PARENT
seteuid spawn_guts internal_getlogin (2)
CHILD
uinfo_init internal_getlogin (1)
Another reason that 2) can't be pushed to the child
is that it might be a non Cygwin process, expecting
a correct Windows environment.
Pierre