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 <[email protected]>
  • Loading branch information
Xyene committed Jul 11, 2020
1 parent 34bf78a commit 2215602
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. It is also important to
remember that regardless of the architectures present in the filter, the
syscall numbers used in filter rules are interpreted in the context of the
native architecture.
.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 2215602

Please sign in to comment.