summaryrefslogtreecommitdiffstats
path: root/sys/amd64/linux32
diff options
context:
space:
mode:
authornetchild <netchild@FreeBSD.org>2006-03-18 18:20:17 +0000
committernetchild <netchild@FreeBSD.org>2006-03-18 18:20:17 +0000
commitc1829f604cdf8a3f393bfa6cb85fe9a6d4908919 (patch)
tree0bfbd4f21076e4935e7376b8d0502c8d258d4cfa /sys/amd64/linux32
parentd4f801f4ab01a2c0d88e59ddabc9757533800554 (diff)
downloadFreeBSD-src-c1829f604cdf8a3f393bfa6cb85fe9a6d4908919.zip
FreeBSD-src-c1829f604cdf8a3f393bfa6cb85fe9a6d4908919.tar.gz
Get rid of the need of COMPAT_43 in the linuxolator.
Submitted by: Divacky Roman <xdivac02@stud.fit.vutbr.cz> Obtained from: DragonFly (some parts)
Diffstat (limited to 'sys/amd64/linux32')
-rw-r--r--sys/amd64/linux32/syscalls.master14
1 files changed, 5 insertions, 9 deletions
diff --git a/sys/amd64/linux32/syscalls.master b/sys/amd64/linux32/syscalls.master
index 8e38b5f..8ccb359 100644
--- a/sys/amd64/linux32/syscalls.master
+++ b/sys/amd64/linux32/syscalls.master
@@ -11,7 +11,7 @@
; there is no audit event for the call at this time. For the
; case where the event exists, but we don't want auditing, the
; event should be #defined to AUE_NULL in audit_kevents.h.
-; type one of STD, OBSOL, UNIMPL, COMPAT
+; type one of STD, OBSOL, UNIMPL
; name psuedo-prototype of syscall routine
; If one of the following alts is different, then all appear:
; altname name of system call if different
@@ -21,12 +21,9 @@
; types:
; STD always included
-; COMPAT included on COMPAT #ifdef
-; LIBCOMPAT included on COMPAT #ifdef, and placed in syscall.h
; OBSOL obsolete, not included in system, only specifies name
; UNIMPL not implemented, placeholder only
-#include "opt_compat.h"
#include <sys/param.h>
#include <sys/sysent.h>
#include <sys/sysproto.h>
@@ -136,9 +133,8 @@
72 AUE_NULL MSTD { int linux_sigsuspend(l_int hist0, \
l_int hist1, l_osigset_t mask); }
73 AUE_NULL MSTD { int linux_sigpending(l_osigset_t *mask); }
-74 AUE_NULL MNOPROTO { int osethostname(char *hostname, \
- u_int len); } osethostname \
- sethostname_args int
+74 AUE_NULL MSTD { int linux_sethostname(char *hostname, \
+ u_int len); }
75 AUE_NULL MSTD { int linux_setrlimit(l_uint resource, \
struct l_rlimit *rlim); }
76 AUE_NULL MSTD { int linux_old_getrlimit(l_uint resource, \
@@ -159,7 +155,7 @@
struct l_old_select_argv *ptr); }
83 AUE_NULL MSTD { int linux_symlink(char *path, \
char *to); }
-84 AUE_NULL UNIMPL ostat
+84 AUE_NULL MSTD { int linux_stat(char *path, struct l_stat *up); }
85 AUE_NULL MSTD { int linux_readlink(char *name, \
char *buf, l_int count); }
86 AUE_NULL UNIMPL linux_uselib
@@ -173,7 +169,7 @@
91 AUE_NULL MNOPROTO { int munmap(caddr_t addr, int len); }
92 AUE_NULL MSTD { int linux_truncate(char *path, \
l_ulong length); }
-93 AUE_NULL MNOPROTO { int oftruncate(int fd, long length); }
+93 AUE_NULL MSTD { int linux_ftruncate(int fd, long length); }
94 AUE_NULL MNOPROTO { int fchmod(int fd, int mode); }
95 AUE_NULL MNOPROTO { int fchown(int fd, int uid, int gid); }
96 AUE_NULL MSTD { int linux_getpriority(int which, int who); }
OpenPOWER on IntegriCloud