Changeset View
Changeset View
Standalone View
Standalone View
sys/compat/linux/linux_emul.h
Show First 20 Lines • Show All 44 Lines • ▼ Show 20 Lines | struct linux_emuldata { | ||||
int flags; /* thread emuldata flags */ | int flags; /* thread emuldata flags */ | ||||
int em_tid; /* thread id */ | int em_tid; /* thread id */ | ||||
struct linux_robust_list_head *robust_futexes; | struct linux_robust_list_head *robust_futexes; | ||||
}; | }; | ||||
struct linux_emuldata *em_find(struct thread *); | struct linux_emuldata *em_find(struct thread *); | ||||
int linux_exec_imgact_try(struct image_params *); | |||||
void linux_proc_init(struct thread *, struct thread *, bool); | void linux_proc_init(struct thread *, struct thread *, bool); | ||||
void linux_on_exit(struct proc *); | void linux_on_exit(struct proc *); | ||||
void linux_schedtail(struct thread *); | void linux_schedtail(struct thread *); | ||||
void linux_on_exec(struct proc *, struct image_params *); | int linux_on_exec(struct proc *, struct image_params *); | ||||
void linux_thread_dtor(struct thread *); | void linux_thread_dtor(struct thread *); | ||||
int linux_common_execve(struct thread *, struct image_args *); | int linux_common_execve(struct thread *, struct image_args *); | ||||
/* process emuldata flags */ | /* process emuldata flags */ | ||||
#define LINUX_XDEPR_REQUEUEOP 0x00000001 /* uses deprecated | #define LINUX_XDEPR_REQUEUEOP 0x00000001 /* uses deprecated | ||||
futex REQUEUE op*/ | futex REQUEUE op*/ | ||||
#define LINUX_XUNSUP_EPOLL 0x00000002 /* unsupported epoll events */ | #define LINUX_XUNSUP_EPOLL 0x00000002 /* unsupported epoll events */ | ||||
#define LINUX_XUNSUP_FUTEXPIOP 0x00000004 /* uses unsupported pi futex */ | #define LINUX_XUNSUP_FUTEXPIOP 0x00000004 /* uses unsupported pi futex */ | ||||
Show All 19 Lines |