memfd-util: introduce memfd_set_sealed_gracefully()

(cherry picked from commit d2810b5c790e0a80f8fe1a68fa53054c34414b3d)
This commit is contained in:
Yu Watanabe
2026-10-16 17:24:51 +01:00
committed by Luca Boccassi
parent 9ad97c1f2e
commit b39f5cfa2e
3 changed files with 21 additions and 1 deletions
+1
View File
@@ -19,6 +19,7 @@ static inline int memfd_new_and_seal_string(const char *name, const char *s) {
int memfd_set_sealed(int fd);
int memfd_get_sealed(int fd);
int memfd_set_sealed_gracefully(int fd);
int memfd_get_size(int fd, uint64_t *ret);
int memfd_set_size(int fd, uint64_t sz);