1// +build darwin 2// +build arm64 3// Code generated by cmd/cgo -godefs; DO NOT EDIT. 4// cgo -godefs process/types_darwin.go 5 6package process 7 8const ( 9 sizeofPtr = 0x8 10 sizeofShort = 0x2 11 sizeofInt = 0x4 12 sizeofLong = 0x8 13 sizeofLongLong = 0x8 14) 15 16type ( 17 _C_short int16 18 _C_int int32 19 _C_long int64 20 _C_long_long int64 21) 22 23type Timespec struct { 24 Sec int64 25 Nsec int64 26} 27 28type Timeval struct { 29 Sec int64 30 Usec int32 31 Pad_cgo_0 [4]byte 32} 33 34type Rusage struct { 35 Utime Timeval 36 Stime Timeval 37 Maxrss int64 38 Ixrss int64 39 Idrss int64 40 Isrss int64 41 Minflt int64 42 Majflt int64 43 Nswap int64 44 Inblock int64 45 Oublock int64 46 Msgsnd int64 47 Msgrcv int64 48 Nsignals int64 49 Nvcsw int64 50 Nivcsw int64 51} 52 53type Rlimit struct { 54 Cur uint64 55 Max uint64 56} 57 58type UGid_t uint32 59 60type KinfoProc struct { 61 Proc ExternProc 62 Eproc Eproc 63} 64 65type Eproc struct { 66 Paddr *Proc 67 Sess *Session 68 Pcred Upcred 69 Ucred Uucred 70 Vm Vmspace 71 Ppid int32 72 Pgid int32 73 Jobc int16 74 Tdev int32 75 Tpgid int32 76 Tsess *Session 77 Wmesg [8]int8 78 Xsize int32 79 Xrssize int16 80 Xccount int16 81 Xswrss int16 82 Flag int32 83 Login [12]int8 84 Spare [4]int32 85 Pad_cgo_0 [4]byte 86} 87 88type Proc struct{} 89 90type Session struct{} 91 92type ucred struct{} 93 94type Uucred struct { 95 Ref int32 96 UID uint32 97 Ngroups int16 98 Groups [16]uint32 99} 100 101type Upcred struct { 102 Pc_lock [72]int8 103 Pc_ucred *ucred 104 P_ruid uint32 105 P_svuid uint32 106 P_rgid uint32 107 P_svgid uint32 108 P_refcnt int32 109 Pad_cgo_0 [4]byte 110} 111 112type Vmspace struct { 113 Dummy int32 114 Dummy2 *int8 115 Dummy3 [5]int32 116 Dummy4 [3]*int8 117} 118 119type Sigacts struct{} 120 121type ExternProc struct { 122 P_un [16]byte 123 P_vmspace *Vmspace 124 P_sigacts *Sigacts 125 P_flag int32 126 P_stat int8 127 P_pid int32 128 P_oppid int32 129 P_dupfd int32 130 User_stack *int8 131 Exit_thread *byte 132 P_debugger int32 133 Sigwait int32 134 P_estcpu uint32 135 P_cpticks int32 136 P_pctcpu uint32 137 P_wchan *byte 138 P_wmesg *int8 139 P_swtime uint32 140 P_slptime uint32 141 P_realtimer Itimerval 142 P_rtime Timeval 143 P_uticks uint64 144 P_sticks uint64 145 P_iticks uint64 146 P_traceflag int32 147 P_tracep *Vnode 148 P_siglist int32 149 P_textvp *Vnode 150 P_holdcnt int32 151 P_sigmask uint32 152 P_sigignore uint32 153 P_sigcatch uint32 154 P_priority uint8 155 P_usrpri uint8 156 P_nice int8 157 P_comm [17]int8 158 P_pgrp *Pgrp 159 P_addr *UserStruct 160 P_xstat uint16 161 P_acflag uint16 162 P_ru *Rusage 163} 164 165type Itimerval struct { 166 Interval Timeval 167 Value Timeval 168} 169 170type Vnode struct{} 171 172type Pgrp struct{} 173 174type UserStruct struct{} 175 176type Au_session struct { 177 Aia_p *AuditinfoAddr 178 Mask AuMask 179} 180 181type Posix_cred struct{} 182 183type Label struct{} 184 185type AuditinfoAddr struct { 186 Auid uint32 187 Mask AuMask 188 Termid AuTidAddr 189 Asid int32 190 Flags uint64 191} 192type AuMask struct { 193 Success uint32 194 Failure uint32 195} 196type AuTidAddr struct { 197 Port int32 198 Type uint32 199 Addr [4]uint32 200} 201 202type UcredQueue struct { 203 Next *ucred 204 Prev **ucred 205} 206