summaryrefslogtreecommitdiffstats
path: root/sys/compat
diff options
context:
space:
mode:
Diffstat (limited to 'sys/compat')
-rw-r--r--sys/compat/freebsd32/freebsd32_proto.h40
-rw-r--r--sys/compat/freebsd32/freebsd32_syscall.h16
-rw-r--r--sys/compat/freebsd32/freebsd32_syscalls.c18
-rw-r--r--sys/compat/freebsd32/freebsd32_sysent.c18
4 files changed, 66 insertions, 26 deletions
diff --git a/sys/compat/freebsd32/freebsd32_proto.h b/sys/compat/freebsd32/freebsd32_proto.h
index 2df3ca2..060e00e 100644
--- a/sys/compat/freebsd32/freebsd32_proto.h
+++ b/sys/compat/freebsd32/freebsd32_proto.h
@@ -3,7 +3,7 @@
*
* DO NOT EDIT-- this file is automatically generated.
* $FreeBSD$
- * created from FreeBSD: src/sys/compat/freebsd32/syscalls.master,v 1.55 2005/10/15 05:57:06 ps Exp
+ * created from FreeBSD: src/sys/compat/freebsd32/syscalls.master,v 1.56 2005/10/23 10:43:14 ps Exp
*/
#ifndef _FREEBSD32_SYSPROTO_H_
@@ -56,6 +56,18 @@ struct freebsd32_recvfrom_args {
char from_l_[PADL_(u_int32_t)]; u_int32_t from; char from_r_[PADR_(u_int32_t)];
char fromlenaddr_l_[PADL_(u_int32_t)]; u_int32_t fromlenaddr; char fromlenaddr_r_[PADR_(u_int32_t)];
};
+struct freebsd3_freebsd32_sigaction_args {
+ char signum_l_[PADL_(int)]; int signum; char signum_r_[PADR_(int)];
+ char nsa_l_[PADL_(struct freebsd3_sigaction32 *)]; struct freebsd3_sigaction32 * nsa; char nsa_r_[PADR_(struct freebsd3_sigaction32 *)];
+ char osa_l_[PADL_(struct freebsd3_sigaction32 *)]; struct freebsd3_sigaction32 * osa; char osa_r_[PADR_(struct freebsd3_sigaction32 *)];
+};
+struct freebsd3_freebsd32_sigprocmask_args {
+ char how_l_[PADL_(int)]; int how; char how_r_[PADR_(int)];
+ char mask_l_[PADL_(osigset_t)]; osigset_t mask; char mask_r_[PADR_(osigset_t)];
+};
+struct freebsd3_freebsd32_sigpending_args {
+ register_t dummy;
+};
struct freebsd32_sigaltstack_args {
char ss_l_[PADL_(struct sigaltstack32 *)]; struct sigaltstack32 * ss; char ss_r_[PADR_(struct sigaltstack32 *)];
char oss_l_[PADL_(struct sigaltstack32 *)]; struct sigaltstack32 * oss; char oss_r_[PADR_(struct sigaltstack32 *)];
@@ -81,6 +93,24 @@ struct freebsd32_select_args {
char ex_l_[PADL_(fd_set *)]; fd_set * ex; char ex_r_[PADR_(fd_set *)];
char tv_l_[PADL_(struct timeval32 *)]; struct timeval32 * tv; char tv_r_[PADR_(struct timeval32 *)];
};
+struct freebsd3_freebsd32_sigvec_args {
+ char signum_l_[PADL_(int)]; int signum; char signum_r_[PADR_(int)];
+ char nsv_l_[PADL_(struct sigvec32 *)]; struct sigvec32 * nsv; char nsv_r_[PADR_(struct sigvec32 *)];
+ char osv_l_[PADL_(struct sigvec32 *)]; struct sigvec32 * osv; char osv_r_[PADR_(struct sigvec32 *)];
+};
+struct freebsd3_freebsd32_sigblock_args {
+ char mask_l_[PADL_(int)]; int mask; char mask_r_[PADR_(int)];
+};
+struct freebsd3_freebsd32_sigsetmask_args {
+ char mask_l_[PADL_(int)]; int mask; char mask_r_[PADR_(int)];
+};
+struct freebsd3_freebsd32_sigsuspend_args {
+ char mask_l_[PADL_(int)]; int mask; char mask_r_[PADR_(int)];
+};
+struct freebsd3_freebsd32_sigstack_args {
+ char nss_l_[PADL_(struct sigstack32 *)]; struct sigstack32 * nss; char nss_r_[PADR_(struct sigstack32 *)];
+ char oss_l_[PADL_(struct sigstack32 *)]; struct sigstack32 * oss; char oss_r_[PADR_(struct sigstack32 *)];
+};
struct freebsd32_gettimeofday_args {
char tp_l_[PADL_(struct timeval32 *)]; struct timeval32 * tp; char tp_r_[PADR_(struct timeval32 *)];
char tzp_l_[PADL_(struct timezone *)]; struct timezone * tzp; char tzp_r_[PADR_(struct timezone *)];
@@ -269,11 +299,19 @@ int freebsd32_wait4(struct thread *, struct freebsd32_wait4_args *);
int freebsd32_recvmsg(struct thread *, struct freebsd32_recvmsg_args *);
int freebsd32_sendmsg(struct thread *, struct freebsd32_sendmsg_args *);
int freebsd32_recvfrom(struct thread *, struct freebsd32_recvfrom_args *);
+int freebsd3_freebsd32_sigaction(struct thread *, struct freebsd3_freebsd32_sigaction_args *);
+int freebsd3_freebsd32_sigprocmask(struct thread *, struct freebsd3_freebsd32_sigprocmask_args *);
+int freebsd3_freebsd32_sigpending(struct thread *, struct freebsd3_freebsd32_sigpending_args *);
int freebsd32_sigaltstack(struct thread *, struct freebsd32_sigaltstack_args *);
int freebsd32_execve(struct thread *, struct freebsd32_execve_args *);
int freebsd32_setitimer(struct thread *, struct freebsd32_setitimer_args *);
int freebsd32_getitimer(struct thread *, struct freebsd32_getitimer_args *);
int freebsd32_select(struct thread *, struct freebsd32_select_args *);
+int freebsd3_freebsd32_sigvec(struct thread *, struct freebsd3_freebsd32_sigvec_args *);
+int freebsd3_freebsd32_sigblock(struct thread *, struct freebsd3_freebsd32_sigblock_args *);
+int freebsd3_freebsd32_sigsetmask(struct thread *, struct freebsd3_freebsd32_sigsetmask_args *);
+int freebsd3_freebsd32_sigsuspend(struct thread *, struct freebsd3_freebsd32_sigsuspend_args *);
+int freebsd3_freebsd32_sigstack(struct thread *, struct freebsd3_freebsd32_sigstack_args *);
int freebsd32_gettimeofday(struct thread *, struct freebsd32_gettimeofday_args *);
int freebsd32_getrusage(struct thread *, struct freebsd32_getrusage_args *);
int freebsd32_readv(struct thread *, struct freebsd32_readv_args *);
diff --git a/sys/compat/freebsd32/freebsd32_syscall.h b/sys/compat/freebsd32/freebsd32_syscall.h
index a6c7166..90723ec 100644
--- a/sys/compat/freebsd32/freebsd32_syscall.h
+++ b/sys/compat/freebsd32/freebsd32_syscall.h
@@ -3,7 +3,7 @@
*
* DO NOT EDIT-- this file is automatically generated.
* $FreeBSD$
- * created from FreeBSD: src/sys/compat/freebsd32/syscalls.master,v 1.55 2005/10/15 05:57:06 ps Exp
+ * created from FreeBSD: src/sys/compat/freebsd32/syscalls.master,v 1.56 2005/10/23 10:43:14 ps Exp
*/
#define FREEBSD32_SYS_syscall 0
@@ -50,11 +50,13 @@
#define FREEBSD32_SYS_getegid 43
#define FREEBSD32_SYS_profil 44
#define FREEBSD32_SYS_ktrace 45
+#define FREEBSD32_SYS_freebsd3_freebsd32_sigaction 46
#define FREEBSD32_SYS_getgid 47
+#define FREEBSD32_SYS_freebsd3_freebsd32_sigprocmask 48
#define FREEBSD32_SYS_getlogin 49
#define FREEBSD32_SYS_setlogin 50
#define FREEBSD32_SYS_acct 51
- /* 52 is obsolete osigpending */
+#define FREEBSD32_SYS_freebsd3_freebsd32_sigpending 52
#define FREEBSD32_SYS_freebsd32_sigaltstack 53
#define FREEBSD32_SYS_ioctl 54
#define FREEBSD32_SYS_reboot 55
@@ -108,11 +110,11 @@
#define FREEBSD32_SYS_setsockopt 105
#define FREEBSD32_SYS_listen 106
/* 107 is obsolete vtimes */
- /* 108 is obsolete osigvec */
- /* 109 is obsolete osigblock */
- /* 110 is obsolete osigsetmask */
- /* 111 is obsolete osigsuspend */
- /* 112 is obsolete osigstack */
+#define FREEBSD32_SYS_freebsd3_freebsd32_sigvec 108
+#define FREEBSD32_SYS_freebsd3_freebsd32_sigblock 109
+#define FREEBSD32_SYS_freebsd3_freebsd32_sigsetmask 110
+#define FREEBSD32_SYS_freebsd3_freebsd32_sigsuspend 111
+#define FREEBSD32_SYS_freebsd3_freebsd32_sigstack 112
/* 113 is obsolete orecvmsg */
/* 114 is obsolete osendmsg */
/* 115 is obsolete vtrace */
diff --git a/sys/compat/freebsd32/freebsd32_syscalls.c b/sys/compat/freebsd32/freebsd32_syscalls.c
index b1a6170..0779791 100644
--- a/sys/compat/freebsd32/freebsd32_syscalls.c
+++ b/sys/compat/freebsd32/freebsd32_syscalls.c
@@ -3,7 +3,7 @@
*
* DO NOT EDIT-- this file is automatically generated.
* $FreeBSD$
- * created from FreeBSD: src/sys/compat/freebsd32/syscalls.master,v 1.55 2005/10/15 05:57:06 ps Exp
+ * created from FreeBSD: src/sys/compat/freebsd32/syscalls.master,v 1.56 2005/10/23 10:43:14 ps Exp
*/
const char *freebsd32_syscallnames[] = {
@@ -53,13 +53,13 @@ const char *freebsd32_syscallnames[] = {
"getegid", /* 43 = getegid */
"profil", /* 44 = profil */
"ktrace", /* 45 = ktrace */
- "#46", /* 46 = osigaction */
+ "freebsd3_freebsd32_sigaction", /* 46 = freebsd3_freebsd32_sigaction */
"getgid", /* 47 = getgid */
- "#48", /* 48 = osigprocmask */
+ "freebsd3_freebsd32_sigprocmask", /* 48 = freebsd3_freebsd32_sigprocmask */
"getlogin", /* 49 = getlogin */
"setlogin", /* 50 = setlogin */
"acct", /* 51 = acct */
- "obs_osigpending", /* 52 = obsolete osigpending */
+ "freebsd3_freebsd32_sigpending", /* 52 = freebsd3_freebsd32_sigpending */
"freebsd32_sigaltstack", /* 53 = freebsd32_sigaltstack */
"ioctl", /* 54 = ioctl */
"reboot", /* 55 = reboot */
@@ -115,11 +115,11 @@ const char *freebsd32_syscallnames[] = {
"setsockopt", /* 105 = setsockopt */
"listen", /* 106 = listen */
"obs_vtimes", /* 107 = obsolete vtimes */
- "obs_osigvec", /* 108 = obsolete osigvec */
- "obs_osigblock", /* 109 = obsolete osigblock */
- "obs_osigsetmask", /* 110 = obsolete osigsetmask */
- "obs_osigsuspend", /* 111 = obsolete osigsuspend */
- "obs_osigstack", /* 112 = obsolete osigstack */
+ "freebsd3_freebsd32_sigvec", /* 108 = freebsd3_freebsd32_sigvec */
+ "freebsd3_freebsd32_sigblock", /* 109 = freebsd3_freebsd32_sigblock */
+ "freebsd3_freebsd32_sigsetmask", /* 110 = freebsd3_freebsd32_sigsetmask */
+ "freebsd3_freebsd32_sigsuspend", /* 111 = freebsd3_freebsd32_sigsuspend */
+ "freebsd3_freebsd32_sigstack", /* 112 = freebsd3_freebsd32_sigstack */
"obs_orecvmsg", /* 113 = obsolete orecvmsg */
"obs_osendmsg", /* 114 = obsolete osendmsg */
"obs_vtrace", /* 115 = obsolete vtrace */
diff --git a/sys/compat/freebsd32/freebsd32_sysent.c b/sys/compat/freebsd32/freebsd32_sysent.c
index 6e113b7..df9a39a 100644
--- a/sys/compat/freebsd32/freebsd32_sysent.c
+++ b/sys/compat/freebsd32/freebsd32_sysent.c
@@ -3,7 +3,7 @@
*
* DO NOT EDIT-- this file is automatically generated.
* $FreeBSD$
- * created from FreeBSD: src/sys/compat/freebsd32/syscalls.master,v 1.55 2005/10/15 05:57:06 ps Exp
+ * created from FreeBSD: src/sys/compat/freebsd32/syscalls.master,v 1.56 2005/10/23 10:43:14 ps Exp
*/
#include "opt_compat.h"
@@ -72,13 +72,13 @@ struct sysent freebsd32_sysent[] = {
{ SYF_MPSAFE | 0, (sy_call_t *)getegid, AUE_NULL }, /* 43 = getegid */
{ SYF_MPSAFE | AS(profil_args), (sy_call_t *)profil, AUE_NULL }, /* 44 = profil */
{ SYF_MPSAFE | AS(ktrace_args), (sy_call_t *)ktrace, AUE_NULL }, /* 45 = ktrace */
- { 0, (sy_call_t *)nosys, AUE_NULL }, /* 46 = osigaction */
+ { SYF_MPSAFE | AS(freebsd3_freebsd32_sigaction_args), (sy_call_t *)freebsd3_freebsd32_sigaction, AUE_NULL }, /* 46 = freebsd3_freebsd32_sigaction */
{ SYF_MPSAFE | 0, (sy_call_t *)getgid, AUE_NULL }, /* 47 = getgid */
- { 0, (sy_call_t *)nosys, AUE_NULL }, /* 48 = osigprocmask */
+ { SYF_MPSAFE | AS(freebsd3_freebsd32_sigprocmask_args), (sy_call_t *)freebsd3_freebsd32_sigprocmask, AUE_NULL }, /* 48 = freebsd3_freebsd32_sigprocmask */
{ SYF_MPSAFE | AS(getlogin_args), (sy_call_t *)getlogin, AUE_NULL }, /* 49 = getlogin */
{ SYF_MPSAFE | AS(setlogin_args), (sy_call_t *)setlogin, AUE_NULL }, /* 50 = setlogin */
{ SYF_MPSAFE | AS(acct_args), (sy_call_t *)acct, AUE_NULL }, /* 51 = acct */
- { 0, (sy_call_t *)nosys, AUE_NULL }, /* 52 = obsolete osigpending */
+ { SYF_MPSAFE | 0, (sy_call_t *)freebsd3_freebsd32_sigpending, AUE_NULL }, /* 52 = freebsd3_freebsd32_sigpending */
{ SYF_MPSAFE | AS(freebsd32_sigaltstack_args), (sy_call_t *)freebsd32_sigaltstack, AUE_NULL }, /* 53 = freebsd32_sigaltstack */
{ SYF_MPSAFE | AS(ioctl_args), (sy_call_t *)ioctl, AUE_NULL }, /* 54 = ioctl */
{ SYF_MPSAFE | AS(reboot_args), (sy_call_t *)reboot, AUE_NULL }, /* 55 = reboot */
@@ -134,11 +134,11 @@ struct sysent freebsd32_sysent[] = {
{ SYF_MPSAFE | AS(setsockopt_args), (sy_call_t *)setsockopt, AUE_NULL }, /* 105 = setsockopt */
{ SYF_MPSAFE | AS(listen_args), (sy_call_t *)listen, AUE_NULL }, /* 106 = listen */
{ 0, (sy_call_t *)nosys, AUE_NULL }, /* 107 = obsolete vtimes */
- { 0, (sy_call_t *)nosys, AUE_NULL }, /* 108 = obsolete osigvec */
- { 0, (sy_call_t *)nosys, AUE_NULL }, /* 109 = obsolete osigblock */
- { 0, (sy_call_t *)nosys, AUE_NULL }, /* 110 = obsolete osigsetmask */
- { 0, (sy_call_t *)nosys, AUE_NULL }, /* 111 = obsolete osigsuspend */
- { 0, (sy_call_t *)nosys, AUE_NULL }, /* 112 = obsolete osigstack */
+ { SYF_MPSAFE | AS(freebsd3_freebsd32_sigvec_args), (sy_call_t *)freebsd3_freebsd32_sigvec, AUE_NULL }, /* 108 = freebsd3_freebsd32_sigvec */
+ { SYF_MPSAFE | AS(freebsd3_freebsd32_sigblock_args), (sy_call_t *)freebsd3_freebsd32_sigblock, AUE_NULL }, /* 109 = freebsd3_freebsd32_sigblock */
+ { SYF_MPSAFE | AS(freebsd3_freebsd32_sigsetmask_args), (sy_call_t *)freebsd3_freebsd32_sigsetmask, AUE_NULL }, /* 110 = freebsd3_freebsd32_sigsetmask */
+ { SYF_MPSAFE | AS(freebsd3_freebsd32_sigsuspend_args), (sy_call_t *)freebsd3_freebsd32_sigsuspend, AUE_NULL }, /* 111 = freebsd3_freebsd32_sigsuspend */
+ { SYF_MPSAFE | AS(freebsd3_freebsd32_sigstack_args), (sy_call_t *)freebsd3_freebsd32_sigstack, AUE_NULL }, /* 112 = freebsd3_freebsd32_sigstack */
{ 0, (sy_call_t *)nosys, AUE_NULL }, /* 113 = obsolete orecvmsg */
{ 0, (sy_call_t *)nosys, AUE_NULL }, /* 114 = obsolete osendmsg */
{ 0, (sy_call_t *)nosys, AUE_NULL }, /* 115 = obsolete vtrace */
OpenPOWER on IntegriCloud