memfd-util: mention that F_SEAL_EXEC is supported since kernel v6.3
(cherry picked from commit f18365107051ce3b8c924f430a189ff027474e3b)
This commit is contained in:
committed by
Luca Boccassi
parent
c31aa959f3
commit
9ad97c1f2e
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user