This is the mail archive of the
cygwin-developers@sources.redhat.com
mailing list for the Cygwin project.
Re: login-1.3 can't work on the recent snapshots.
- To: cygwin-developers at sources dot redhat dot com
- Subject: Re: login-1.3 can't work on the recent snapshots.
- From: Kazuhiro Fujieda <fujieda at jaist dot ac dot jp>
- Date: 20 Jul 2000 01:36:17 +0900
- References: <s1su2e4mz1d.fsf@jaist.ac.jp>
>>> On 05 Jul 2000 23:28:46 +0900
>>> Kazuhiro Fujieda <fujieda@jaist.ac.jp> said:
> The login-1.3 of the net release seem not to work with the
> recent snapshots. I tested it with inetutils-1.3.2-4 under
> WinNT4 Sp6a and the latest snapshot.
>
> When I connected with in.telnetd, I was able to find the
> following message. But I couldn't start the remote session,
> because bash.exe spawned by login.exe was choked by the system
> error of "The application failed to initialize properly (0xc0000022).".
I managed to find the cause of this problem.
spawn_guts can modify values referred by `child', even though
there is a case where `child' == `myself'. As a result,
CreateProcessAsUser create a process with wrong sids generated
by sec_user using the modified values referred by `myself'.
____
| AIST Kazuhiro Fujieda <fujieda@jaist.ac.jp>
| HOKURIKU School of Information Science
o_/ 1990 Japan Advanced Institute of Science and Technology