Skip to contentSkip to conversation

riscv: sigcontext: Correct the comment of sigreturn

PATCH Applied [email protected] 3 participants 3 messages Jun 28, 2023 – Jul 12, 2023

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 riscv: sigcontext: Correct the comment of sigreturn

From: Guo Ren <[email protected]>

The real-time signals enlarged the sigset_t type, and most architectures have changed to using rt_sigreturn as the only way. The riscv is one of them, and there is no sys_sigreturn in it. Only some old architecture preserved sys_sigreturn as part of the historical burden.

---
 arch/riscv/include/uapi/asm/sigcontext.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/riscv/include/uapi/asm/sigcontext.h +1 -1
index 8b8a8541673a..ca5b5c8391a0 100644
@@ -23,7 +23,7 @@ struct __sc_riscv_v_state {
  * Signal context structure
  *
  * This contains the context saved before a signal handler is invoked;
- * it is restored by sys_sigreturn / sys_rt_sigreturn.
+ * it is restored by sys_rt_sigreturn.
  */
 struct sigcontext {
 	struct user_regs_struct sc_regs;
Signature · 7 lines
2.36.1


_______________________________________________
linux-riscv mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-riscv
#1 lore raw
Quoted 6 lines · On Wed, 28 Jun 2023 05:12:13 -0400, [email protected] wrote:

The real-time signals enlarged the sigset_t type, and most architectures have changed to using rt_sigreturn as the only way. The riscv is one of them, and there is no sys_sigreturn in it. Only some old architecture preserved sys_sigreturn as part of the historical burden.

Applied, thanks!

[1/1] riscv: sigcontext: Correct the comment of sigreturn

      https://git.kernel.org/palmer/c/471aba2e4760

Best regards,

Signature · 1 line
Palmer Dabbelt <[email protected]>
#2 lore raw
In reply to [email protected]
This patch was applied to riscv/linux.git (for-next) by Palmer Dabbelt <[email protected]>:

Hello:

This patch was applied to riscv/linux.git (for-next) by Palmer Dabbelt <[email protected]>:

Quoted 8 lines · On Wed, 28 Jun 2023 05:12:13 -0400 you wrote:

From: Guo Ren <[email protected]>

The real-time signals enlarged the sigset_t type, and most architectures have changed to using rt_sigreturn as the only way. The riscv is one of them, and there is no sys_sigreturn in it. Only some old architecture preserved sys_sigreturn as part of the historical burden.

[...]

Here is the summary with links:
- riscv: sigcontext: Correct the comment of sigreturn

    https://git.kernel.org/riscv/c/471aba2e4760

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html