We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 833e67f commit e81cfdeCopy full SHA for e81cfde
libc-test/build.rs
@@ -248,6 +248,8 @@ fn main() {
248
if !uclibc && !musl && !emscripten {
249
cfg.header("linux/dccp.h");
250
}
251
+
252
+ cfg.header("linux/memfd.h");
253
254
255
if linux {
src/unix/notbsd/mod.rs
@@ -803,6 +803,9 @@ pub const POLLNVAL: ::c_short = 0x20;
803
pub const POLLRDNORM: ::c_short = 0x040;
804
pub const POLLRDBAND: ::c_short = 0x080;
805
806
+pub const MFD_CLOEXEC: ::c_uint = 0x0001;
807
+pub const MFD_ALLOW_SEALING: ::c_uint = 0x0002;
808
809
f! {
810
pub fn FD_CLR(fd: ::c_int, set: *mut fd_set) -> () {
811
let fd = fd as usize;
0 commit comments