Skip to content

Commit

Permalink
seccomp: expect error with invalid errnoRet
Browse files Browse the repository at this point in the history
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
  • Loading branch information
giuseppe committed Feb 22, 2021
1 parent d7a6d08 commit ec964df
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions config-linux.md
Original file line number Diff line number Diff line change
Expand Up @@ -645,8 +645,9 @@ The following parameters can be specified to set up seccomp:
* `SCMP_ACT_LOG`

* **`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. If not specified its default value is `EPERM`.
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`.

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

0 comments on commit ec964df

Please sign in to comment.