]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Remove sv_prepsyscall, sv_sigsize and sv_sigtbl members of the struct
authorkib <kib@FreeBSD.org>
Sat, 28 Nov 2015 08:49:07 +0000 (08:49 +0000)
committerkib <kib@FreeBSD.org>
Sat, 28 Nov 2015 08:49:07 +0000 (08:49 +0000)
commitee461b4bba5e3e988e78aa3c79e194777f044200
treeb9a0c532d3abaab0e408bd8275054ce51741524f
parent01e10e7a39e449f2c4353393f43ddd262095bf01
Remove sv_prepsyscall, sv_sigsize and sv_sigtbl members of the struct
sysent.

sv_prepsyscall is unused.

sv_sigsize and sv_sigtbl translate signal number from the FreeBSD
namespace into the ABI domain.  It is only utilized on i386 for iBCS2
binaries.  The issue with this approach is that signals for iBCS2 were
delivered with the FreeBSD signal frame layout, which does not follow
iBCS2.  The same note is true for any other potential user if
sv_sigtbl.  In other words, if ABI needs signal number translation, it
really needs custom sv_sendsig method instead.

Sponsored by: The FreeBSD Foundation
18 files changed:
sys/amd64/amd64/elf_machdep.c
sys/amd64/linux/linux_sysvec.c
sys/amd64/linux32/linux32_sysvec.c
sys/arm/arm/elf_machdep.c
sys/arm64/arm64/elf_machdep.c
sys/compat/ia32/ia32_sysvec.c
sys/compat/svr4/svr4_sysvec.c
sys/i386/i386/elf_machdep.c
sys/i386/i386/machdep.c
sys/i386/linux/linux_sysvec.c
sys/kern/imgact_aout.c
sys/kern/init_main.c
sys/mips/mips/elf_machdep.c
sys/mips/mips/freebsd32_machdep.c
sys/powerpc/powerpc/elf32_machdep.c
sys/powerpc/powerpc/elf64_machdep.c
sys/sparc64/sparc64/elf_machdep.c
sys/sys/sysent.h