bugfix for ssetmask01.c
PATCH 1/1 bugfix for ssetmask01.c
mips architecture syscall(69) __NR_ssetmask not supported on your arch.
--- include/lapi/syscalls/mips_o32.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
include/lapi/syscalls/mips_o32.in +2 -2
@@ -66,8 +66,8 @@ getppid 64 getpgrp 65 setsid 66 sigaction 67 -sgetmask 68 -ssetmask 69 +sgetmask 4068 +ssetmask 4069 setreuid 70 setregid 71 sigsuspend 72
--
2.20.1
PATCH 1/1 bugfix for ssetmask01.c
Hi,
Quoted 1 line
mips architecture syscall(69)
__NR_ssetmasknot supported on your arch.
nit: "mips_o32: Fix __NR_s{g,s}etmask" for bug title would be more descriptive than "bugfix for ssetmask01.c". And then in text mention ssetmask01.c.
include/lapi/syscalls/mips_o32.in getppid 64 · line 70
Quoted 9 lines
+++ b/include/lapi/syscalls/mips_o32.in
include/lapi/syscalls/mips_o32.in +2
-2@@ -66,8 +66,8 @@ getppid 64 getpgrp 65 setsid 66 sigaction 67 -sgetmask 68 -ssetmask 69 +sgetmask 4068 +ssetmask 4069
But more important: I guess you're right because we don't add any offset to the numbers. But IMHO all numbers are wrong, all mips files should contain offset (01e4dc222 was wrong). mips_o32.in should be offset 4000, mips_n32.in 6000 and mips_n64.in 5000 (comparing scall32-o32.S, scall64-64.S, scall64-n32.S in arch/mips/kernel in kernel and mips{,n32,64}/bits/syscall.h.in in musl).
Kind regards,
Petr
PATCH 1/1 bugfix for ssetmask01.c
Quoted 6 lines · Petr Vorel
Hi,
Quoted 1 line
mips architecture syscall(69)
__NR_ssetmasknot supported on your arch.nit: "
mips_o32: Fix __NR_s{g,s}etmask" for bug title would be more descriptive than "bugfix forssetmask01.c". And then in text mentionssetmask01.c.
Quoted 14 lines
include/lapi/syscalls/mips_o32.in getppid 64 · line 70
Quoted 9 lines
+++ b/include/lapi/syscalls/mips_o32.in
include/lapi/syscalls/mips_o32.in +2
-2@@ -66,8 +66,8 @@ getppid 64 getpgrp 65 setsid 66 sigaction 67 -sgetmask 68 -ssetmask 69 +sgetmask 4068 +ssetmask 4069But more important: I guess you're right because we don't add any offset to the numbers. But IMHO all numbers are wrong, all mips files should contain offset (
01e4dc222was wrong). mips_o32.in should be offset 4000, mips_n32.in 6000 and mips_n64.in 5000 (comparingscall32-o32.S,scall64-64.S,scall64-n32.Sinarch/mips/kernelin kernel and mips{,n32,64}/bits/syscall.h.in in musl).
Petr is correct. I probably missed interpreting the offsets for each sub-arch. Sorry for the inconvenience. I'll send a patch to correct this later.
Thanks,
Zhe
Quoted 3 lines
Kind regards,
Petr