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

RFE: refined header comment for seccomp_arch_add #51

Closed
wants to merge 1 commit into from

Conversation

guoger
Copy link
Contributor

@guoger guoger commented Nov 2, 2016

Error code -EEXIST is returned by this interface if specified arch
is already present. Added this information to header comment since it helps
developers to write code that safely ignores this ret code.

@pcmoore pcmoore changed the title Refined header comment of seccomp_arch_add. RFE: refined header comment for seccomp_arch_add Nov 2, 2016
@pcmoore pcmoore added this to the v2.4 milestone Nov 2, 2016
@pcmoore pcmoore self-assigned this Nov 2, 2016
@pcmoore
Copy link
Member

pcmoore commented Nov 2, 2016

Hello and thank you for the PR. Could you please read the SUBMITTING_PATCHES file, especially the "Sign Your Work" section and update the commit message with your sign-off?

Refined `seccomp_arch_add` to be more verbose about return code `-EEXIST`
in case of existing arch in filter. Adding this information helps developers
write code to safely ignore the ret code in this case.

Signed-off-by: Jiannan Guo <[email protected]>
@guoger
Copy link
Contributor Author

guoger commented Nov 3, 2016

@pcmoore commit message updated! cheers.

@pcmoore
Copy link
Member

pcmoore commented Nov 3, 2016

Looks good to me - thanks!

@pcmoore
Copy link
Member

pcmoore commented Feb 3, 2017

Merged via 5bcf70b.

@pcmoore pcmoore closed this Feb 3, 2017
@pcmoore pcmoore moved this from Backlog to Done in Architecture Support Feb 3, 2017
pcmoore added a commit to pcmoore/misc-libseccomp that referenced this pull request Nov 5, 2019
pcmoore added a commit to pcmoore/misc-libseccomp that referenced this pull request Nov 6, 2019
pcmoore added a commit that referenced this pull request Nov 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

2 participants