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

Add Landlock truncate support #3423

Merged
merged 2 commits into from Oct 6, 2022
Merged

Commits on Oct 6, 2022

  1. sys/linux: add the Landlock truncate access flag

    Add the new LANDLOCK_ACCESS_FS_TRUNCATE flag for the file truncation
    handling.
    
    Signed-off-by: Mickaël Salaün <mic@linux.microsoft.com>
    l0kod committed Oct 6, 2022
    Configuration menu
    Copy the full SHA
    127fbc5 View commit details
    Browse the repository at this point in the history
  2. sys/linux/test: add landlock_fs_truncate

    This test covers file truncation with path and file descriptor checks
    handled in security/landlock/fs.c .
    
    Signed-off-by: Mickaël Salaün <mic@linux.microsoft.com>
    l0kod committed Oct 6, 2022
    Configuration menu
    Copy the full SHA
    8bbafb0 View commit details
    Browse the repository at this point in the history