|
|
| version 1.4, 2003/11/12 01:00:33 | version 1.5, 2004/01/20 18:41:51 |
|---|---|
| Line 57 struct image_params { | Line 57 struct image_params { |
| struct vattr *attr; /* attributes of file */ | struct vattr *attr; /* attributes of file */ |
| const char *image_header; /* head of file to exec */ | const char *image_header; /* head of file to exec */ |
| unsigned long entry_addr; /* entry address of target executable */ | unsigned long entry_addr; /* entry address of target executable */ |
| char resident; /* flag - resident image */ | |
| char vmspace_destroyed; /* flag - we've blown away original vm space */ | char vmspace_destroyed; /* flag - we've blown away original vm space */ |
| char interpreted; /* flag - this executable is interpreted */ | char interpreted; /* flag - this executable is interpreted */ |
| char interpreter_name[MAXSHELLCMDLEN]; /* name of the interpreter */ | char interpreter_name[MAXSHELLCMDLEN]; /* name of the interpreter */ |
| Line 68 struct image_params { | Line 69 struct image_params { |
| #ifdef _KERNEL | #ifdef _KERNEL |
| enum exec_path_segflg {PATH_SYSSPACE, PATH_USERSPACE}; | enum exec_path_segflg {PATH_SYSSPACE, PATH_USERSPACE}; |
| struct vmspace; | |
| int exec_resident_imgact (struct image_params *); | |
| int exec_check_permissions (struct image_params *); | int exec_check_permissions (struct image_params *); |
| int exec_new_vmspace (struct image_params *); | int exec_new_vmspace (struct image_params *, struct vmspace *vmres); |
| int exec_shell_imgact (struct image_params *); | int exec_shell_imgact (struct image_params *); |
| int exec_copyin_args(struct image_args *, char *, enum exec_path_segflg, | int exec_copyin_args(struct image_args *, char *, enum exec_path_segflg, |
| char **, char **); | char **, char **); |