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

seccomp: accept strings for errno values #821

Merged

Commits on Nov 9, 2021

  1. seccomp: refactor code out

    Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
    giuseppe committed Nov 9, 2021
    Configuration menu
    Copy the full SHA
    505bb29 View commit details
    Browse the repository at this point in the history
  2. seccomp: accept strings for errno values

    simplify maintainance of the seccomp.json file and accept errno as
    strings.
    
    It also fixes a portability problem since errno values are arch
    dependent.
    
    The existing `DefaultErrnoRet` and `ErrnoRet` are maintained for
    backward compatibility but they are obsoleted and will be removed in a
    future release.
    
    Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
    giuseppe committed Nov 9, 2021
    Configuration menu
    Copy the full SHA
    a27cbd6 View commit details
    Browse the repository at this point in the history