File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -266,6 +266,7 @@ CTLFLAG_RD
266266CTLFLAG_RW
267267CTLFLAG_SECURE
268268CTLFLAG_WR
269+ CTLIOCGINFO
269270CTLTYPE
270271CTLTYPE_INT
271272CTLTYPE_NODE
Original file line number Diff line number Diff line change 234234 #[ cfg( libc_long_array) ]
235235 pub struct ctl_info {
236236 pub ctl_id: u32 ,
237- pub ctl_name: [ :: c_char; 96 ] ,
237+ pub ctl_name: [ :: c_char; MAX_KCTL_NAME ] ,
238238 }
239239
240240 pub struct ip_mreq {
@@ -3319,6 +3319,8 @@ pub const MINCORE_MODIFIED: ::c_int = 0x4;
33193319pub const MINCORE_REFERENCED_OTHER : :: c_int = 0x8 ;
33203320pub const MINCORE_MODIFIED_OTHER : :: c_int = 0x10 ;
33213321
3322+ pub const CTLIOCGINFO : c_ulong = 0xc0644e03 ;
3323+
33223324//
33233325// sys/netinet/in.h
33243326// Protocols (RFC 1700)
@@ -4496,6 +4498,8 @@ pub const PROC_CSM_TECS: ::c_uint = 0x0004;
44964498pub const MAXCOMLEN : usize = 16 ;
44974499pub const MAXTHREADNAMESIZE : usize = 64 ;
44984500
4501+ pub const MAX_KCTL_NAME : usize = 96 ;
4502+
44994503pub const XUCRED_VERSION : :: c_uint = 0 ;
45004504
45014505pub const LC_SEGMENT : u32 = 0x1 ;
You can’t perform that action at this time.
0 commit comments