aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/init_main.c
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2015-11-28 08:49:07 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2015-11-28 08:49:07 +0000
commit724f4b62b05f46852a2e0277d2e677ece24e06e9 (patch)
treeb9a0c532d3abaab0e408bd8275054ce51741524f /sys/kern/init_main.c
parent493a48901f42aab140a4ef72bd0811d156875331 (diff)
downloadsrc-724f4b62b05f46852a2e0277d2e677ece24e06e9.tar.gz
src-724f4b62b05f46852a2e0277d2e677ece24e06e9.zip
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
Notes
Notes: svn path=/head/; revision=291420
Diffstat (limited to 'sys/kern/init_main.c')
-rw-r--r--sys/kern/init_main.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/kern/init_main.c b/sys/kern/init_main.c
index d24827d62452..f0cd3c8f3ab3 100644
--- a/sys/kern/init_main.c
+++ b/sys/kern/init_main.c
@@ -387,8 +387,6 @@ struct sysentvec null_sysvec = {
.sv_size = 0,
.sv_table = NULL,
.sv_mask = 0,
- .sv_sigsize = 0,
- .sv_sigtbl = NULL,
.sv_errsize = 0,
.sv_errtbl = NULL,
.sv_transtrap = NULL,
@@ -396,7 +394,6 @@ struct sysentvec null_sysvec = {
.sv_sendsig = NULL,
.sv_sigcode = NULL,
.sv_szsigcode = NULL,
- .sv_prepsyscall = NULL,
.sv_name = "null",
.sv_coredump = NULL,
.sv_imgact_try = NULL,