Skip to content

Commit

Permalink
Merge #794
Browse files Browse the repository at this point in the history
794: Migrate memfd constants to libc r=Susurrus a=Susurrus

This will fail because rust-lang/libc#836 is not merged yet, but just getting it staged for when it is.
  • Loading branch information
bors[bot] committed Nov 7, 2017
2 parents ba9ee75 + c0c81bf commit 6a2feaa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/sys/memfd.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ use std::os::unix::io::RawFd;
use {Errno, Result};
use std::ffi::CStr;

bitflags!(
libc_bitflags!(
pub struct MemFdCreateFlag: libc::c_uint {
const MFD_CLOEXEC = 0x0001;
const MFD_ALLOW_SEALING = 0x0002;
MFD_CLOEXEC;
MFD_ALLOW_SEALING;
}
);

Expand Down

0 comments on commit 6a2feaa

Please sign in to comment.