mirror of https://github.com/mkerrisk/man-pages
sigaction.2: Add siginfo_t fields for SECCOMP_RET_TRAP
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
41bf4e32e0
commit
bcd0ba54f0
|
@ -287,7 +287,8 @@ siginfo_t {
|
|||
sigval_t si_value; /* Signal value */
|
||||
int si_int; /* POSIX.1b signal */
|
||||
void *si_ptr; /* POSIX.1b signal */
|
||||
int si_overrun; /* Timer overrun count; POSIX.1b timers */
|
||||
int si_overrun; /* Timer overrun count;
|
||||
POSIX.1b timers */
|
||||
int si_timerid; /* Timer ID; POSIX.1b timers */
|
||||
.\" In the kernel: si_tid
|
||||
void *si_addr; /* Memory location which caused fault */
|
||||
|
@ -296,6 +297,12 @@ siginfo_t {
|
|||
int si_fd; /* File descriptor */
|
||||
short si_addr_lsb; /* Least significant bit of address
|
||||
(since Linux 2.6.32) */
|
||||
void *si_call_addr; /* Address of system call instruction
|
||||
(since Linux 3.5) */
|
||||
int si_syscall; /* Number of attempted system call
|
||||
(since Linux 3.5) */
|
||||
unsigned int si_arch; /* Architecture of attempted system call
|
||||
(since Linux 3.5) */
|
||||
}
|
||||
.fi
|
||||
.in
|
||||
|
@ -449,6 +456,19 @@ field by
|
|||
The
|
||||
.I si_fd
|
||||
field indicates the file descriptor for which the I/O event occurred.
|
||||
.IP *
|
||||
The
|
||||
.B SIGSYS
|
||||
signal that is (since Linux 3.5)
|
||||
.\" commit a0727e8ce513fe6890416da960181ceb10fbfae6
|
||||
generated when a seccomp filter returns
|
||||
.B SECCOMP_RET_TRAP
|
||||
fills in
|
||||
.IR si_call_addr ,
|
||||
.IR si_syscall ,
|
||||
.IR si_arch ,
|
||||
and various other fields as described in
|
||||
.BR seccomp (2).
|
||||
.PP
|
||||
.I si_code
|
||||
is a value (not a bit mask)
|
||||
|
|
Loading…
Reference in New Issue