memfd-util: mention that F_SEAL_EXEC is supported since kernel v6.3

(cherry picked from commit f18365107051ce3b8c924f430a189ff027474e3b)
This commit is contained in:
Yu Watanabe
2026-10-16 17:24:51 +01:00
committed by Luca Boccassi
parent c31aa959f3
commit 9ad97c1f2e
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -96,7 +96,8 @@ int memfd_get_sealed(int fd) {
if (r < 0)
return r;
/* We ignore F_SEAL_EXEC here to support older kernels. */
/* We ignore F_SEAL_EXEC here to support older kernels.
* It is supported since kernel v6.3 (6fd7353829cafc4067aad9eea0dc95da67e7df16). */
return FLAGS_SET(seals, F_SEAL_SHRINK | F_SEAL_GROW | F_SEAL_WRITE);
}