Changeset View
Changeset View
Standalone View
Standalone View
sys/sys/sysent.h
Show First 20 Lines • Show All 142 Lines • ▼ Show 20 Lines | struct sysentvec { | ||||
int (*sv_trap)(struct thread *); | int (*sv_trap)(struct thread *); | ||||
u_long *sv_hwcap; /* Value passed in AT_HWCAP. */ | u_long *sv_hwcap; /* Value passed in AT_HWCAP. */ | ||||
u_long *sv_hwcap2; /* Value passed in AT_HWCAP2. */ | u_long *sv_hwcap2; /* Value passed in AT_HWCAP2. */ | ||||
const char *(*sv_machine_arch)(struct proc *); | const char *(*sv_machine_arch)(struct proc *); | ||||
vm_offset_t sv_fxrng_gen_base; | vm_offset_t sv_fxrng_gen_base; | ||||
void (*sv_onexec)(struct proc *, struct image_params *); | void (*sv_onexec)(struct proc *, struct image_params *); | ||||
void (*sv_onexit)(struct proc *); | void (*sv_onexit)(struct proc *); | ||||
void (*sv_ontdexit)(struct thread *td); | void (*sv_ontdexit)(struct thread *td); | ||||
bool (*sv_setid_allowed)(struct thread *td, | |||||
struct image_params *imgp); | |||||
}; | }; | ||||
#define SV_ILP32 0x000100 /* 32-bit executable. */ | #define SV_ILP32 0x000100 /* 32-bit executable. */ | ||||
#define SV_LP64 0x000200 /* 64-bit executable. */ | #define SV_LP64 0x000200 /* 64-bit executable. */ | ||||
#define SV_IA32 0x004000 /* Intel 32-bit executable. */ | #define SV_IA32 0x004000 /* Intel 32-bit executable. */ | ||||
#define SV_AOUT 0x008000 /* a.out executable. */ | #define SV_AOUT 0x008000 /* a.out executable. */ | ||||
#define SV_SHP 0x010000 /* Shared page. */ | #define SV_SHP 0x010000 /* Shared page. */ | ||||
#define SV_CAPSICUM 0x020000 /* Force cap_enter() on startup. */ | #define SV_CAPSICUM 0x020000 /* Force cap_enter() on startup. */ | ||||
▲ Show 20 Lines • Show All 158 Lines • Show Last 20 Lines |