File tree 4 files changed +5
-0
lines changed
4 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -206,6 +206,7 @@ pub const PTHREAD_RWLOCK_INITIALIZER: pthread_rwlock_t = 0 as *mut _;
206
206
pub const PTHREAD_MUTEX_RECURSIVE : :: c_int = 2 ;
207
207
208
208
pub const HW_AVAILCPU : :: c_int = 25 ;
209
+ pub const KERN_PROC_ARGS : :: c_int = 55 ;
209
210
210
211
extern {
211
212
pub fn mprotect ( addr : * const :: c_void , len : :: size_t , prot : :: c_int )
Original file line number Diff line number Diff line change @@ -355,6 +355,8 @@ pub const _SC_TZNAME_MAX : ::c_int = 27;
355
355
pub const _SC_PAGESIZE : :: c_int = 28 ;
356
356
pub const _SC_FSYNC : :: c_int = 29 ;
357
357
358
+ pub const KERN_PROC_ARGV : :: c_int = 1 ;
359
+
358
360
extern {
359
361
pub fn mincore ( addr : * mut :: c_void , len : :: size_t ,
360
362
vec : * mut :: c_char ) -> :: c_int ;
Original file line number Diff line number Diff line change @@ -271,6 +271,7 @@ pub const PTHREAD_RWLOCK_INITIALIZER: pthread_rwlock_t = pthread_rwlock_t {
271
271
ptr_private : 0 as * mut _ ,
272
272
} ;
273
273
pub const PTHREAD_MUTEX_RECURSIVE : :: c_int = 2 ;
274
+ pub const KERN_PROC_ARGS : :: c_int = 48 ;
274
275
275
276
extern {
276
277
pub fn mprotect ( addr : * mut :: c_void , len : :: size_t , prot : :: c_int )
Original file line number Diff line number Diff line change @@ -209,6 +209,7 @@ pub const PTHREAD_RWLOCK_INITIALIZER: pthread_rwlock_t = 0 as *mut _;
209
209
pub const PTHREAD_MUTEX_RECURSIVE : :: c_int = 2 ;
210
210
211
211
pub const HW_AVAILCPU : :: c_int = 25 ;
212
+ pub const KERN_PROC_ARGS : :: c_int = 55 ;
212
213
213
214
extern {
214
215
pub fn mprotect ( addr : * const :: c_void , len : :: size_t , prot : :: c_int )
You can’t perform that action at this time.
0 commit comments