1/*- 2 * Copyright (c) 2002 Doug Rabson 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 11 unchanged lines hidden (view full) --- 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 */ 26 27#include <sys/cdefs.h> |
28__FBSDID("$FreeBSD: head/sys/compat/freebsd32/freebsd32_misc.c 150883 2005-10-03 18:34:17Z jhb $"); |
29 30#include "opt_compat.h" 31 32#include <sys/param.h> 33#include <sys/systm.h> 34#include <sys/bus.h> 35#include <sys/exec.h> 36#include <sys/fcntl.h> --- 17 unchanged lines hidden (view full) --- 54#include <sys/selinfo.h> 55#include <sys/eventvar.h> /* Must come after sys/selinfo.h */ 56#include <sys/pipe.h> /* Must come after sys/selinfo.h */ 57#include <sys/signal.h> 58#include <sys/signalvar.h> 59#include <sys/socket.h> 60#include <sys/socketvar.h> 61#include <sys/stat.h> |
62#include <sys/syscall.h> |
63#include <sys/syscallsubr.h> 64#include <sys/sysctl.h> 65#include <sys/sysent.h> 66#include <sys/sysproto.h> 67#include <sys/systm.h> 68#include <sys/unistd.h> 69#include <sys/vnode.h> 70#include <sys/wait.h> --- 852 unchanged lines hidden (view full) --- 923#endif 924 925int 926freebsd32_semsys(struct thread *td, struct freebsd32_semsys_args *uap) 927{ 928 /* 929 * Vector through to semsys if it is loaded. 930 */ |
931 return sysent[SYS_semsys].sy_call(td, uap); |
932} 933 934int 935freebsd32_msgsys(struct thread *td, struct freebsd32_msgsys_args *uap) 936{ 937 /* 938 * Vector through to msgsys if it is loaded. 939 */ |
940 return sysent[SYS_msgsys].sy_call(td, uap); |
941} 942 943int 944freebsd32_shmsys(struct thread *td, struct freebsd32_shmsys_args *uap) 945{ 946 /* 947 * Vector through to shmsys if it is loaded. 948 */ |
949 return sysent[SYS_shmsys].sy_call(td, uap); |
950} 951 952int 953freebsd32_pread(struct thread *td, struct freebsd32_pread_args *uap) 954{ 955 struct pread_args ap; 956 957 ap.fd = uap->fd; --- 332 unchanged lines hidden --- |