Deleted Added
full compact
imgact.h (25114) imgact.h (32446)
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.14 1997/02/22 09:45:17 peter Exp $
33 * $Id: imgact.h,v 1.15 1997/04/23 22:02:37 ache Exp $
34 */
35
36#ifndef _SYS_IMGACT_H_
37#define _SYS_IMGACT_H_
38
39struct image_params {
40 struct proc *proc; /* our process struct */
41 struct execve_args *uap; /* syscall arguments */

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

47 int stringspace; /* space left in tmp string storage area */
48 int argc, envc; /* count of argument and environment strings */
49 char *argv0; /* Replacement for argv[0] when interpreting */
50 unsigned long entry_addr; /* entry address of target executable */
51 char vmspace_destroyed; /* flag - we've blown away original vm space */
52 char interpreted; /* flag - this executable is interpreted */
53 char interpreter_name[64]; /* name of the interpreter */
54 void *auxargs; /* ELF Auxinfo structure pointer */
34 */
35
36#ifndef _SYS_IMGACT_H_
37#define _SYS_IMGACT_H_
38
39struct image_params {
40 struct proc *proc; /* our process struct */
41 struct execve_args *uap; /* syscall arguments */

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

47 int stringspace; /* space left in tmp string storage area */
48 int argc, envc; /* count of argument and environment strings */
49 char *argv0; /* Replacement for argv[0] when interpreting */
50 unsigned long entry_addr; /* entry address of target executable */
51 char vmspace_destroyed; /* flag - we've blown away original vm space */
52 char interpreted; /* flag - this executable is interpreted */
53 char interpreter_name[64]; /* name of the interpreter */
54 void *auxargs; /* ELF Auxinfo structure pointer */
55 struct vm_page *firstpage; /* first page that we mapped */
55};
56
57#ifdef KERNEL
58int exec_extract_strings __P((struct image_params *));
59int exec_new_vmspace __P((struct image_params *));
60#endif
61
62#endif /* !_SYS_IMGACT_H_ */
56};
57
58#ifdef KERNEL
59int exec_extract_strings __P((struct image_params *));
60int exec_new_vmspace __P((struct image_params *));
61#endif
62
63#endif /* !_SYS_IMGACT_H_ */