delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2019/03/08/09:53:06

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:cc:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; q=dns; s=
default; b=Tc+a64UJGQZI8Q6c7R20ZzLAFmuyoqBggj/fnFVqAhfCx0G+jyLd6
V6189bLlKQL5+aBzcLHqBsgE11s/1s9EWukcyRGr5bUhJg4hAT51KokNW/IqBX8b
YEW9cP7twFnV50VWm2M8J0IkRblcv5HSjKcp0eaR/sSbB+sA5jWJQE=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:cc:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; s=default;
bh=BCuWERA9AQGbFlMQbEyCqsOMp7c=; b=cBpeg8sDoqjqKsqyAV0p6NkDuVoD
cf+adUNCCmsUx4VixcOAfSP2QEqhb6Ief7TujCfCjy1FZzQkPfU+d7MaoC6MXY3e
2r61IJ8KWyiKYF3ufPrSh6tMxdsra1Q2QRq0haSW4a8cNkBDADUeCTKnwgsBsqIC
bpnDFBMZU3gq128=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=-102.5 required=5.0 tests=AWL,BAYES_00,GOOD_FROM_CORINNA_CYGWIN,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 spammy=screen, HX-Languages-Length:937, H*F:D*cygwin.com, 201903
X-HELO: mout.kundenserver.de
Date: Fri, 8 Mar 2019 15:52:47 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: Andrew Schulman <schulman DOT andrew AT epa DOT gov>
Cc: cygwin AT cygwin DOT com
Subject: Re: Logging-in using ssh elevates the user privilege.
Message-ID: <20190308145247.GO3785@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: Andrew Schulman <schulman DOT andrew AT epa DOT gov>, cygwin AT cygwin DOT com
References: <20190307010000 DOT fc28b73739c2dd66e609982b AT nifty DOT ne DOT jp> <381052629 DOT 20190307141955 AT yandex DOT ru> <51233666 DOT 20190307182445 AT yandex DOT ru> <20190308230138 DOT b7f6b5ac90c9a14cde2647c1 AT nifty DOT ne DOT jp> <20190308141118 DOT GM3785 AT calimero DOT vinschen DOT de> <20190308234638 DOT 0ada919bc31803cf064ca720 AT nifty DOT ne DOT jp>
MIME-Version: 1.0
In-Reply-To: <20190308234638.0ada919bc31803cf064ca720@nifty.ne.jp>
User-Agent: Mutt/1.11.3 (2019-02-01)

--gRZ38brEgCoUohoa
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi Andrew,

On Mar  8 23:46, Takashi Yano wrote:
> Hi Corinna,
>=20
> Thanks for your advice.
>=20
> On Fri, 8 Mar 2019 15:11:18 +0100 Corinna Vinschen wrote:
> > > In Linux, connect() in the client returns befor the
> > > server calls accept(). However, in cygwin, connect()
> > > does not return until the server calls accept().
> >=20
> > This is a result of the handshake to exchange credentials for
> > getpeereid().  To workaround this issue, try building screen
> > with a tweak.  Server and as client should call
> >=20
> >   setsockopt (sock, SOL_SOCKET, SO_PEERCRED, NULL, 0);
> >=20
> > before calling accept or connect.
>=20
> Following your advice, I tried the patch attached and
> confirmed the problem regarding -Q option is solved.

any chance to rebuild screen with the patch from
https://cygwin.com/ml/cygwin/2019-03/msg00167.html


Thanks,
Corinna

--=20
Corinna Vinschen
Cygwin Maintainer

--gRZ38brEgCoUohoa
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEoVYPmneWZnwT6kwF9TYGna5ET6AFAlyCgb8ACgkQ9TYGna5E
T6CQQBAAmwftwgIWZWg9A5obd5t1CFxSRmmoPtAPWQ+C+babMpx+n4IL02A+Qs9F
RacwjEh4554sU7PVic6cuB7pA9nLmv4pmDjxeyndBEY1PWLAZ6bjX8RkOuG+xIcb
r5zpYYil0pFUc2AJTVsReChQ+Ry8yM4s0ruLJa3Oual+MBIoXkixpk+kgJ3ju7hS
T9KN5zF3LEeSC3oQxt47UmEavuNqwDYDA2qwn94YrFVWUktHcOLAPc/DGcbt7ZWs
9ORZdbodSTQvGWG/jvlMQEX4rkmzzY80QuU9yAeXprucB24m1hIHb7bhkbSnf2jX
ZXJJE9EcxD9J+dYb1R+pLJG2OYyiBh8N/evgNAP5ncckWPufc3KxOH3/IMjnRy8q
PCU7whXayq8A8gZc0NnxHMT4IHTAodLwFXDKEcokzIWQX6/W1sggnAJsUX1lHb9P
tZacFGAQzPAvFWJ1iMGUV8znDmHDRqn73FW9uqSUCFwDnVQ47pE6UTDjN2goE4cR
zXRVt8roOgMWdXNeCnK/g2o8mhiOiCLQgMLK3nISbb2nB+nwhpWo6ouP6PML7RcQ
Url3+r5NbBSJYEEwttBk9zPfoH2hW7jfygeWajVEJsCAsJgl+TPAJ+P+aD2DIQiM
DGdHORTzjHK4TPCQFFWQiSu04ypFABHcDzqv4iy/D5gr+aj5ia8=
=9mD+
-----END PGP SIGNATURE-----

--gRZ38brEgCoUohoa--

- Raw text -


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