1/*
2 * Copyright (c) 1998 Mark Newton
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
--- 13 unchanged lines hidden (view full) ---
22 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
23 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
24 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
28 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 *
30 * $FreeBSD: head/sys/compat/svr4/svr4_sysvec.c 112470 2003-03-21 19:49:34Z jhb $
31 */
32
33/* XXX we use functions that might not exist. */
34#include "opt_compat.h"
35
36#ifndef COMPAT_43
37#error "Unable to compile SVR4-emulator due to missing COMPAT_43 option!"
38#endif
--- 17 unchanged lines hidden (view full) ---
56#include <machine/cpu.h>
57#include <netinet/in.h>
58
59#include <compat/svr4/svr4.h>
60#include <compat/svr4/svr4_types.h>
61#include <compat/svr4/svr4_syscall.h>
62#include <compat/svr4/svr4_signal.h>
63#include <compat/svr4/svr4_sockio.h>
64#include <compat/svr4/svr4_socket.h>
65#include <compat/svr4/svr4_errno.h>
66#include <compat/svr4/svr4_proto.h>
67#include <compat/svr4/svr4_siginfo.h>
68#include <compat/svr4/svr4_util.h>
69
70int bsd_to_svr4_errno[ELAST+1] = {
71 0,
72 SVR4_EPERM,
--- 349 unchanged lines hidden ---
2 * Copyright (c) 1998 Mark Newton
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
--- 13 unchanged lines hidden (view full) ---
22 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
23 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
24 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
28 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 *
30 * $FreeBSD: head/sys/compat/svr4/svr4_sysvec.c 112470 2003-03-21 19:49:34Z jhb $
31 */
32
33/* XXX we use functions that might not exist. */
34#include "opt_compat.h"
35
36#ifndef COMPAT_43
37#error "Unable to compile SVR4-emulator due to missing COMPAT_43 option!"
38#endif
--- 17 unchanged lines hidden (view full) ---
56#include <machine/cpu.h>
57#include <netinet/in.h>
58
59#include <compat/svr4/svr4.h>
60#include <compat/svr4/svr4_types.h>
61#include <compat/svr4/svr4_syscall.h>
62#include <compat/svr4/svr4_signal.h>
63#include <compat/svr4/svr4_sockio.h>
64#include <compat/svr4/svr4_socket.h>
65#include <compat/svr4/svr4_errno.h>
66#include <compat/svr4/svr4_proto.h>
67#include <compat/svr4/svr4_siginfo.h>
68#include <compat/svr4/svr4_util.h>
69
70int bsd_to_svr4_errno[ELAST+1] = {
71 0,
72 SVR4_EPERM,
--- 349 unchanged lines hidden ---