svr4_sysvec.c (141486) | svr4_sysvec.c (142500) |
---|---|
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 --- 15 unchanged lines hidden (view full) --- 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 31#include <sys/cdefs.h> | 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 --- 15 unchanged lines hidden (view full) --- 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 31#include <sys/cdefs.h> |
32__FBSDID("$FreeBSD: head/sys/compat/svr4/svr4_sysvec.c 141486 2005-02-07 21:53:42Z jhb $"); | 32__FBSDID("$FreeBSD: head/sys/compat/svr4/svr4_sysvec.c 142500 2005-02-25 19:34:10Z sam $"); |
33 34/* XXX we use functions that might not exist. */ 35#include "opt_compat.h" 36 37#ifndef COMPAT_43 38#error "Unable to compile SVR4-emulator due to missing COMPAT_43 option!" 39#endif 40 --- 123 unchanged lines hidden (view full) --- 164 165extern int svr4_szsigcode; 166extern char svr4_sigcode[]; 167 168struct sysentvec svr4_sysvec = { 169 SVR4_SYS_MAXSYSCALL, 170 svr4_sysent, 171 0xff, | 33 34/* XXX we use functions that might not exist. */ 35#include "opt_compat.h" 36 37#ifndef COMPAT_43 38#error "Unable to compile SVR4-emulator due to missing COMPAT_43 option!" 39#endif 40 --- 123 unchanged lines hidden (view full) --- 164 165extern int svr4_szsigcode; 166extern char svr4_sigcode[]; 167 168struct sysentvec svr4_sysvec = { 169 SVR4_SYS_MAXSYSCALL, 170 svr4_sysent, 171 0xff, |
172 SVR4_SIGTBLSZ, 173 bsd_to_svr4_sig, | 172 SVR4_NSIG-1, /* NB: signal trans table indexed with signno-1 */ 173 bsd_to_svr4_sig+1, |
174 ELAST, /* ELAST */ 175 bsd_to_svr4_errno, 176 NULL, 177 svr4_fixup, 178 svr4_sendsig, 179 svr4_sigcode, 180 &svr4_szsigcode, 181 NULL, --- 125 unchanged lines hidden --- | 174 ELAST, /* ELAST */ 175 bsd_to_svr4_errno, 176 NULL, 177 svr4_fixup, 178 svr4_sendsig, 179 svr4_sigcode, 180 &svr4_szsigcode, 181 NULL, --- 125 unchanged lines hidden --- |