X-Recipient: archive-cygwin@delorie.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:reply-to
	:references:mime-version:content-type:in-reply-to; q=dns; s=
	default; b=jwW5BtSd3lOuSyc/0c4Xu1LWQ0ihAl0UMP91HX764AyEBGW5010Nq
	pcKhTHGqbWEfxPfa39/GXP5tLaMThTjzxplX05sP5bxQxJntLKOahb+ksD9VUBS6
	EY1cgrz5f61UXYfK/r7kTBMUFXLxG6/8QNLiXdL+T8bRCtIq3HSp4Y=
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:reply-to
	:references:mime-version:content-type:in-reply-to; s=default;
	 bh=ZQb0OcHFW/EYcfhFKwL2y8CfWec=; b=bXkoL0kl5084M886IYACbHbA/hh6
	3fWIBtKe4O62KKg2c8xK7ofNSQz7McABskKNq1r7e9JMCotAohm8L4Y247FwnqYg
	81BxGkwMauuovZ59XgNfGQc3zJVq7hAbTRpDuLdaGMSe23W4M0d52+lfrrUtiFNX
	kBH80EkAFFyXfV8=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-99.9 required=5.0 tests=AWL,BAYES_40,GOOD_FROM_CORINNA_CYGWIN,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=corinna, Corinna, Pierre, answering
X-HELO: drew.franken.de
Date: Mon, 9 Jan 2017 14:03:58 +0100
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: Exim & cygwin-2.6.0-1 (x86) fatal Signal 6 on start
Message-ID: <20170109130358.GA843@calimero.vinschen.de>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <31f6707c-6600-c0a3-daff-c0825dcf4f04@rosshemail.com> <586C438A.1060206@alum.mit.edu>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;	protocol="application/pgp-signature"; boundary="FCuugMFkClbJLl1L"
Content-Disposition: inline
In-Reply-To: <586C438A.1060206@alum.mit.edu>
User-Agent: Mutt/1.7.1 (2016-10-04)

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

On Jan  3 19:36, Pierre A. Humblet wrote:
>=20
> On 9/12/2016 8:26 AM, Ross Hemingway wrote:
> > Update to cygwin-2.6.0-1.  Exim has a fatal start error - exim: PID
> > 3756: service `exim' failed: signal 6 raised.
> >=20
> > Rolled back to cygwin-2.5.2-1,  problem averted.
> >=20
>=20
> Sorry for the very long delay in answering.
> The debugging below was done from a non-privileged account, and the
> setuid32() should thus fail, but the program should not abort.
>=20
> It aborts in the call to "free (privs)".
> "privs" are obtained by get_priv_list().
> When the target user is SYSTEM, get_priv_list()  returns (PTOKEN_PRIVILEG=
ES)
> &sys_privs;
> where "sys_privs" is a constant structure that cannot be freed.

Thanks for the analysis.  I pushed a fix.


Corinna

--=20
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJYc4o9AAoJEPU2Bp2uRE+gp2YP/2msNi7usD/ZBNM3BGTDnQ7B
TFm50WrFTEvCk0zWZN9HgzP+cKbLLq5KSF8tY6RoUmW2kuxbjU6VIBUjZOR2B3xP
//tU1q/Wqz7IGDAJ8BtdOC1QldesDhVj3yrEY/eUWrH0SiAI7oGq7h2/dc/2p6S7
5jyQc3LxMiD5NYxjE2FofT4rNqPv3G/kWJ0r2dDml0UMpfAnxyQ6b+r/4Mcu4BvM
kjjelrwEEMOc7Xv5dVACWvtBf7Vm8l5uO9MlwyTet1N0Il4X1ipYdSymVtjWsPrH
CoHU7oCpMP2aV6yVWDJr0V0Eygpc+kbQeYAyoprvo04qehoObYdayLxbVJ32C5iS
0xYSvhsSDP5nwl0SktP/TfWubyzIhUKLaIy7bn/mXU/vWLu1HlSKoMjW4dAl0HIe
t6CWXDUClQGDrxiQKW1oVs0qAIXvg4szshzRMtYSLnxdxwODNIx8eRQg6saWe9oX
1l/nHl9AGkyhJ4N1QqpP8F1PdR7t+5u/EARykShC5M45hrAz7hKQCRQUYPFxkCjy
ygcFOO+/ben2juFULfY7K5vh9svV493/SMiBXRV953/I+Z8gO00fvI9YLIkyh/np
rkXaXwcb7LIYXgTJzHAUJzwhnCsYDpw3f/DVFZdiLmQGdELB7SrZ9cqXvHg2imcl
CSSrOw+kcdVBrX2VfMCI
=QPhT
-----END PGP SIGNATURE-----

--FCuugMFkClbJLl1L--
