Skip to content

Commit

Permalink
Merge pull request #1277 from z63d/fix/seccomp-errnoret-descripton
Browse files Browse the repository at this point in the history
Fix description of errnoRet in Seccomp
  • Loading branch information
AkihiroSuda authored Feb 7, 2025
2 parents a5b0116 + 221c198 commit 2f2d37e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config-linux.md
Original file line number Diff line number Diff line change
Expand Up @@ -719,7 +719,7 @@ The following parameters can be specified to set up seccomp:
* **`defaultErrnoRet`** *(uint, OPTIONAL)* - the errno return code to use.
Some actions like `SCMP_ACT_ERRNO` and `SCMP_ACT_TRACE` allow to specify the errno code to return.
When the action doesn't support an errno, the runtime MUST print and error and fail.
If not specified then its default value is `EPERM`.
The default is `EPERM`.
* **`architectures`** *(array of strings, OPTIONAL)* - the architecture used for system calls.
A valid list of constants as of libseccomp v2.6.0 is shown below.

Expand Down Expand Up @@ -794,7 +794,7 @@ The following parameters can be specified to set up seccomp:
* **`errnoRet`** *(uint, OPTIONAL)* - the errno return code to use.
Some actions like `SCMP_ACT_ERRNO` and `SCMP_ACT_TRACE` allow to specify the errno code to return.
When the action doesn't support an errno, the runtime MUST print and error and fail.
If not specified its default value is `EPERM`.
The default is `EPERM`.

* **`args`** *(array of objects, OPTIONAL)* - the specific syscall in seccomp.
Each entry has the following structure:
Expand Down

0 comments on commit 2f2d37e

Please sign in to comment.