Skip to content

Commit a309e91

Browse files
committed
Auto merge of #2125 - asomers:MAP_GUARD, r=JohnTitor
Add MAP_GUARD on FreeBSD. It was added in FreeBSD 11.1.
2 parents c5357c9 + 51a287b commit a309e91

File tree

1 file changed

+2
-0
lines changed
  • src/unix/bsd/freebsdlike/freebsd

1 file changed

+2
-0
lines changed

src/unix/bsd/freebsdlike/freebsd/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -447,6 +447,8 @@ pub const NI_NUMERICSCOPE: ::c_int = 0x00000020;
447447
pub const Q_GETQUOTA: ::c_int = 0x700;
448448
pub const Q_SETQUOTA: ::c_int = 0x800;
449449

450+
pub const MAP_GUARD: ::c_int = 0x00002000;
451+
450452
pub const POSIX_FADV_NORMAL: ::c_int = 0;
451453
pub const POSIX_FADV_RANDOM: ::c_int = 1;
452454
pub const POSIX_FADV_SEQUENTIAL: ::c_int = 2;

0 commit comments

Comments
 (0)