From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: Andrew Schulman <schulman.andrew@epa.gov>
Cc: cygwin@cygwin.com
Subject: Re: Logging-in using ssh elevates the user privilege.
Date: Fri, 08 Mar 2019 14:52:00 -0000 [thread overview]
Message-ID: <20190308145247.GO3785@calimero.vinschen.de> (raw)
In-Reply-To: <20190308234638.0ada919bc31803cf064ca720@nifty.ne.jp>
[-- Attachment #1: Type: text/plain, Size: 928 bytes --]
Hi Andrew,
On Mar 8 23:46, Takashi Yano wrote:
> Hi Corinna,
>
> Thanks for your advice.
>
> 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().
> >
> > 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
> >
> > setsockopt (sock, SOL_SOCKET, SO_PEERCRED, NULL, 0);
> >
> > before calling accept or connect.
>
> 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
--
Corinna Vinschen
Cygwin Maintainer
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2019-03-08 14:52 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-06 16:00 Takashi Yano
2019-03-06 16:15 ` Corinna Vinschen
2019-03-06 16:17 ` Corinna Vinschen
2019-03-07 10:08 ` Takashi Yano
2019-03-06 18:33 ` Achim Gratz
2019-03-07 11:23 ` Takashi Yano
2019-03-07 11:20 ` Andrey Repin
2019-03-07 15:35 ` Andrey Repin
2019-03-08 14:01 ` Takashi Yano
2019-03-08 14:11 ` Corinna Vinschen
2019-03-08 14:46 ` Takashi Yano
2019-03-08 14:52 ` Corinna Vinschen [this message]
2019-03-08 17:57 ` Andrew Schulman
2019-03-08 22:36 ` Takashi Yano
2019-03-08 23:19 ` Andrew Schulman
2019-03-09 1:49 ` Takashi Yano
2019-03-09 7:47 ` Michael Wild
2019-03-08 15:39 ` Takashi Yano
2019-03-08 15:56 ` Corinna Vinschen
2019-03-08 16:21 ` Takashi Yano
2019-03-08 17:14 ` Corinna Vinschen
2019-03-07 11:14 Takashi Yano
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190308145247.GO3785@calimero.vinschen.de \
--to=corinna-cygwin@cygwin.com \
--cc=cygwin@cygwin.com \
--cc=schulman.andrew@epa.gov \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).