Changeset View
Changeset View
Standalone View
Standalone View
sys/sys/imgact.h
Show First 20 Lines • Show All 104 Lines • ▼ Show 20 Lines | |||||
int exec_args_add_env(struct image_args *args, const char *envp, | int exec_args_add_env(struct image_args *args, const char *envp, | ||||
enum uio_seg segflg); | enum uio_seg segflg); | ||||
int exec_args_add_fname(struct image_args *args, const char *fname, | int exec_args_add_fname(struct image_args *args, const char *fname, | ||||
enum uio_seg segflg); | enum uio_seg segflg); | ||||
int exec_args_adjust_args(struct image_args *args, size_t consume, | int exec_args_adjust_args(struct image_args *args, size_t consume, | ||||
ssize_t extend); | ssize_t extend); | ||||
char *exec_args_get_begin_envv(struct image_args *args); | char *exec_args_get_begin_envv(struct image_args *args); | ||||
int exec_check_permissions(struct image_params *); | int exec_check_permissions(struct image_params *); | ||||
register_t *exec_copyout_strings(struct image_params *); | int exec_copyout_strings(struct image_params *, register_t **); | ||||
void exec_free_args(struct image_args *); | void exec_free_args(struct image_args *); | ||||
int exec_new_vmspace(struct image_params *, struct sysentvec *); | int exec_new_vmspace(struct image_params *, struct sysentvec *); | ||||
void exec_setregs(struct thread *, struct image_params *, u_long); | void exec_setregs(struct thread *, struct image_params *, u_long); | ||||
int exec_shell_imgact(struct image_params *); | int exec_shell_imgact(struct image_params *); | ||||
int exec_copyin_args(struct image_args *, const char *, enum uio_seg, | int exec_copyin_args(struct image_args *, const char *, enum uio_seg, | ||||
char **, char **); | char **, char **); | ||||
int exec_copyin_data_fds(struct thread *, struct image_args *, const void *, | int exec_copyin_data_fds(struct thread *, struct image_args *, const void *, | ||||
size_t, const int *, size_t); | size_t, const int *, size_t); | ||||
int pre_execve(struct thread *td, struct vmspace **oldvmspace); | int pre_execve(struct thread *td, struct vmspace **oldvmspace); | ||||
void post_execve(struct thread *td, int error, struct vmspace *oldvmspace); | void post_execve(struct thread *td, int error, struct vmspace *oldvmspace); | ||||
#endif | #endif | ||||
#endif /* !_SYS_IMGACT_H_ */ | #endif /* !_SYS_IMGACT_H_ */ |