imgact.h (2056) | imgact.h (2112) |
---|---|
1/*- 2 * Copyright (c) 1993, David Greenman 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 --- 16 unchanged lines hidden (view full) --- 25 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 * | 1/*- 2 * Copyright (c) 1993, David Greenman 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 --- 16 unchanged lines hidden (view full) --- 25 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 * |
33 * $Id: imgact.h,v 1.3 1994/05/25 09:14:16 rgrimes Exp $ | 33 * $Id: imgact.h,v 1.4 1994/08/13 03:50:34 wollman Exp $ |
34 */ 35 36#ifndef __h_imgact 37#define __h_imgact 1 38 39#include <sys/proc.h> 40#include <sys/namei.h> 41#include <sys/vnode.h> --- 11 unchanged lines hidden (view full) --- 53 unsigned long entry_addr; /* entry address of target executable */ 54 char vmspace_destroyed; /* flag - we've blown away original vm space */ 55 char interpreted; /* flag - this executable is interpreted */ 56 char interpreter_name[64]; /* name of the interpreter */ 57}; 58 59struct execsw { 60 int (*ex_imgact)(struct image_params *); | 34 */ 35 36#ifndef __h_imgact 37#define __h_imgact 1 38 39#include <sys/proc.h> 40#include <sys/namei.h> 41#include <sys/vnode.h> --- 11 unchanged lines hidden (view full) --- 53 unsigned long entry_addr; /* entry address of target executable */ 54 char vmspace_destroyed; /* flag - we've blown away original vm space */ 55 char interpreted; /* flag - this executable is interpreted */ 56 char interpreter_name[64]; /* name of the interpreter */ 57}; 58 59struct execsw { 60 int (*ex_imgact)(struct image_params *); |
61 const char *ex_name; |
|
61}; 62 | 62}; 63 |
64#ifdef KERNEL |
|
63extern const struct execsw **execsw; 64 | 65extern const struct execsw **execsw; 66 |
67extern int exec_extract_strings(struct image_params *); 68extern int exec_new_vmspace(struct image_params *); 69#endif 70 |
|
65#endif /* __h_imgact */ | 71#endif /* __h_imgact */ |