Add MAP_GUARD on FreeBSD.

It was added in FreeBSD 11.1.
This commit is contained in:
Alan Somers 2021-03-26 20:49:07 -06:00
parent c5357c9e66
commit 51a287b98a
1 changed files with 2 additions and 0 deletions

View File

@ -447,6 +447,8 @@ pub const NI_NUMERICSCOPE: ::c_int = 0x00000020;
pub const Q_GETQUOTA: ::c_int = 0x700;
pub const Q_SETQUOTA: ::c_int = 0x800;
pub const MAP_GUARD: ::c_int = 0x00002000;
pub const POSIX_FADV_NORMAL: ::c_int = 0;
pub const POSIX_FADV_RANDOM: ::c_int = 1;
pub const POSIX_FADV_SEQUENTIAL: ::c_int = 2;