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

rights.4: various corrections on capability rights #1207

Closed
wants to merge 1 commit into from

Commits on Apr 27, 2024

  1. rights.4: various corrections on capability rights

    - A file descriptor obtained from accept(2), accept4(2) and openat(2)
      is not always assigned all capability rights.  Instead, it inherits
      capability rights from the "parent" socket/dir file descriptor.
    - getdents(2) and getdirentries(2) requires CAP_READ.
    - openat(2) with O_WRONLY|O_TRUNC does not require CAP_SEEK.
    CismonX committed Apr 27, 2024
    Configuration menu
    Copy the full SHA
    cad41f8 View commit details
    Browse the repository at this point in the history