diff options
author | newton <newton@FreeBSD.org> | 1999-07-30 12:45:21 +0000 |
---|---|---|
committer | newton <newton@FreeBSD.org> | 1999-07-30 12:45:21 +0000 |
commit | 8cf6f8ca29b9ea93f0dcd250b94cfa0011b9c8a2 (patch) | |
tree | ed382a62a3cdf802db21a9d610268941823566de /sys/compat/svr4/svr4_sysvec.c | |
parent | 6f0fb2923fc8d262d8c8ea9b5cbdd3a20f858cc2 (diff) | |
download | FreeBSD-src-8cf6f8ca29b9ea93f0dcd250b94cfa0011b9c8a2.zip FreeBSD-src-8cf6f8ca29b9ea93f0dcd250b94cfa0011b9c8a2.tar.gz |
Add $Id$ tags
Diffstat (limited to 'sys/compat/svr4/svr4_sysvec.c')
-rw-r--r-- | sys/compat/svr4/svr4_sysvec.c | 44 |
1 files changed, 36 insertions, 8 deletions
diff --git a/sys/compat/svr4/svr4_sysvec.c b/sys/compat/svr4/svr4_sysvec.c index 90a63fe..646c7a5 100644 --- a/sys/compat/svr4/svr4_sysvec.c +++ b/sys/compat/svr4/svr4_sysvec.c @@ -1,3 +1,35 @@ +/* + * Copyright (c) 1998 Mark Newton + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * 3. All advertising materials mentioning features or use of this software + * must display the following acknowledgement: + * This product includes software developed by Christos Zoulas. + * 4. The name of the author may not be used to endorse or promote products + * derived from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR + * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES + * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, + * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF + * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * + * $Id$ + */ + /* XXX we use functions that might not exist. */ #include "opt_compat.h" @@ -131,7 +163,7 @@ int bsd_to_svr4_errno[ELAST+1] = { }; -static int svr4_fixup(long **stack_base, struct image_params *imgp); +static int svr4_fixup(long **stack_base, struct image_params *imgp); extern struct sysent svr4_sysent[]; #undef szsigcode @@ -153,8 +185,9 @@ struct sysentvec svr4_sysvec = { svr4_sendsig, svr4_sigcode, &svr4_szsigcode, - 0, - "SVR4" + NULL, + "SVR4", + elf_coredump }; Elf32_Brandinfo svr4_brand = { @@ -334,11 +367,6 @@ done: return error; } -/* - * XXX: wrong, for the same reason described in linux_sysvec.c - */ -static int svr4_elf_modevent __P((module_t mod, int type, void *data)); - static int svr4_elf_modevent(module_t mod, int type, void *data) { |