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

riscv64/musl: Add landlock syscalls #3398

Merged
merged 1 commit into from Oct 27, 2023

Commits on Oct 20, 2023

  1. riscv64/musl: Add landlock syscalls

    The landlock syscalls were added to the musl libc in upstream commit ee05b11b67d5[1]:
    ```
    bits/syscall.h: add landlock syscalls from linux v5.13
    see
    
      linux commit a49f4f81cb48925e8d7cbd9e59068f516e984144
      arch: Wire up Landlock syscalls
    
      linuxcommit 17ae69aba89dbfa2139b7f8024b757ab3cc42f59
      Merge tag 'landlock_v34' of ... jmorris/linux-security
    
    Landlock provides for unprivileged application sandboxing. The goal of
    Landlock is to enable to restrict ambient rights (e.g. global filesystem
    access) for a set of processes. Landlock is inspired by seccomp-bpf but
    instead of filtering syscalls and their raw arguments, a Landlock rule
    can restrict the use of kernel objects like file hierarchies, according
    to the kernel semantic.
    ```
    
    Add them to our definitions accordingly
    
    [1] https://git.musl-libc.org/cgit/musl/commit/arch/riscv64/bits?id=ee05b11b67d59a6c5bb4b9d661bcc20bbd0bbe7a
    marv committed Oct 20, 2023
    Configuration menu
    Copy the full SHA
    c7367c3 View commit details
    Browse the repository at this point in the history