git: 2561da0636c1 - main - linux: Fix declaration of rt_sigreturn() on arm64

Edward Tomasz Napierala trasz at FreeBSD.org
Wed Jul 21 12:25:53 UTC 2021


The branch main has been updated by trasz:

URL: https://cgit.FreeBSD.org/src/commit/?id=2561da0636c1b8504d05246258a5333b621a2433

commit 2561da0636c1b8504d05246258a5333b621a2433
Author:     Edward Tomasz Napierala <trasz at FreeBSD.org>
AuthorDate: 2021-07-21 12:20:45 +0000
Commit:     Edward Tomasz Napierala <trasz at FreeBSD.org>
CommitDate: 2021-07-21 12:21:28 +0000

    linux: Fix declaration of rt_sigreturn() on arm64
    
    On Linux, this syscall doesn't take any arguments; instead
    it assumes the context was put on the stack.
    
    Reviewed By:    dchagin
    Sponsored By:   EPSRC
    Differential Revision:  https://reviews.freebsd.org/D31251
---
 sys/arm64/linux/syscalls.master | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/sys/arm64/linux/syscalls.master b/sys/arm64/linux/syscalls.master
index dcb43553e469..ca45e33d4190 100644
--- a/sys/arm64/linux/syscalls.master
+++ b/sys/arm64/linux/syscalls.master
@@ -842,9 +842,7 @@
 		);
 	}
 139	AUE_NULL	STD	{
-		int linux_rt_sigreturn(
-		    struct l_ucontext *ucp
-		);
+		int linux_rt_sigreturn(void);
 	}
 140	AUE_SETPRIORITY	NOPROTO	{
 		int setpriority(


More information about the dev-commits-src-main mailing list