Lines Matching refs:memfd_create
11 /// Options that change the behavior of [`memfd_create`].
28 /// See also the file sealing notes given in [`memfd_create(2)`].
30 /// [`memfd_create(2)`]: https://man7.org/linux/man-pages/man2/memfd_create.2.html
40 /// For more information, see [`memfd_create(2)`].
42 /// [`memfd_create(2)`]: https://man7.org/linux/man-pages/man2/memfd_create.2.html
43 pub fn memfd_create(name: &CStr, flags: MemFdCreateFlag) -> Result<RawFd> {
47 // Android does not have a memfd_create symbol
51 // If the OS is Linux, gnu and musl expose a memfd_create symbol but not uclibc
57 libc::memfd_create(name.as_ptr(), flags.bits())