Fixup some problems in my previous commit (COMPAT_43).
Pointyhat to: netchild
This commit is contained in:
parent
4c0e9e8c79
commit
d4a3f5ddb6
@ -11,8 +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, CPT_NOA, LIBCOMPAT,
|
||||
; NODEF, NOARGS, NOPROTO
|
||||
; type one of STD, OBSOL, UNIMPL, NODEF, NOARGS, NOPROTO
|
||||
; name psuedo-prototype of syscall routine
|
||||
; If one of the following alts is different, then all appear:
|
||||
; altname name of system call if different
|
||||
@ -22,8 +21,6 @@
|
||||
|
||||
; types:
|
||||
; STD always included
|
||||
; CPT_NOA combines COMPAT with NOARGS
|
||||
; LIBCOMPAT included on COMPAT #ifdef, and placed in syscall.h
|
||||
; NOARGS same as STD except do not create structure in sys/sysproto.h
|
||||
; NODEF ??
|
||||
; NOPROTO same as STD except do not create structure or function in
|
||||
@ -31,7 +28,6 @@
|
||||
; 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>
|
||||
|
@ -29,7 +29,6 @@
|
||||
#include <sys/cdefs.h>
|
||||
__FBSDID("$FreeBSD$");
|
||||
|
||||
#include "opt_compat.h"
|
||||
#include "opt_mac.h"
|
||||
|
||||
#include <sys/param.h>
|
||||
|
@ -39,7 +39,6 @@
|
||||
#include <sys/cdefs.h>
|
||||
__FBSDID("$FreeBSD$");
|
||||
|
||||
#include "opt_compat.h"
|
||||
#include "opt_mac.h"
|
||||
|
||||
#include <sys/param.h>
|
||||
|
@ -57,8 +57,6 @@ __FBSDID("$FreeBSD$");
|
||||
#include <net/if_dl.h>
|
||||
#include <net/if_types.h>
|
||||
|
||||
#include "opt_compat.h"
|
||||
|
||||
#ifdef COMPAT_LINUX32
|
||||
#include <machine/../linux32/linux.h>
|
||||
#include <machine/../linux32/linux32_proto.h>
|
||||
|
@ -39,8 +39,6 @@ __FBSDID("$FreeBSD$");
|
||||
#include <sys/sem.h>
|
||||
#include <sys/shm.h>
|
||||
|
||||
#include "opt_compat.h"
|
||||
|
||||
#ifdef COMPAT_LINUX32
|
||||
#include <machine/../linux32/linux.h>
|
||||
#include <machine/../linux32/linux32_proto.h>
|
||||
|
@ -39,8 +39,6 @@ __FBSDID("$FreeBSD$");
|
||||
#include <sys/lock.h>
|
||||
#include <sys/mutex.h>
|
||||
|
||||
#include "opt_compat.h"
|
||||
|
||||
#ifdef COMPAT_LINUX32
|
||||
#include <machine/../linux32/linux.h>
|
||||
#else
|
||||
|
@ -30,7 +30,6 @@
|
||||
#include <sys/cdefs.h>
|
||||
__FBSDID("$FreeBSD$");
|
||||
|
||||
#include "opt_compat.h"
|
||||
#include "opt_mac.h"
|
||||
|
||||
#include <sys/param.h>
|
||||
|
@ -38,8 +38,6 @@ __FBSDID("$FreeBSD$");
|
||||
#include <sys/syscallsubr.h>
|
||||
#include <sys/sysproto.h>
|
||||
|
||||
#include "opt_compat.h"
|
||||
|
||||
#ifdef COMPAT_LINUX32
|
||||
#include <machine/../linux32/linux.h>
|
||||
#include <machine/../linux32/linux32_proto.h>
|
||||
|
@ -30,7 +30,6 @@
|
||||
__FBSDID("$FreeBSD$");
|
||||
|
||||
/* XXX we use functions that might not exist. */
|
||||
#include "opt_compat.h"
|
||||
#include "opt_inet6.h"
|
||||
|
||||
#include <sys/param.h>
|
||||
|
@ -29,7 +29,6 @@
|
||||
#include <sys/cdefs.h>
|
||||
__FBSDID("$FreeBSD$");
|
||||
|
||||
#include "opt_compat.h"
|
||||
#include "opt_mac.h"
|
||||
|
||||
#include <sys/param.h>
|
||||
|
@ -29,8 +29,6 @@
|
||||
#include <sys/cdefs.h>
|
||||
__FBSDID("$FreeBSD$");
|
||||
|
||||
#include "opt_compat.h"
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/lock.h>
|
||||
#include <sys/malloc.h>
|
||||
|
@ -27,8 +27,6 @@
|
||||
#include <sys/cdefs.h>
|
||||
__FBSDID("$FreeBSD$");
|
||||
|
||||
#include "opt_compat.h"
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/lock.h>
|
||||
#include <sys/malloc.h>
|
||||
|
@ -141,7 +141,7 @@
|
||||
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_SYSCTL MNOPROTO { int linux_sethostname(char *hostname, \
|
||||
74 AUE_SYSCTL MSTD { int linux_sethostname(char *hostname, \
|
||||
u_int len); }
|
||||
75 AUE_SETRLIMIT MSTD { int linux_setrlimit(l_uint resource, \
|
||||
struct l_rlimit *rlim); }
|
||||
@ -162,7 +162,7 @@
|
||||
82 AUE_SELECT MSTD { int linux_old_select( \
|
||||
struct l_old_select_argv *ptr); }
|
||||
83 AUE_SYMLINK MSTD { int linux_symlink(char *path, char *to); }
|
||||
84 AUE_STAT MNOPROTO { int linux_stat(char *path, struct ostat *up); }
|
||||
84 AUE_STAT MSTD { int linux_lstat(char *path, struct ostat *up); }
|
||||
85 AUE_READLINK MSTD { int linux_readlink(char *name, char *buf, \
|
||||
l_int count); }
|
||||
86 AUE_USELIB STD { int linux_uselib(char *library); }
|
||||
@ -175,7 +175,7 @@
|
||||
91 AUE_MUNMAP MNOPROTO { int munmap(caddr_t addr, int len); }
|
||||
92 AUE_TRUNCATE MSTD { int linux_truncate(char *path, \
|
||||
l_ulong length); }
|
||||
93 AUE_FTRUNCATE MNOPROTO { int linux_ftruncate(int fd, long length); }
|
||||
93 AUE_FTRUNCATE MSTD { int linux_ftruncate(int fd, long length); }
|
||||
94 AUE_FCHMOD MNOPROTO { int fchmod(int fd, int mode); }
|
||||
95 AUE_FCHOWN MNOPROTO { int fchown(int fd, int uid, int gid); }
|
||||
96 AUE_GETPRIORITY MSTD { int linux_getpriority(int which, int who); }
|
||||
|
Loading…
Reference in New Issue
Block a user