]>
git.ipfire.org Git - thirdparty/systemd.git/blob - src/basic/memfd-util.h
1 /* SPDX-License-Identifier: LGPL-2.1+ */
9 int memfd_new(const char *name
);
10 int memfd_new_and_map(const char *name
, size_t sz
, void **p
);
12 int memfd_map(int fd
, uint64_t offset
, size_t size
, void **p
);
14 int memfd_set_sealed(int fd
);
15 int memfd_get_sealed(int fd
);
17 int memfd_get_size(int fd
, uint64_t *sz
);
18 int memfd_set_size(int fd
, uint64_t sz
);