delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2000/07/19/12:38:16

Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-developers-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-developers-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-developers-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin-developers AT sources DOT redhat DOT com
To: cygwin-developers AT sources DOT redhat DOT com
Subject: Re: login-1.3 can't work on the recent snapshots.
References: <s1su2e4mz1d DOT fsf AT jaist DOT ac DOT jp>
Mime-Version: 1.0 (generated by tm-edit 7.106)
From: Kazuhiro Fujieda <fujieda AT jaist DOT ac DOT jp>
Date: 20 Jul 2000 01:36:17 +0900
In-Reply-To: Kazuhiro Fujieda's message of 05 Jul 2000 23:28:46 +0900
Message-ID: <s1s7lai5b7i.fsf@jaist.ac.jp>
Lines: 22
X-Mailer: Gnus v5.3/Emacs 19.34

>>> On 05 Jul 2000 23:28:46 +0900
>>> Kazuhiro Fujieda <fujieda AT jaist DOT ac DOT 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 AT jaist DOT ac DOT jp>
  | HOKURIKU  School of Information Science
o_/ 1990      Japan Advanced Institute of Science and Technology

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019