summaryrefslogtreecommitdiffstats
path: root/sys/alpha
diff options
context:
space:
mode:
authornetchild <netchild@FreeBSD.org>2006-03-18 18:24:38 +0000
committernetchild <netchild@FreeBSD.org>2006-03-18 18:24:38 +0000
commit8fd66644120b8702f4e437382895c11d47db3acd (patch)
treea883716329bf9404082357808b2a50201c92274a /sys/alpha
parentc1829f604cdf8a3f393bfa6cb85fe9a6d4908919 (diff)
downloadFreeBSD-src-8fd66644120b8702f4e437382895c11d47db3acd.zip
FreeBSD-src-8fd66644120b8702f4e437382895c11d47db3acd.tar.gz
regen after COMPAT_43 removal
Diffstat (limited to 'sys/alpha')
-rw-r--r--sys/alpha/linux/linux_proto.h12
-rw-r--r--sys/alpha/linux/linux_syscall.h6
-rw-r--r--sys/alpha/linux/linux_sysent.c6
-rw-r--r--sys/alpha/linux/linux_sysvec.c7
4 files changed, 17 insertions, 14 deletions
diff --git a/sys/alpha/linux/linux_proto.h b/sys/alpha/linux/linux_proto.h
index b9f8ce5..4d844b8 100644
--- a/sys/alpha/linux/linux_proto.h
+++ b/sys/alpha/linux/linux_proto.h
@@ -3,7 +3,7 @@
*
* DO NOT EDIT-- this file is automatically generated.
* $FreeBSD$
- * created from FreeBSD: src/sys/alpha/linux/syscalls.master,v 1.66 2006/02/06 01:13:47 rwatson Exp
+ * created from FreeBSD: src/sys/alpha/linux/syscalls.master,v 1.67 2006/03/18 18:20:15 netchild Exp
*/
#ifndef _LINUX_SYSPROTO_H_
@@ -170,6 +170,10 @@ struct osf1_setitimer_args {
struct linux_gethostname_args {
register_t dummy;
};
+struct linux_sethostname_args {
+ char hostname_l_[PADL_(char *)]; char * hostname; char hostname_r_[PADR_(char *)];
+ char len_l_[PADL_(u_int)]; u_int len; char len_r_[PADR_(u_int)];
+};
struct linux_getdtablesize_args {
register_t dummy;
};
@@ -231,6 +235,10 @@ struct linux_truncate_args {
char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
char length_l_[PADL_(l_ulong)]; l_ulong length; char length_r_[PADR_(l_ulong)];
};
+struct linux_ftruncate_args {
+ char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
+ char length_l_[PADL_(long)]; long length; char length_r_[PADR_(long)];
+};
struct osf1_sendto_args {
char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)];
char buf_l_[PADL_(caddr_t)]; caddr_t buf; char buf_r_[PADR_(caddr_t)];
@@ -620,6 +628,7 @@ int linux_setgroups(struct thread *, struct linux_setgroups_args *);
int linux_getgroups(struct thread *, struct linux_getgroups_args *);
int osf1_setitimer(struct thread *, struct osf1_setitimer_args *);
int linux_gethostname(struct thread *, struct linux_gethostname_args *);
+int linux_sethostname(struct thread *, struct linux_sethostname_args *);
int linux_getdtablesize(struct thread *, struct linux_getdtablesize_args *);
int linux_newfstat(struct thread *, struct linux_newfstat_args *);
int linux_fcntl(struct thread *, struct linux_fcntl_args *);
@@ -635,6 +644,7 @@ int osf1_gettimeofday(struct thread *, struct osf1_gettimeofday_args *);
int osf1_getrusage(struct thread *, struct osf1_getrusage_args *);
int linux_rename(struct thread *, struct linux_rename_args *);
int linux_truncate(struct thread *, struct linux_truncate_args *);
+int linux_ftruncate(struct thread *, struct linux_ftruncate_args *);
int osf1_sendto(struct thread *, struct osf1_sendto_args *);
int linux_socketpair(struct thread *, struct linux_socketpair_args *);
int linux_mkdir(struct thread *, struct linux_mkdir_args *);
diff --git a/sys/alpha/linux/linux_syscall.h b/sys/alpha/linux/linux_syscall.h
index 940494e..3de9846 100644
--- a/sys/alpha/linux/linux_syscall.h
+++ b/sys/alpha/linux/linux_syscall.h
@@ -3,7 +3,7 @@
*
* DO NOT EDIT-- this file is automatically generated.
* $FreeBSD$
- * created from FreeBSD: src/sys/alpha/linux/syscalls.master,v 1.66 2006/02/06 01:13:47 rwatson Exp
+ * created from FreeBSD: src/sys/alpha/linux/syscalls.master,v 1.67 2006/03/18 18:20:15 netchild Exp
*/
#define LINUX_SYS_exit 1
@@ -57,7 +57,7 @@
#define LINUX_SYS_linux_getgroups 80
#define LINUX_SYS_osf1_setitimer 83
#define LINUX_SYS_linux_gethostname 87
-#define LINUX_SYS_osethostname 88
+#define LINUX_SYS_linux_sethostname 88
#define LINUX_SYS_linux_getdtablesize 89
#define LINUX_SYS_dup2 90
#define LINUX_SYS_linux_newfstat 91
@@ -91,7 +91,7 @@
#define LINUX_SYS_setregid 127
#define LINUX_SYS_linux_rename 128
#define LINUX_SYS_linux_truncate 129
-#define LINUX_SYS_oftruncate 130
+#define LINUX_SYS_linux_ftruncate 130
#define LINUX_SYS_flock 131
#define LINUX_SYS_setgid 132
#define LINUX_SYS_osf1_sendto 133
diff --git a/sys/alpha/linux/linux_sysent.c b/sys/alpha/linux/linux_sysent.c
index 08cc8fb..cec0196 100644
--- a/sys/alpha/linux/linux_sysent.c
+++ b/sys/alpha/linux/linux_sysent.c
@@ -3,7 +3,7 @@
*
* DO NOT EDIT-- this file is automatically generated.
* $FreeBSD$
- * created from FreeBSD: src/sys/alpha/linux/syscalls.master,v 1.66 2006/02/06 01:13:47 rwatson Exp
+ * created from FreeBSD: src/sys/alpha/linux/syscalls.master,v 1.67 2006/03/18 18:20:15 netchild Exp
*/
#include <bsm/audit_kevents.h>
@@ -108,7 +108,7 @@ struct sysent linux_sysent[] = {
{ 0, (sy_call_t *)nosys, AUE_NULL }, /* 85 = */
{ 0, (sy_call_t *)nosys, AUE_NULL }, /* 86 = osf_getitimer */
{ SYF_MPSAFE | 0, (sy_call_t *)linux_gethostname, AUE_SYSCTL }, /* 87 = linux_gethostname */
- { SYF_MPSAFE | AS(sethostname_args), (sy_call_t *)osethostname, AUE_SYSCTL }, /* 88 = osethostname */
+ { SYF_MPSAFE | AS(linux_sethostname_args), (sy_call_t *)linux_sethostname, AUE_SYSCTL }, /* 88 = linux_sethostname */
{ SYF_MPSAFE | 0, (sy_call_t *)linux_getdtablesize, AUE_GETDTABLESIZE }, /* 89 = linux_getdtablesize */
{ SYF_MPSAFE | AS(dup2_args), (sy_call_t *)dup2, AUE_DUP2 }, /* 90 = dup2 */
{ SYF_MPSAFE | AS(linux_newfstat_args), (sy_call_t *)linux_newfstat, AUE_FSTAT }, /* 91 = linux_newfstat */
@@ -150,7 +150,7 @@ struct sysent linux_sysent[] = {
{ SYF_MPSAFE | AS(setregid_args), (sy_call_t *)setregid, AUE_SETREGID }, /* 127 = setregid */
{ SYF_MPSAFE | AS(linux_rename_args), (sy_call_t *)linux_rename, AUE_RENAME }, /* 128 = linux_rename */
{ SYF_MPSAFE | AS(linux_truncate_args), (sy_call_t *)linux_truncate, AUE_TRUNCATE }, /* 129 = linux_truncate */
- { SYF_MPSAFE | AS(oftruncate_args), (sy_call_t *)oftruncate, AUE_FTRUNCATE }, /* 130 = oftruncate */
+ { SYF_MPSAFE | AS(linux_ftruncate_args), (sy_call_t *)linux_ftruncate, AUE_FTRUNCATE }, /* 130 = linux_ftruncate */
{ SYF_MPSAFE | AS(flock_args), (sy_call_t *)flock, AUE_FLOCK }, /* 131 = flock */
{ SYF_MPSAFE | AS(setgid_args), (sy_call_t *)setgid, AUE_SETGID }, /* 132 = setgid */
{ SYF_MPSAFE | AS(osf1_sendto_args), (sy_call_t *)osf1_sendto, AUE_SENDTO }, /* 133 = osf1_sendto */
diff --git a/sys/alpha/linux/linux_sysvec.c b/sys/alpha/linux/linux_sysvec.c
index 61f7875..334e252 100644
--- a/sys/alpha/linux/linux_sysvec.c
+++ b/sys/alpha/linux/linux_sysvec.c
@@ -29,13 +29,6 @@
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
-/* XXX we use functions that might not exist. */
-#include "opt_compat.h"
-
-#ifndef COMPAT_43
-#error "Unable to compile Linux-emulator due to missing COMPAT_43 option!"
-#endif
-
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/exec.h>
OpenPOWER on IntegriCloud