Auto merge of #2069 - jwellhofer:master, r=Amanieu

Add memfd_create to linux and android

Android only added the wrapper in API level 30, i.e. Android 11. Should this have libc::syscall implementation for android ?
This commit is contained in:
bors 2021-11-06 13:46:23 +00:00
commit afd3951113

View file

@ -3914,6 +3914,8 @@ extern "C" {
needlelen: ::size_t,
) -> *mut ::c_void;
pub fn sched_getcpu() -> ::c_int;
pub fn memfd_create(name: *const ::c_char, flags: ::c_uint) -> ::c_int;
}
cfg_if! {