From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43420) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dQZFh-0003Jw-7M for qemu-devel@nongnu.org; Thu, 29 Jun 2017 09:12:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dQZFe-0000tG-GB for qemu-devel@nongnu.org; Thu, 29 Jun 2017 09:12:57 -0400 Received: from mx1.redhat.com ([209.132.183.28]:41412) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dQZFe-0000sa-9n for qemu-devel@nongnu.org; Thu, 29 Jun 2017 09:12:54 -0400 From: Markus Armbruster References: <20170628204452.41230-1-raj.khem@gmail.com> Date: Thu, 29 Jun 2017 15:12:49 +0200 In-Reply-To: (Peter Maydell's message of "Thu, 29 Jun 2017 10:05:13 +0100") Message-ID: <87vanfuecu.fsf@dusky.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH] replace struct ucontext with ucontext_t type List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: Khem Raj , Paolo Bonzini , Kamil Rytarowski , Riku Voipio , QEMU Developers , Laurent Vivier Peter Maydell writes: > On 28 June 2017 at 21:44, Khem Raj wrote: >> The ucontext_t type had a tag struct ucontext until now >> but newer glibc will drop it so we need to adjust and use >> the exposed type instead > > If true this seems like a bug in glibc to break > existing working programs, and it should be fixed there... I'd support that notion. However, SUSv2 documents ucontext_t, not struct ucontext. Using the former instead of the latter makes sense as a portability improvement, doesn't it?