From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/14767 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Florian Weimer Newsgroups: gmane.linux.lib.musl.general Subject: Re: Re: Hangup calling setuid() from vfork() child Date: Tue, 01 Oct 2019 07:54:56 +0200 Message-ID: <87zhilvwlr.fsf@oldenburg2.str.redhat.com> References: Reply-To: musl@lists.openwall.com Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="250888"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) Cc: musl To: Joshua Hudson Original-X-From: musl-return-14783-gllmg-musl=m.gmane.org@lists.openwall.com Tue Oct 01 07:55:14 2019 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by blaine.gmane.org with smtp (Exim 4.89) (envelope-from ) id 1iFB7x-00139v-Ru for gllmg-musl@m.gmane.org; Tue, 01 Oct 2019 07:55:13 +0200 Original-Received: (qmail 7710 invoked by uid 550); 1 Oct 2019 05:55:11 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 7690 invoked from network); 1 Oct 2019 05:55:10 -0000 In-Reply-To: (Joshua Hudson's message of "Mon, 30 Sep 2019 13:45:07 -0700") X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.47]); Tue, 01 Oct 2019 05:54:59 +0000 (UTC) Xref: news.gmane.org gmane.linux.lib.musl.general:14767 Archived-At: * Joshua Hudson: >> Basically, the vfork() child is in an invalid state and this cannot >> be repaired without damaging the parent. > > Works on glibc just fine. Are you sure it's changing the credentials of the right TIDs? Thanks, Florian