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

[Tor Gitlab #27315 - maint-0.3.5]: Fix seccomp sandbox rules for openat #2012

Open
wants to merge 1 commit into
base: maint-0.3.5
Choose a base branch
from

Commits on Jul 20, 2020

  1. Fix seccomp sandbox rules for openat #27315

    The need for casting negative syscall arguments depends on the
    glibc version. This affects the rules for the openat syscall which
    uses the constant AT_FDCWD that is defined as a negative number.
    This commit adds logic to only apply the cast when necessary, on
    glibc versions from 2.27 onwards.
    Jigsaw52 committed Jul 20, 2020
    Configuration menu
    Copy the full SHA
    d75e7da View commit details
    Browse the repository at this point in the history