Deleted Added
full compact
imgact.h (87025) imgact.h (92719)
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 * $FreeBSD: head/sys/sys/imgact.h 87025 2001-11-28 03:26:58Z jwd $
33 * $FreeBSD: head/sys/sys/imgact.h 92719 2002-03-19 20:18:42Z alfred $
34 */
35
36#ifndef _SYS_IMGACT_H_
37#define _SYS_IMGACT_H_
38
39#define MAXSHELLCMDLEN 128
40
41struct image_params {

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

57 void *auxargs; /* ELF Auxinfo structure pointer */
58 struct vm_page *firstpage; /* first page that we mapped */
59 char *fname; /* pointer to filename of executable (user space) */
60 unsigned long ps_strings; /* PS_STRINGS for BSD/OS binaries */
61 size_t auxarg_size;
62};
63
64#ifdef _KERNEL
34 */
35
36#ifndef _SYS_IMGACT_H_
37#define _SYS_IMGACT_H_
38
39#define MAXSHELLCMDLEN 128
40
41struct image_params {

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

57 void *auxargs; /* ELF Auxinfo structure pointer */
58 struct vm_page *firstpage; /* first page that we mapped */
59 char *fname; /* pointer to filename of executable (user space) */
60 unsigned long ps_strings; /* PS_STRINGS for BSD/OS binaries */
61 size_t auxarg_size;
62};
63
64#ifdef _KERNEL
65int exec_check_permissions __P((struct image_params *));
66int exec_extract_strings __P((struct image_params *));
67int exec_new_vmspace __P((struct image_params *));
68int exec_shell_imgact __P((struct image_params *));
65int exec_check_permissions(struct image_params *);
66int exec_extract_strings(struct image_params *);
67int exec_new_vmspace(struct image_params *);
68int exec_shell_imgact(struct image_params *);
69#endif
70
71#endif /* !_SYS_IMGACT_H_ */
69#endif
70
71#endif /* !_SYS_IMGACT_H_ */