Skip to content

linux/fs: add F_SEAL_EXEC #1417

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

lucab
Copy link
Contributor

@lucab lucab commented Mar 13, 2025

This adds the F_SEAL_EXEC flag for fcntl(2).
It has been introduced in Linux kernel 6.3: torvalds/linux@6fd7353
The relevant constant has been added in libc release 0.2.171: https://github.com/rust-lang/libc/releases/tag/0.2.171
Currently this feature only exists in Linux, it is not present in FreeBSD nor in Fuchsia.

lucab added 2 commits March 13, 2025 17:38
This is required to pick up `F_SEAL_EXEC` on Linux.
@lucab lucab marked this pull request as ready for review March 13, 2025 17:26
@sunfishcode sunfishcode added the enhancement New feature or request label Mar 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants