File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -1627,6 +1627,11 @@ s_no_extra_traits! {
1627
1627
pub ifr_name: [ c_char; crate :: IFNAMSIZ ] ,
1628
1628
pub ifr_ifru: __c_anonymous_ifr_ifru6,
1629
1629
}
1630
+
1631
+ pub struct proc_fdinfo {
1632
+ pub proc_fd: i32 ,
1633
+ pub proc_fdtype: u32 ,
1634
+ }
1630
1635
}
1631
1636
1632
1637
impl siginfo_t {
@@ -4968,6 +4973,19 @@ pub const PROC_PIDTASKINFO: c_int = 4;
4968
4973
pub const PROC_PIDTHREADINFO : c_int = 5 ;
4969
4974
pub const PROC_PIDVNODEPATHINFO : c_int = 9 ;
4970
4975
pub const PROC_PIDPATHINFO_MAXSIZE : c_int = 4096 ;
4976
+
4977
+ pub const PROC_PIDLISTFDS : c_int = 1 ;
4978
+ pub const PROC_PIDLISTFD_SIZE : c_int = 8 ;
4979
+ pub const PROX_FDTYPE_ATALK : c_int = 0 ;
4980
+ pub const PROX_FDTYPE_VNODE : c_int = 1 ;
4981
+ pub const PROX_FDTYPE_SOCKET : c_int = 2 ;
4982
+ pub const PROX_FDTYPE_PSHM : c_int = 3 ;
4983
+ pub const PROX_FDTYPE_PSEM : c_int = 4 ;
4984
+ pub const PROX_FDTYPE_KQUEUE : c_int = 5 ;
4985
+ pub const PROX_FDTYPE_PIPE : c_int = 6 ;
4986
+ pub const PROX_FDTYPE_FSEVENTS : c_int = 7 ;
4987
+ pub const PROX_FDTYPE_NETPOLICY : c_int = 9 ;
4988
+
4971
4989
pub const PROC_CSM_ALL : c_uint = 0x0001 ;
4972
4990
pub const PROC_CSM_NOSMT : c_uint = 0x0002 ;
4973
4991
pub const PROC_CSM_TECS : c_uint = 0x0004 ;
You can’t perform that action at this time.
0 commit comments