Skip to content

Commit f8429b7

Browse files
config-linux.md: formalize the order of seccomp.syscalls
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]>
1 parent 901acb9 commit f8429b7

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

config-linux.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -759,6 +759,11 @@ The following parameters can be specified to set up seccomp:
759759
* `SCMP_CMP_GT`
760760
* `SCMP_CMP_MASKED_EQ`
761761

762+
Syscalls in this list are not guaranteed to be unique, and MAY appear multiple
763+
times. If a syscall appears multiple times, runtimes MUST use the first match,
764+
MUST ignore further occurrences. Runtimes MAY log a warning if duplicate entries
765+
are present.
766+
762767
### Example
763768

764769
```json

0 commit comments

Comments
 (0)