summaryrefslogtreecommitdiffstats
path: root/sys/sys/sysent.h
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2015-11-28 08:49:07 +0000
committerkib <kib@FreeBSD.org>2015-11-28 08:49:07 +0000
commitee461b4bba5e3e988e78aa3c79e194777f044200 (patch)
treeb9a0c532d3abaab0e408bd8275054ce51741524f /sys/sys/sysent.h
parent01e10e7a39e449f2c4353393f43ddd262095bf01 (diff)
downloadFreeBSD-src-ee461b4bba5e3e988e78aa3c79e194777f044200.zip
FreeBSD-src-ee461b4bba5e3e988e78aa3c79e194777f044200.tar.gz
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
Diffstat (limited to 'sys/sys/sysent.h')
-rw-r--r--sys/sys/sysent.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/sys/sysent.h b/sys/sys/sysent.h
index 7e25ee4..fe78fb4 100644
--- a/sys/sys/sysent.h
+++ b/sys/sys/sysent.h
@@ -92,8 +92,6 @@ struct sysentvec {
int sv_size; /* number of entries */
struct sysent *sv_table; /* pointer to sysent */
u_int sv_mask; /* optional mask to index */
- int sv_sigsize; /* size of signal translation table */
- int *sv_sigtbl; /* signal translation table */
int sv_errsize; /* size of errno translation table */
int *sv_errtbl; /* errno translation table */
int (*sv_transtrap)(int, int);
@@ -104,8 +102,6 @@ struct sysentvec {
/* send signal */
char *sv_sigcode; /* start of sigtramp code */
int *sv_szsigcode; /* size of sigtramp code */
- void (*sv_prepsyscall)(struct trapframe *, int *, u_int *,
- caddr_t *);
char *sv_name; /* name of binary type */
int (*sv_coredump)(struct thread *, struct vnode *, off_t, int);
/* function to dump core, or NULL */
OpenPOWER on IntegriCloud