From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from eggs.gnu.org (eggs.gnu.org [IPv6:2001:470:142:3::10]) by sourceware.org (Postfix) with ESMTPS id 5B7883858D1E for ; Mon, 10 Apr 2023 19:21:38 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 5B7883858D1E Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gnu.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gnu.org Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1plx58-0008IA-0N; Mon, 10 Apr 2023 15:21:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=In-Reply-To:MIME-Version:References:Subject:To:From: Date; bh=MxTZlSgwcYc3GG8nDPGpHE85cYGK5t2vXRrD3tg6Xxc=; b=AesdWKnd2OLbRDkEvfPn aHxzEGQq4LhO5LvwCq4t4wbhHEqVoLvFmv2BeyynRz0nzIsYEjJPTlhqki7wPzoRBHEGR7c6p2EpK oaWyfjMgfYC1Cz2dP5OcX2olYluG/v/1ceXhibL9l0FFXlxsg8/wsBE8oDrLJVAoYEV0r3hpORCWC 6IPbdIjkmNScMpI9g7QXUzrTtDzEyLsUdT8Cu3luybo2lsKepbLVKOFY/urgRe/G87JQb+WJqtIfj jevdSxNmIed0eu1dW9OfbeW/IkKHTUcTt2n5ZC0NPJQcckp0W50MeaqmROTdCUs+n/Qo8MAnnZzlp TIvRHx1m8XuZVA==; Received: from [2a01:cb19:4a:a400:de41:a9ff:fe47:ec49] (helo=begin) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1plx57-0006NN-Cn; Mon, 10 Apr 2023 15:21:37 -0400 Received: from samy by begin with local (Exim 4.96) (envelope-from ) id 1plx56-0001me-0K; Mon, 10 Apr 2023 21:21:36 +0200 Date: Mon, 10 Apr 2023 21:21:36 +0200 From: Samuel Thibault To: Sergey Bugaev Cc: libc-alpha@sourceware.org, bug-hurd Subject: Re: [RFC PATCH glibc 16/34] hurd: Add sys/ucontext.h and sigcontext.h for x86_64 Message-ID: <20230410192136.ec7crzqgvvwej7qe@begin> Mail-Followup-To: Sergey Bugaev , libc-alpha@sourceware.org, bug-hurd References: <20230319151017.531737-1-bugaevc@gmail.com> <20230319151017.531737-17-bugaevc@gmail.com> <20230410183907.7w55cg675fgoae6k@begin> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: I am not organized User-Agent: NeoMutt/20170609 (1.8.3) X-Spam-Status: No, score=-6.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,KAM_NUMSUBJECT,SPF_HELO_PASS,SPF_PASS,TXREP autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Sergey Bugaev, le lun. 10 avril 2023 22:07:33 +0300, a ecrit: > On Mon, Apr 10, 2023, 21:39 Samuel Thibault wrote: > > Note that I have pushed sysdeps/mach/hurd/x86_64/sys/ucontext.h to > > sysdeps/x86_64/sys/ucontext.h since it's not mach-specific, and Linux > > has its own for x86. > > It's not technically Mach specific, but it's arranged the same way as > Mach's struct i386_thread_state, It doesn't need to be. > and code in hurdsig.c relies on this. Yes, but that can surely be changed to fix the mapping? Samuel