Changeset View
Changeset View
Standalone View
Standalone View
sys/sys/signal.h
Show First 20 Lines • Show All 250 Lines • ▼ Show 20 Lines | union { | ||||
} _timer; | } _timer; | ||||
struct { | struct { | ||||
int _mqd; | int _mqd; | ||||
} _mesgq; | } _mesgq; | ||||
struct { | struct { | ||||
long _band; /* band event for SIGPOLL */ | long _band; /* band event for SIGPOLL */ | ||||
} _poll; /* was this ever used ? */ | } _poll; /* was this ever used ? */ | ||||
struct { | struct { | ||||
int _syscall; /* Syscall number for signals | |||||
kib: Look how other comments are formatted. Add (at least one) tab after ';' and possibly wrap line… | |||||
* delivered as a result of | |||||
* system calls blocked by | |||||
Done Inline Actions'blocked' is used there as 'denied' (or whatever more appropriate English word). By 'blocked' we typically mean 'put off CPU for scheduling purposes due to resource unavailability'. kib: 'blocked' is used there as 'denied' (or whatever more appropriate English word). By 'blocked'… | |||||
* Capsicum. */ | |||||
} _capsicum; | |||||
struct { | |||||
long __spare1__; | long __spare1__; | ||||
int __spare2__[7]; | int __spare2__[7]; | ||||
} __spare__; | } __spare__; | ||||
} _reason; | } _reason; | ||||
} siginfo_t; | } siginfo_t; | ||||
#define si_trapno _reason._fault._trapno | #define si_trapno _reason._fault._trapno | ||||
#define si_timerid _reason._timer._timerid | #define si_timerid _reason._timer._timerid | ||||
#define si_overrun _reason._timer._overrun | #define si_overrun _reason._timer._overrun | ||||
#define si_mqd _reason._mesgq._mqd | #define si_mqd _reason._mesgq._mqd | ||||
#define si_band _reason._poll._band | #define si_band _reason._poll._band | ||||
#define si_syscall _reason._capsicum._syscall | |||||
#if defined(_WANT_LWPINFO32) || (defined(_KERNEL) && defined(__LP64__)) | #if defined(_WANT_LWPINFO32) || (defined(_KERNEL) && defined(__LP64__)) | ||||
struct siginfo32 { | struct siginfo32 { | ||||
int si_signo; /* signal number */ | int si_signo; /* signal number */ | ||||
int si_errno; /* errno association */ | int si_errno; /* errno association */ | ||||
int si_code; /* signal code */ | int si_code; /* signal code */ | ||||
__pid_t si_pid; /* sending process */ | __pid_t si_pid; /* sending process */ | ||||
__uid_t si_uid; /* sender's ruid */ | __uid_t si_uid; /* sender's ruid */ | ||||
▲ Show 20 Lines • Show All 237 Lines • Show Last 20 Lines |
Look how other comments are formatted. Add (at least one) tab after ';' and possibly wrap line if longer than 80 chars.