Skip to content

Commit

Permalink
doc: clarify seccomp_rule_add syscall translation behavior
Browse files Browse the repository at this point in the history
Refs seccomp#259.

Signed-off-by: Tudor Brindus <me@tbrindus.ca>
  • Loading branch information
Xyene committed Jun 25, 2020
1 parent 34bf78a commit 38f9fa7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion doc/man/man3/seccomp_rule_add.3
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,10 @@ value directly using the standard
values, in order to ensure proper operation across multiple architectures it
is highly recommended to use the
.BR SCMP_SYS ()
macro instead. See the EXAMPLES section below.
macro instead. See the EXAMPLES section below. If using
.B __NR_syscall
values in a multi-architecture filter, the syscall corresponding to the value
in the native architecture will be used in all non-native architectures.
.P
Starting with Linux v4.8, there may be a need to create a rule with a syscall
value of -1 to allow tracing programs to skip a syscall invocation; in order
Expand Down

0 comments on commit 38f9fa7

Please sign in to comment.