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
Conversation
Cc @gnoack |
Codecov Report
|
The change looks good to me, but please rebase. |
2fabcb9
to
47b9ef4
Compare
Something happened with your CLA. CLA bot complains... |
Add the new LANDLOCK_ACCESS_FS_TRUNCATE flag for the file truncation handling. Signed-off-by: Mickaël Salaün <mic@linux.microsoft.com>
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>
Head branch was pushed to by a user without write access
47b9ef4
to
8bbafb0
Compare
Yep, wrong email address. :) |
This covers a Landlock update that I pushed in linux-next.
This patch series is almost ready and will be part of Linux 6.2 .