Changeset View
Changeset View
Standalone View
Standalone View
sys/sys/sysent.h
Show All 32 Lines | |||||
#define _SYS_SYSENT_H_ | #define _SYS_SYSENT_H_ | ||||
#include <bsm/audit.h> | #include <bsm/audit.h> | ||||
struct rlimit; | struct rlimit; | ||||
struct sysent; | struct sysent; | ||||
struct thread; | struct thread; | ||||
struct ksiginfo; | struct ksiginfo; | ||||
struct proc; | |||||
typedef int sy_call_t(struct thread *, void *); | typedef int sy_call_t(struct thread *, void *); | ||||
/* Used by the machine dependent syscall() code. */ | /* Used by the machine dependent syscall() code. */ | ||||
typedef void (*systrace_probe_func_t)(u_int32_t, int, struct sysent *, void *, | typedef void (*systrace_probe_func_t)(u_int32_t, int, struct sysent *, void *, | ||||
int); | int); | ||||
/* | /* | ||||
Show All 23 Lines | |||||
#define SY_THR_FLAGMASK 0x7 | #define SY_THR_FLAGMASK 0x7 | ||||
#define SY_THR_STATIC 0x1 | #define SY_THR_STATIC 0x1 | ||||
#define SY_THR_DRAINING 0x2 | #define SY_THR_DRAINING 0x2 | ||||
#define SY_THR_ABSENT 0x4 | #define SY_THR_ABSENT 0x4 | ||||
#define SY_THR_INCR 0x8 | #define SY_THR_INCR 0x8 | ||||
struct image_params; | struct image_params; | ||||
struct prison; | |||||
struct __sigset; | struct __sigset; | ||||
struct syscall_args; | struct syscall_args; | ||||
struct trapframe; | struct trapframe; | ||||
struct vmspace; | |||||
struct vnode; | struct vnode; | ||||
struct sysentvec { | struct sysentvec { | ||||
int sv_size; /* number of entries */ | int sv_size; /* number of entries */ | ||||
struct sysent *sv_table; /* pointer to sysent */ | struct sysent *sv_table; /* pointer to sysent */ | ||||
u_int sv_mask; /* optional mask to index */ | u_int sv_mask; /* optional mask to index */ | ||||
int sv_sigsize; /* size of signal translation table */ | int sv_sigsize; /* size of signal translation table */ | ||||
int *sv_sigtbl; /* signal translation table */ | int *sv_sigtbl; /* signal translation table */ | ||||
Show All 34 Lines | struct sysentvec { | ||||
vm_offset_t sv_shared_page_len; | vm_offset_t sv_shared_page_len; | ||||
vm_offset_t sv_sigcode_base; | vm_offset_t sv_sigcode_base; | ||||
vm_offset_t sv_timekeep_base; | vm_offset_t sv_timekeep_base; | ||||
int sv_timekeep_off; | int sv_timekeep_off; | ||||
int sv_timekeep_curr; | int sv_timekeep_curr; | ||||
uint32_t sv_timekeep_gen; | uint32_t sv_timekeep_gen; | ||||
void *sv_shared_page_obj; | void *sv_shared_page_obj; | ||||
void (*sv_schedtail)(struct thread *); | void (*sv_schedtail)(struct thread *); | ||||
void (*sv_pax_aslr_init)(struct vmspace *vm, struct proc *p); | |||||
rwatson: Remove argument variable name to avoid namespace collisions. | |||||
}; | }; | ||||
#define SV_ILP32 0x000100 | #define SV_ILP32 0x000100 | ||||
#define SV_LP64 0x000200 | #define SV_LP64 0x000200 | ||||
#define SV_IA32 0x004000 | #define SV_IA32 0x004000 | ||||
#define SV_AOUT 0x008000 | #define SV_AOUT 0x008000 | ||||
#define SV_SHP 0x010000 | #define SV_SHP 0x010000 | ||||
▲ Show 20 Lines • Show All 134 Lines • Show Last 20 Lines |
Remove argument variable name to avoid namespace collisions.