svr4_sysvec.c (71697) | svr4_sysvec.c (72091) |
---|---|
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 * | 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 71697 2001-01-26 23:54:40Z jhb $ | 30 * $FreeBSD: head/sys/compat/svr4/svr4_sysvec.c 72091 2001-02-06 11:21:58Z asmodai $ |
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 --- 184 unchanged lines hidden (view full) --- 223 224 (*stack_base)--; 225 **stack_base = (int)imgp->argc; 226 return 0; 227} 228 229/* 230 * Search an alternate path before passing pathname arguments on | 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 --- 184 unchanged lines hidden (view full) --- 223 224 (*stack_base)--; 225 **stack_base = (int)imgp->argc; 226 return 0; 227} 228 229/* 230 * Search an alternate path before passing pathname arguments on |
231 * to system calls. Useful for keeping a seperate 'emulation tree'. | 231 * to system calls. Useful for keeping a separate 'emulation tree'. |
232 * 233 * If cflag is set, we check if an attempt can be made to create 234 * the named file, i.e. we check if the directory it should 235 * be in exists. 236 * 237 * Code shamelessly stolen by Mark Newton from IBCS2 emulation code. 238 */ 239int --- 168 unchanged lines hidden --- | 232 * 233 * If cflag is set, we check if an attempt can be made to create 234 * the named file, i.e. we check if the directory it should 235 * be in exists. 236 * 237 * Code shamelessly stolen by Mark Newton from IBCS2 emulation code. 238 */ 239int --- 168 unchanged lines hidden --- |