Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20201205180915.30950-1-sir@cmpwn.com>
Date: Sat, 05 Dec 2020 18:10:06 GMT
From: Drew DeVault <sir@...wn.com>
To: musl@...ts.openwall.com
Cc: Drew DeVault <sir@...wn.com>
Subject: [PATCH v2] riscv64: correct struct __ucontext name


This makes it consistent with other architectures and fixes some issues
with downstream software.
---
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

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.