www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-apps/2001/05/03/12:05:32

Mailing-List: contact cygwin-apps-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-apps-owner AT sourceware DOT cygnus DOT com
List-Subscribe: <mailto:cygwin-apps-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-apps/>
List-Post: <mailto:cygwin-apps AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-apps-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/lists.html#faqs>
Delivered-To: mailing list cygwin-apps AT sources DOT redhat DOT com
Date: Thu, 3 May 2001 19:52:27 +0400
From: egor duda <deo AT logos-m DOT ru>
X-Mailer: The Bat! (v1.45) Personal
Reply-To: egor duda <cygwin-apps AT cygwin DOT com>
Organization: deo
X-Priority: 3 (Normal)
Message-ID: <149267979644.20010503195227@logos-m.ru>
To: Corinna Vinschen <cygwin-apps AT cygwin DOT com>
Subject: Re: permissions for auth socket in cygwin port of openssh
In-reply-To: <20010503173750.I24200@cygbert.vinschen.de>
References: <7734862689 DOT 20010428210439 AT logos-m DOT ru>
<20010503143453 DOT A3296 AT cygbert DOT vinschen DOT de>
<117258690757 DOT 20010503171738 AT logos-m DOT ru>
<20010503173750 DOT I24200 AT cygbert DOT vinschen DOT de>
Mime-Version: 1.0

Hi!

Thursday, 03 May, 2001 Corinna Vinschen cygwin-apps AT cygwin DOT com wrote:

>> >> 2001-04-28  Egor Duda  <deo AT logos-m DOT ru>
>> >> 
>> >>         * ssh-agent.c (main): On cygwin create auth socket with mode 600
>> 
>> CV> I have sent your patch to the openssh-unix-dev mailing list.
>> CV> I had to change it slightly since the umask wasn't reverted
>> CV> if bind fails in your patch.
>> 
>> hmm. afaict, ssh-agent just exits if bind() fails.

CV> You're right. Seems as if I was overcorrect.

on a second thought it looks like it's better to revert umask, no
matter what bind returned. just in case somebody will want to extend
cleanup_exit() in future. 

Egor.            mailto:deo AT logos-m DOT ru ICQ 5165414 FidoNet 2:5020/496.19


- Raw text -


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