Rename sys_sig[gs]etmask to sys_s[gs]etmask to match syscall names

* signal.c (SYS_FUNC(sigsetmask)): Rename to SYS_FUNC(ssetmask).
(SYS_FUNC(siggetmask)): Rename to SYS_FUNC(sgetmask).
* linux/arm/syscallent.h (sgetmask, ssetmask): Update sys_func.
* linux/bfin/syscallent.h: Likewise.
* linux/crisv10/syscallent.h: Likewise.
* linux/hppa/syscallent.h: Likewise.
* linux/i386/syscallent.h: Likewise.
* linux/m68k/syscallent.h: Likewise.
* linux/microblaze/syscallent.h: Likewise.
* linux/mips/syscallent-o32.h: Likewise.
* linux/powerpc/syscallent.h: Likewise.
* linux/powerpc64/syscallent.h: Likewise.
* linux/sh/syscallent.h: Likewise.
* linux/sh64/syscallent.h: Likewise.
* linux/sparc/syscallent.h: Likewise.
* linux/sparc64/syscallent.h: Likewise.
This commit is contained in:
Дмитрий Левин 2017-05-21 17:51:01 +00:00
parent 95ccc828fe
commit 2a2347b5bd
15 changed files with 30 additions and 30 deletions

View File

@ -94,8 +94,8 @@
[ 65] = { 0, 0, SEN(getpgrp), "getpgrp" },
[ 66] = { 0, 0, SEN(setsid), "setsid" },
[ 67] = { 3, TS, SEN(sigaction), "sigaction" },
[ 68] = { 0, TS, SEN(siggetmask), "sgetmask" },
[ 69] = { 1, TS, SEN(sigsetmask), "ssetmask" },
[ 68] = { 0, TS, SEN(sgetmask), "sgetmask" },
[ 69] = { 1, TS, SEN(ssetmask), "ssetmask" },
[ 70] = { 2, 0, SEN(setreuid16), "setreuid" },
[ 71] = { 2, 0, SEN(setregid16), "setregid" },
[ 72] = { 3, TS, SEN(sigsuspend), "sigsuspend" },

View File

@ -94,8 +94,8 @@
[ 65] = { 0, 0, SEN(getpgrp), "getpgrp" },
[ 66] = { 0, 0, SEN(setsid), "setsid" },
[ 67] = { 3, TS, SEN(sigaction), "sigaction" },
[ 68] = { 0, TS, SEN(siggetmask), "sgetmask" },
[ 69] = { 1, TS, SEN(sigsetmask), "ssetmask" },
[ 68] = { 0, TS, SEN(sgetmask), "sgetmask" },
[ 69] = { 1, TS, SEN(ssetmask), "ssetmask" },
[ 70] = { 2, 0, SEN(setreuid16), "setreuid" },
[ 71] = { 2, 0, SEN(setregid16), "setregid" },
[ 72] = { 3, TS, SEN(sigsuspend), "sigsuspend" },

View File

@ -66,8 +66,8 @@
[ 65] = { 0, 0, SEN(getpgrp), "getpgrp" },
[ 66] = { 0, 0, SEN(setsid), "setsid" },
[ 67] = { 3, TS, SEN(sigaction), "sigaction" },
[ 68] = { 0, TS, SEN(siggetmask), "sgetmask" },
[ 69] = { 1, TS, SEN(sigsetmask), "ssetmask" },
[ 68] = { 0, TS, SEN(sgetmask), "sgetmask" },
[ 69] = { 1, TS, SEN(ssetmask), "ssetmask" },
[ 70] = { 2, 0, SEN(setreuid16), "setreuid" },
[ 71] = { 2, 0, SEN(setregid16), "setregid" },
[ 72] = { 1, TS, SEN(sigsuspend), "sigsuspend" },

View File

@ -70,8 +70,8 @@
[ 65] = { 0, 0, SEN(getpgrp), "getpgrp" },
[ 66] = { 0, 0, SEN(setsid), "setsid" },
[ 67] = { 2, TF, SEN(pivotroot), "pivot_root" },
[ 68] = { 0, TS, SEN(siggetmask), "sgetmask" },
[ 69] = { 1, TS, SEN(sigsetmask), "ssetmask" },
[ 68] = { 0, TS, SEN(sgetmask), "sgetmask" },
[ 69] = { 1, TS, SEN(ssetmask), "ssetmask" },
[ 70] = { 2, 0, SEN(setreuid), "setreuid" },
[ 71] = { 2, 0, SEN(setregid), "setregid" },
[ 72] = { 3, TM, SEN(mincore), "mincore" },

