mirror of https://github.com/mkerrisk/man-pages
seccomp.2: Minor edits to Tycho Andersen's patch
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
9bc48145a6
commit
6fc8b8a0a1
|
@ -252,17 +252,21 @@ must be 0, and
|
||||||
.IR args
|
.IR args
|
||||||
must be a pointer to an unsigned 32-bit filter return action.
|
must be a pointer to an unsigned 32-bit filter return action.
|
||||||
.TP
|
.TP
|
||||||
.BR SECCOMP_GET_NOTIF_SIZES " (since Linux 4.21)"
|
.BR SECCOMP_GET_NOTIF_SIZES " (since Linux 5.0)"
|
||||||
Get the sizes of the seccomp userspace notification structures. Since the
|
.\" commit 6a21cc50f0c7f87dae5259f6cfefe024412313f6
|
||||||
structures include a struct seccomp_data which may grow in size, this command
|
Get the sizes of the seccomp user-space notification structures.
|
||||||
can be used to determine how much memory to allocate for sending and receiving
|
Since the structures include a
|
||||||
notifications.
|
.I "struct seccomp_data"
|
||||||
|
which may grow in size, this command can be used to determine how
|
||||||
|
much memory to allocate for sending and receiving notifications.
|
||||||
.IP
|
.IP
|
||||||
The value of
|
The value of
|
||||||
.IR flags
|
.IR flags
|
||||||
must be 0, and
|
must be 0, and
|
||||||
.IR args
|
.IR args
|
||||||
must be a pointer to a struct seccomp_notif_sizes, which looks like:
|
must be a pointer to a
|
||||||
|
.IR "struct seccomp_notif_sizes" ,
|
||||||
|
which has the following form:
|
||||||
.IP
|
.IP
|
||||||
.in +4n
|
.in +4n
|
||||||
.EX
|
.EX
|
||||||
|
@ -273,7 +277,11 @@ struct seccomp_notif_sizes
|
||||||
};
|
};
|
||||||
.EE
|
.EE
|
||||||
.in
|
.in
|
||||||
.PP
|
.IP
|
||||||
|
See
|
||||||
|
.BR seccomp_unotify (2)
|
||||||
|
for further details.
|
||||||
|
.\"
|
||||||
.SS Filters
|
.SS Filters
|
||||||
When adding filters via
|
When adding filters via
|
||||||
.BR SECCOMP_SET_MODE_FILTER ,
|
.BR SECCOMP_SET_MODE_FILTER ,
|
||||||
|
|
Loading…
Reference in New Issue