Reorganizing internal_getlogin()

Pierre A. Humblet Pierre.Humblet@ieee.org
Mon Jun 10 08:26:00 GMT 2002


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



More information about the Cygwin-patches mailing list