View File

@ -94,8 +94,8 @@
[ 65] = { 0, 0, SEN(getpgrp), "getpgrp" },
[ 66] = { 0, 0, SEN(setsid), "setsid" },
[ 67] = { 3, TS, SEN(sigaction), "sigaction" },
[ 68] = { 0, TS, SEN(siggetmask), "sgetmask" },
[ 69] = { 1, TS, SEN(sigsetmask), "ssetmask" },
[ 68] = { 0, TS, SEN(sgetmask), "sgetmask" },
[ 69] = { 1, TS, SEN(ssetmask), "ssetmask" },
[ 70] = { 2, 0, SEN(setreuid16), "setreuid" },
[ 71] = { 2, 0, SEN(setregid16), "setregid" },
[ 72] = { 3, TS, SEN(sigsuspend), "sigsuspend" },

View File

@ -94,8 +94,8 @@
[ 65] = { 0, 0, SEN(getpgrp), "getpgrp" },
[ 66] = { 0, 0, SEN(setsid), "setsid" },
[ 67] = { 3, TS, SEN(sigaction), "sigaction" },
[ 68] = { 0, TS, SEN(siggetmask), "sgetmask" },
[ 69] = { 1, TS, SEN(sigsetmask), "ssetmask" },
[ 68] = { 0, TS, SEN(sgetmask), "sgetmask" },
[ 69] = { 1, TS, SEN(ssetmask), "ssetmask" },
[ 70] = { 2, 0, SEN(setreuid16), "setreuid" },
[ 71] = { 2, 0, SEN(setregid16), "setregid" },
[ 72] = { 3, TS, SEN(sigsuspend), "sigsuspend" },

View File

@ -94,8 +94,8 @@
[ 65] = { 0, 0, SEN(getpgrp), "getpgrp" },
[ 66] = { 0, 0, SEN(setsid), "setsid" },
[ 67] = { 3, TS, SEN(sigaction), "sigaction" },
[ 68] = { 0, TS, SEN(siggetmask), "sgetmask" },
[ 69] = { 1, TS, SEN(sigsetmask), "ssetmask" },
[ 68] = { 0, TS, SEN(sgetmask), "sgetmask" },
[ 69] = { 1, TS, SEN(ssetmask), "ssetmask" },
[ 70] = { 2, 0, SEN(setreuid16), "setreuid" },
[ 71] = { 2, 0, SEN(setregid16), "setregid" },
[ 72] = { 3, TS, SEN(sigsuspend), "sigsuspend" },

View File

@ -68,8 +68,8 @@
[4065] = { 0, 0, SEN(getpgrp), "getpgrp" },
[4066] = { 0, 0, SEN(setsid), "setsid" },
[4067] = { 3, TS, SEN(sigaction), "sigaction" },
[4068] = { 0, TS, SEN(siggetmask), "sgetmask" },
[4069] = { 1, TS, SEN(sigsetmask), "ssetmask" },
[4068] = { 0, TS, SEN(sgetmask), "sgetmask" },
[4069] = { 1, TS, SEN(ssetmask), "ssetmask" },
[4070] = { 2, 0, SEN(setreuid), "setreuid" },
[4071] = { 2, 0, SEN(setregid), "setregid" },
[4072] = { 1, TS, SEN(sigsuspend), "sigsuspend" },

View File

@ -94,8 +94,8 @@
[ 65] = { 0, 0, SEN(getpgrp), "getpgrp" },
[ 66] = { 0, 0, SEN(setsid), "setsid" },
[ 67] = { 3, TS, SEN(sigaction), "sigaction" },
[ 68] = { 0, TS, SEN(siggetmask), "sgetmask" },
[ 69] = { 1, TS, SEN(sigsetmask), "ssetmask" },
[ 68] = { 0, TS, SEN(sgetmask), "sgetmask" },
[ 69] = { 1, TS, SEN(ssetmask), "ssetmask" },
[ 70] = { 2, 0, SEN(setreuid), "setreuid" },
[ 71] = { 2, 0, SEN(setregid), "setregid" },
[ 72] = { 1, TS, SEN(sigsuspend), "sigsuspend" },

View File

