www.delorie.com/archives/browse.cgi | search |
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:subject:message-id:in-reply-to | |
:references:mime-version:content-type:content-transfer-encoding; | |
q=dns; s=default; b=sNglRoYLXD/hXUpqLy2oYVQ6S1PNdn5nF7ZXvtXDSzK | |
VlwIKzU6HaqivDh8gujDE3ywR6x1mCxiYGd9VLFN6hDeV8asyK8tL24gwpauuFni | |
xk/+qW8J74SbOz1gI7SwFsDggtzpLCAkQvKJpzcYcBTGiU0nsy9lpLFIjoIhjBUM | |
= | |
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:subject:message-id:in-reply-to | |
:references:mime-version:content-type:content-transfer-encoding; | |
s=default; bh=KiMz24aRGqQ4SIt/VCn+ENiKe18=; b=W5b7VF7yN9FD6pxWZ | |
sLi5Ql37Lqk7LTfgQ2Xl5xVcf1eBJYLDtRPvqjrNB5HeG6M4Bq1a6MDzYE6dtoAb | |
tdZ1Ty8MMwSo4fzR0G25ppPGkMexpxURW5cyofA304yoHklLS3b1GR1IObV0Dujo | |
EHb59SSDgDWULLr3MxKt1HC47k= | |
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=-1.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 spammy=listener |
X-HELO: | conssluserg-06.nifty.com |
DKIM-Filter: | OpenDKIM Filter v2.10.3 conssluserg-06.nifty.com x28GLKcS012732 |
DKIM-Signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.ne.jp; s=dec2015msa; t=1552062081; bh=vgOsRvzuxZh1IqtJWgM+Ucj+NC28lVgaIXyg3iyx+mk=; h=Date:From:To:Subject:In-Reply-To:References:From; b=H+RUzFZfA5pTl4TdSriFKaOCLxnoArfAxs65y3G76eAeFTw7o6pFRJwHqsR1BiVGx TZWDer3rjRHiocLbkY+JdZX8cfzyCqxJqJIlatw3snuZYLRwP4X7r5hijLSjTmtcYu my9GqDtZoIvzynQzo7qIwXC+dAGmjNHAWJgV+pAMnpmjZ0cPCFU8X1acQuXxsHttkc nGQkIelIJzx35giklBzFGudG6uA0rQBBdNvgeiUkXnwknUGO6GD7jNjjuxvWJBq/fU p8az2YQ3YshnQs6PmtE5Eja3KkUJuv1lirX6+5gwThP8OVMtvd1nimiugs28uHdXqd g8soN/qF9Ditg== |
Date: | Sat, 9 Mar 2019 01:21:27 +0900 |
From: | Takashi Yano <takashi DOT yano AT nifty DOT ne DOT jp> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Logging-in using ssh elevates the user privilege. |
Message-Id: | <20190309012127.d42ac7108c1fb29f7108e606@nifty.ne.jp> |
In-Reply-To: | <20190308155635.GP3785@calimero.vinschen.de> |
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> <20190309003908 DOT 52b91dd113d07f9ee1025d4c AT nifty DOT ne DOT jp> <20190308155635 DOT GP3785 AT calimero DOT vinschen DOT de> |
Mime-Version: | 1.0 |
X-IsSubscribed: | yes |
On Fri, 8 Mar 2019 16:56:35 +0100 Corinna Vinschen wrote: > > Does this affect to listen() as well? > > No, listen isn't affected. The cause is failure of setsockopt(). setsockopt() before accept() failed with EALREADY. I looked into fhandler_sock_local.cc. In fhandler_socket_local::af_local_set_no_getpeereid(), connect_state() is checked if it is 'unconnected', however, it is 'listener' after listen() is called. So it failed. -- Takashi Yano <takashi DOT yano AT nifty DOT ne DOT jp> -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |