Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix syntax in Seccomp's errnoRet description #1277

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

z63d
Copy link

@z63d z63d commented Feb 3, 2025

There is a subtle difference in syntax between Seccomp's defaultErrnoRet and errnoRet, so i will unify the syntax.

If not specified then its default value is `EPERM`.

If not specified its default value is `EPERM`.

Or you could just reference one of them like this...

* **`defaultAction`** *(string, REQUIRED)* - the default action for seccomp. Allowed values are the same as `syscalls[].action`.

@z63d z63d force-pushed the fix/seccomp-errnoret-descripton branch 2 times, most recently from e575d82 to 8617272 Compare February 3, 2025 23:32
Signed-off-by: z63d <kaita.nakamura0830@gmail.com>
@z63d z63d force-pushed the fix/seccomp-errnoret-descripton branch from 8617272 to 5cb64f9 Compare February 3, 2025 23:34
Copy link
Contributor

@kolyshkin kolyshkin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would just say "The default is EPERM" in both cases.

Cc @cyphar

@giuseppe
Copy link
Member

giuseppe commented Feb 4, 2025

agreed. "The default is EPERM" should be enough

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants