Skip to content

Commit

Permalink
config-linux.md: formalize the order of seccomp.syscalls
Browse files Browse the repository at this point in the history
Corresponds to the behavior of existing implementations such as runc

Co-authored-by: Sebastiaan van Stijn <[email protected]>
Signed-off-by: Akihiro Suda <[email protected]>
  • Loading branch information
AkihiroSuda and thaJeztah committed Sep 3, 2022
1 parent 901acb9 commit 7fe7f3a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions config-linux.md
Original file line number Diff line number Diff line change
Expand Up @@ -759,6 +759,11 @@ The following parameters can be specified to set up seccomp:
* `SCMP_CMP_GT`
* `SCMP_CMP_MASKED_EQ`

Syscalls in this list are not guaranteed to be unique, and MAY appear multiple
times. If a syscall appears multiple times, runtimes MUST use the first match,
and MUST ignore further occurrences. Runtimes MAY log a warning if duplicate entries
are present.

### Example

```json
Expand Down

0 comments on commit 7fe7f3a

Please sign in to comment.