1 /* SPDX-License-Identifier: LGPL-2.1+ */
9 int memfd_new(const char *name);
10 #if 0 /// UNNEEDED by elogind
11 int memfd_new_and_map(const char *name, size_t sz, void **p);
13 int memfd_map(int fd, uint64_t offset, size_t size, void **p);
16 int memfd_set_sealed(int fd);
17 #if 0 /// UNNEEDED by elogind
18 int memfd_get_sealed(int fd);
21 int memfd_get_size(int fd, uint64_t *sz);
22 int memfd_set_size(int fd, uint64_t sz);