Skip to content

Commit 1770f63

Browse files
committed
config-linux.md: formalize the order of seccomp.syscalls
Corresponds to the behavior of existing implementations such as runc Signed-off-by: Akihiro Suda <[email protected]>
1 parent 86290f6 commit 1770f63

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

config-linux.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -718,6 +718,7 @@ The following parameters can be specified to set up seccomp:
718718
This field MUST NOT be set if `listenerPath` is not set.
719719

720720
* **`syscalls`** *(array of objects, OPTIONAL)* - match a syscall in seccomp.
721+
When the syscall matches multiple entries, only the first entry is effective.
721722
While this property is OPTIONAL, some values of `defaultAction` are not useful without `syscalls` entries.
722723
For example, if `defaultAction` is `SCMP_ACT_KILL` and `syscalls` is empty or unset, the kernel will kill the container process on its first syscall.
723724
Each entry has the following structure:

0 commit comments

Comments
 (0)