Merge pull request #108 from mmcco/sc
Add getentropy(2)'s syscall number as a const
This commit is contained in:
commit
2c7e08c959
@ -211,6 +211,9 @@ pub const PTHREAD_MUTEX_RECURSIVE: ::c_int = 2;
|
||||
pub const HW_AVAILCPU: ::c_int = 25;
|
||||
pub const KERN_PROC_ARGS: ::c_int = 55;
|
||||
|
||||
// syscall numbers
|
||||
pub const NR_GETENTROPY: ::c_int = 7;
|
||||
|
||||
extern {
|
||||
pub fn mprotect(addr: *const ::c_void, len: ::size_t, prot: ::c_int)
|
||||
-> ::c_int;
|
||||
|
Loading…
x
Reference in New Issue
Block a user