@ -94,8 +94,8 @@
[ 65] = { 0, 0, SEN(getpgrp), "getpgrp" },
[ 66] = { 0, 0, SEN(setsid), "setsid" },
[ 67] = { 3, TS, SEN(sigaction), "sigaction" },
[ 68] = { 0, TS, SEN(siggetmask), "sgetmask" },
[ 69] = { 1, TS, SEN(sigsetmask), "ssetmask" },
[ 68] = { 0, TS, SEN(sgetmask), "sgetmask" },
[ 69] = { 1, TS, SEN(ssetmask), "ssetmask" },
[ 70] = { 2, 0, SEN(setreuid), "setreuid" },
[ 71] = { 2, 0, SEN(setregid), "setregid" },
[ 72] = { 1, TS, SEN(sigsuspend), "sigsuspend" },

View File

@ -96,8 +96,8 @@
[ 65] = { 0, 0, SEN(getpgrp), "getpgrp" },
[ 66] = { 0, 0, SEN(setsid), "setsid" },
[ 67] = { 3, TS, SEN(sigaction), "sigaction" },
[ 68] = { 0, TS, SEN(siggetmask), "sgetmask" },
[ 69] = { 1, TS, SEN(sigsetmask), "ssetmask" },
[ 68] = { 0, TS, SEN(sgetmask), "sgetmask" },
[ 69] = { 1, TS, SEN(ssetmask), "ssetmask" },
[ 70] = { 2, 0, SEN(setreuid16), "setreuid" },
[ 71] = { 2, 0, SEN(setregid16), "setregid" },
[ 72] = { 1, TS, SEN(sigsuspend), "sigsuspend" },

View File

@ -94,8 +94,8 @@
[ 65] = { 0, 0, SEN(getpgrp), "getpgrp" },
[ 66] = { 0, 0, SEN(setsid), "setsid" },
[ 67] = { 3, TS, SEN(sigaction), "sigaction" },
[ 68] = { 0, TS, SEN(siggetmask), "sgetmask" },
[ 69] = { 1, TS, SEN(sigsetmask), "ssetmask" },
[ 68] = { 0, TS, SEN(sgetmask), "sgetmask" },
[ 69] = { 1, TS, SEN(ssetmask), "ssetmask" },
[ 70] = { 2, 0, SEN(setreuid16), "setreuid" },
[ 71] = { 2, 0, SEN(setregid16), "setregid" },
[ 72] = { 1, TS, SEN(sigsuspend), "sigsuspend" },

View File

@ -197,8 +197,8 @@
[196] = { 3, 0, SEN(ioprio_set), "ioprio_set" },
[197] = { 0, NF, SEN(getppid), "getppid" },
[198] = { 3, TS, SEN(sigaction), "sigaction" },
[199] = { 0, TS, SEN(siggetmask), "sgetmask" },
[200] = { 1, TS, SEN(sigsetmask), "ssetmask" },
[199] = { 0, TS, SEN(sgetmask), "sgetmask" },
[200] = { 1, TS, SEN(ssetmask), "ssetmask" },
[201] = { 1, TS, SEN(sigsuspend), "sigsuspend" },
[202] = { 2, TF|TLST|TSTA, SEN(lstat), "oldlstat" },
[203] = { 1, TF, SEN(uselib), "uselib" },

View File

@ -195,8 +195,8 @@
[196] = { 3, 0, SEN(ioprio_set), "ioprio_set" },
[197] = { 0, NF, SEN(getppid), "getppid" },
[198] = { 3, TS, SEN(sigaction), "sigaction" },
[199] = { 0, TS, SEN(siggetmask), "sgetmask" },
[200] = { 1, TS, SEN(sigsetmask), "ssetmask" },
[199] = { 0, TS, SEN(sgetmask), "sgetmask" },
[200] = { 1, TS, SEN(ssetmask), "ssetmask" },
[201] = { 1, TS, SEN(sigsuspend), "sigsuspend" },
[202] = { 2, TF|TLST|TSTA, SEN(lstat), "oldlstat" },
[203] = { 1, TF, SEN(uselib), "uselib" },

View File

@ -285,7 +285,7 @@ print_sigset_addr(struct tcb *const tcp, const kernel_ulong_t addr)
print_sigset_addr_len_limit(tcp, addr, NSIG_BYTES, NSIG_BYTES);
}
SYS_FUNC(sigsetmask)
SYS_FUNC(ssetmask)
{
if (entering(tcp)) {
tprintsigmask_val("", tcp->u_arg[0]);
@ -393,7 +393,7 @@ SYS_FUNC(signal)
return 0;
}
SYS_FUNC(siggetmask)
SYS_FUNC(sgetmask)
{
if (exiting(tcp)) {
tcp->auxstr = sprintsigmask_val("mask ", tcp->u_rval);