Deleted Added
full compact
imgact_coff.c (40286) imgact_coff.c (40435)
1/*-
2 * Copyright (c) 1994 Sean Eric Fagan
3 * Copyright (c) 1994 S�ren Schmidt
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

--- 12 unchanged lines hidden (view full) ---

21 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
22 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
23 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
24 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
25 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
27 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28 *
1/*-
2 * Copyright (c) 1994 Sean Eric Fagan
3 * Copyright (c) 1994 S�ren Schmidt
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

--- 12 unchanged lines hidden (view full) ---

21 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
22 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
23 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
24 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
25 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
27 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28 *
29 * $Id: imgact_coff.c,v 1.31 1998/08/16 01:21:49 bde Exp $
29 * $Id: imgact_coff.c,v 1.32 1998/10/13 08:24:36 dg Exp $
30 */
31
32#include <sys/param.h>
33#include <sys/systm.h>
34#include <sys/mman.h>
35#include <sys/imgact.h>
36#include <sys/kernel.h>
37#include <sys/fcntl.h>

--- 435 unchanged lines hidden (view full) ---

473}
474
475/*
476 * Tell kern_execve.c about it, with a little help from the linker.
477 * Since `const' objects end up in the text segment, TEXT_SET is the
478 * correct directive to use. Do not staticize; used by coff LKM.
479 */
480const struct execsw coff_execsw = { exec_coff_imgact, "coff" };
30 */
31
32#include <sys/param.h>
33#include <sys/systm.h>
34#include <sys/mman.h>
35#include <sys/imgact.h>
36#include <sys/kernel.h>
37#include <sys/fcntl.h>

--- 435 unchanged lines hidden (view full) ---

473}
474
475/*
476 * Tell kern_execve.c about it, with a little help from the linker.
477 * Since `const' objects end up in the text segment, TEXT_SET is the
478 * correct directive to use. Do not staticize; used by coff LKM.
479 */
480const struct execsw coff_execsw = { exec_coff_imgact, "coff" };
481TEXT_SET(execsw_set, coff_execsw);
481EXEC_SET(coff, coff_execsw);