imgact.h (2124) | imgact.h (2165) |
---|---|
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.5 1994/08/18 22:35:43 wollman Exp $ | 33 * $Id: imgact.h,v 1.6 1994/08/19 11:45:29 davidg Exp $ |
34 */ 35 | 34 */ 35 |
36#ifndef __h_imgact 37#define __h_imgact 1 | 36#ifndef _SYS_IMGACT_H_ 37#define _SYS_IMGACT_H_ |
38 39#include <sys/proc.h> 40#include <sys/namei.h> 41#include <sys/vnode.h> 42 43struct image_params { 44 struct proc *proc; /* our process struct */ 45 struct execve_args *uap; /* syscall arguments */ --- 5 unchanged lines hidden (view full) --- 51 int stringspace; /* space left in tmp string storage area */ 52 int argc, envc; /* count of argument and environment strings */ 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 | 38 39#include <sys/proc.h> 40#include <sys/namei.h> 41#include <sys/vnode.h> 42 43struct image_params { 44 struct proc *proc; /* our process struct */ 45 struct execve_args *uap; /* syscall arguments */ --- 5 unchanged lines hidden (view full) --- 51 int stringspace; /* space left in tmp string storage area */ 52 int argc, envc; /* count of argument and environment strings */ 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 |
59#endif /* __h_imgact */ | 59#endif |