From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.3 required=5.0 tests=MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 17769 invoked from network); 6 Dec 2020 08:51:51 -0000 Received: from mother.openwall.net (195.42.179.200) by inbox.vuxu.org with ESMTPUTF8; 6 Dec 2020 08:51:51 -0000 Received: (qmail 24389 invoked by uid 550); 6 Dec 2020 08:51:46 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Reply-To: musl@lists.openwall.com Received: (qmail 24368 invoked from network); 6 Dec 2020 08:51:46 -0000 Date: Sun, 6 Dec 2020 09:51:34 +0100 From: Szabolcs Nagy To: Drew DeVault Cc: musl@lists.openwall.com Message-ID: <20201206085134.GS1370092@port70.net> Mail-Followup-To: Drew DeVault , musl@lists.openwall.com References: <20201205180915.30950-1-sir@cmpwn.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201205180915.30950-1-sir@cmpwn.com> Subject: Re: [musl] [PATCH v2] riscv64: correct struct __ucontext name * Drew DeVault [2020-12-05 18:10:06 +0000]: > This makes it consistent with other architectures and fixes some issues > with downstream software. which software? glibc uses struct ucontext_t too and user code should use ucontext_t without struct. > --- > v1 missed a spot. Please Cc me on replies. > > arch/riscv64/bits/signal.h | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/arch/riscv64/bits/signal.h b/arch/riscv64/bits/signal.h > index b006334f..287367db 100644 > --- a/arch/riscv64/bits/signal.h > +++ b/arch/riscv64/bits/signal.h > @@ -60,10 +60,10 @@ struct sigaltstack { > size_t ss_size; > }; > > -typedef struct ucontext_t > +typedef struct __ucontext > { > unsigned long uc_flags; > - struct ucontext_t *uc_link; > + struct __ucontext *uc_link; > stack_t uc_stack; > sigset_t uc_sigmask; > mcontext_t uc_mcontext; > -- > 2.29.2