github.com/nicocha30/gvisor-ligolo@v0.0.0-20230726075806-989fa2c0a413/pkg/sentry/seccheck/points/points_go_proto/common.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.30.0 4 // protoc v3.21.7 5 // source: pkg/sentry/seccheck/points/common.proto 6 7 package points_go_proto 8 9 import ( 10 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 11 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 12 reflect "reflect" 13 sync "sync" 14 ) 15 16 const ( 17 // Verify that this generated code is sufficiently up-to-date. 18 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 19 // Verify that runtime/protoimpl is sufficiently up-to-date. 20 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 21 ) 22 23 type MessageType int32 24 25 const ( 26 MessageType_MESSAGE_UNKNOWN MessageType = 0 27 MessageType_MESSAGE_CONTAINER_START MessageType = 1 28 MessageType_MESSAGE_SENTRY_CLONE MessageType = 2 29 MessageType_MESSAGE_SENTRY_EXEC MessageType = 3 30 MessageType_MESSAGE_SENTRY_EXIT_NOTIFY_PARENT MessageType = 4 31 MessageType_MESSAGE_SENTRY_TASK_EXIT MessageType = 5 32 MessageType_MESSAGE_SYSCALL_RAW MessageType = 6 33 MessageType_MESSAGE_SYSCALL_OPEN MessageType = 7 34 MessageType_MESSAGE_SYSCALL_CLOSE MessageType = 8 35 MessageType_MESSAGE_SYSCALL_READ MessageType = 9 36 MessageType_MESSAGE_SYSCALL_CONNECT MessageType = 10 37 MessageType_MESSAGE_SYSCALL_EXECVE MessageType = 11 38 MessageType_MESSAGE_SYSCALL_SOCKET MessageType = 12 39 MessageType_MESSAGE_SYSCALL_CHDIR MessageType = 13 40 MessageType_MESSAGE_SYSCALL_SETID MessageType = 14 41 MessageType_MESSAGE_SYSCALL_SETRESID MessageType = 15 42 MessageType_MESSAGE_SYSCALL_PRLIMIT64 MessageType = 16 43 MessageType_MESSAGE_SYSCALL_PIPE MessageType = 17 44 MessageType_MESSAGE_SYSCALL_FCNTL MessageType = 18 45 MessageType_MESSAGE_SYSCALL_DUP MessageType = 19 46 MessageType_MESSAGE_SYSCALL_SIGNALFD MessageType = 20 47 MessageType_MESSAGE_SYSCALL_CHROOT MessageType = 21 48 MessageType_MESSAGE_SYSCALL_EVENTFD MessageType = 22 49 MessageType_MESSAGE_SYSCALL_CLONE MessageType = 23 50 MessageType_MESSAGE_SYSCALL_BIND MessageType = 24 51 MessageType_MESSAGE_SYSCALL_ACCEPT MessageType = 25 52 MessageType_MESSAGE_SYSCALL_TIMERFD_CREATE MessageType = 26 53 MessageType_MESSAGE_SYSCALL_TIMERFD_SETTIME MessageType = 27 54 MessageType_MESSAGE_SYSCALL_TIMERFD_GETTIME MessageType = 28 55 MessageType_MESSAGE_SYSCALL_FORK MessageType = 29 56 MessageType_MESSAGE_SYSCALL_INOTIFY_INIT MessageType = 30 57 MessageType_MESSAGE_SYSCALL_INOTIFY_ADD_WATCH MessageType = 31 58 MessageType_MESSAGE_SYSCALL_INOTIFY_RM_WATCH MessageType = 32 59 MessageType_MESSAGE_SYSCALL_SOCKETPAIR MessageType = 33 60 MessageType_MESSAGE_SYSCALL_WRITE MessageType = 34 61 ) 62 63 // Enum value maps for MessageType. 64 var ( 65 MessageType_name = map[int32]string{ 66 0: "MESSAGE_UNKNOWN", 67 1: "MESSAGE_CONTAINER_START", 68 2: "MESSAGE_SENTRY_CLONE", 69 3: "MESSAGE_SENTRY_EXEC", 70 4: "MESSAGE_SENTRY_EXIT_NOTIFY_PARENT", 71 5: "MESSAGE_SENTRY_TASK_EXIT", 72 6: "MESSAGE_SYSCALL_RAW", 73 7: "MESSAGE_SYSCALL_OPEN", 74 8: "MESSAGE_SYSCALL_CLOSE", 75 9: "MESSAGE_SYSCALL_READ", 76 10: "MESSAGE_SYSCALL_CONNECT", 77 11: "MESSAGE_SYSCALL_EXECVE", 78 12: "MESSAGE_SYSCALL_SOCKET", 79 13: "MESSAGE_SYSCALL_CHDIR", 80 14: "MESSAGE_SYSCALL_SETID", 81 15: "MESSAGE_SYSCALL_SETRESID", 82 16: "MESSAGE_SYSCALL_PRLIMIT64", 83 17: "MESSAGE_SYSCALL_PIPE", 84 18: "MESSAGE_SYSCALL_FCNTL", 85 19: "MESSAGE_SYSCALL_DUP", 86 20: "MESSAGE_SYSCALL_SIGNALFD", 87 21: "MESSAGE_SYSCALL_CHROOT", 88 22: "MESSAGE_SYSCALL_EVENTFD", 89 23: "MESSAGE_SYSCALL_CLONE", 90 24: "MESSAGE_SYSCALL_BIND", 91 25: "MESSAGE_SYSCALL_ACCEPT", 92 26: "MESSAGE_SYSCALL_TIMERFD_CREATE", 93 27: "MESSAGE_SYSCALL_TIMERFD_SETTIME", 94 28: "MESSAGE_SYSCALL_TIMERFD_GETTIME", 95 29: "MESSAGE_SYSCALL_FORK", 96 30: "MESSAGE_SYSCALL_INOTIFY_INIT", 97 31: "MESSAGE_SYSCALL_INOTIFY_ADD_WATCH", 98 32: "MESSAGE_SYSCALL_INOTIFY_RM_WATCH", 99 33: "MESSAGE_SYSCALL_SOCKETPAIR", 100 34: "MESSAGE_SYSCALL_WRITE", 101 } 102 MessageType_value = map[string]int32{ 103 "MESSAGE_UNKNOWN": 0, 104 "MESSAGE_CONTAINER_START": 1, 105 "MESSAGE_SENTRY_CLONE": 2, 106 "MESSAGE_SENTRY_EXEC": 3, 107 "MESSAGE_SENTRY_EXIT_NOTIFY_PARENT": 4, 108 "MESSAGE_SENTRY_TASK_EXIT": 5, 109 "MESSAGE_SYSCALL_RAW": 6, 110 "MESSAGE_SYSCALL_OPEN": 7, 111 "MESSAGE_SYSCALL_CLOSE": 8, 112 "MESSAGE_SYSCALL_READ": 9, 113 "MESSAGE_SYSCALL_CONNECT": 10, 114 "MESSAGE_SYSCALL_EXECVE": 11, 115 "MESSAGE_SYSCALL_SOCKET": 12, 116 "MESSAGE_SYSCALL_CHDIR": 13, 117 "MESSAGE_SYSCALL_SETID": 14, 118 "MESSAGE_SYSCALL_SETRESID": 15, 119 "MESSAGE_SYSCALL_PRLIMIT64": 16, 120 "MESSAGE_SYSCALL_PIPE": 17, 121 "MESSAGE_SYSCALL_FCNTL": 18, 122 "MESSAGE_SYSCALL_DUP": 19, 123 "MESSAGE_SYSCALL_SIGNALFD": 20, 124 "MESSAGE_SYSCALL_CHROOT": 21, 125 "MESSAGE_SYSCALL_EVENTFD": 22, 126 "MESSAGE_SYSCALL_CLONE": 23, 127 "MESSAGE_SYSCALL_BIND": 24, 128 "MESSAGE_SYSCALL_ACCEPT": 25, 129 "MESSAGE_SYSCALL_TIMERFD_CREATE": 26, 130 "MESSAGE_SYSCALL_TIMERFD_SETTIME": 27, 131 "MESSAGE_SYSCALL_TIMERFD_GETTIME": 28, 132 "MESSAGE_SYSCALL_FORK": 29, 133 "MESSAGE_SYSCALL_INOTIFY_INIT": 30, 134 "MESSAGE_SYSCALL_INOTIFY_ADD_WATCH": 31, 135 "MESSAGE_SYSCALL_INOTIFY_RM_WATCH": 32, 136 "MESSAGE_SYSCALL_SOCKETPAIR": 33, 137 "MESSAGE_SYSCALL_WRITE": 34, 138 } 139 ) 140 141 func (x MessageType) Enum() *MessageType { 142 p := new(MessageType) 143 *p = x 144 return p 145 } 146 147 func (x MessageType) String() string { 148 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 149 } 150 151 func (MessageType) Descriptor() protoreflect.EnumDescriptor { 152 return file_pkg_sentry_seccheck_points_common_proto_enumTypes[0].Descriptor() 153 } 154 155 func (MessageType) Type() protoreflect.EnumType { 156 return &file_pkg_sentry_seccheck_points_common_proto_enumTypes[0] 157 } 158 159 func (x MessageType) Number() protoreflect.EnumNumber { 160 return protoreflect.EnumNumber(x) 161 } 162 163 // Deprecated: Use MessageType.Descriptor instead. 164 func (MessageType) EnumDescriptor() ([]byte, []int) { 165 return file_pkg_sentry_seccheck_points_common_proto_rawDescGZIP(), []int{0} 166 } 167 168 type Handshake struct { 169 state protoimpl.MessageState 170 sizeCache protoimpl.SizeCache 171 unknownFields protoimpl.UnknownFields 172 173 Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` 174 } 175 176 func (x *Handshake) Reset() { 177 *x = Handshake{} 178 if protoimpl.UnsafeEnabled { 179 mi := &file_pkg_sentry_seccheck_points_common_proto_msgTypes[0] 180 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 181 ms.StoreMessageInfo(mi) 182 } 183 } 184 185 func (x *Handshake) String() string { 186 return protoimpl.X.MessageStringOf(x) 187 } 188 189 func (*Handshake) ProtoMessage() {} 190 191 func (x *Handshake) ProtoReflect() protoreflect.Message { 192 mi := &file_pkg_sentry_seccheck_points_common_proto_msgTypes[0] 193 if protoimpl.UnsafeEnabled && x != nil { 194 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 195 if ms.LoadMessageInfo() == nil { 196 ms.StoreMessageInfo(mi) 197 } 198 return ms 199 } 200 return mi.MessageOf(x) 201 } 202 203 // Deprecated: Use Handshake.ProtoReflect.Descriptor instead. 204 func (*Handshake) Descriptor() ([]byte, []int) { 205 return file_pkg_sentry_seccheck_points_common_proto_rawDescGZIP(), []int{0} 206 } 207 208 func (x *Handshake) GetVersion() uint32 { 209 if x != nil { 210 return x.Version 211 } 212 return 0 213 } 214 215 type Credentials struct { 216 state protoimpl.MessageState 217 sizeCache protoimpl.SizeCache 218 unknownFields protoimpl.UnknownFields 219 220 RealUid uint32 `protobuf:"varint,1,opt,name=real_uid,json=realUid,proto3" json:"real_uid,omitempty"` 221 EffectiveUid uint32 `protobuf:"varint,2,opt,name=effective_uid,json=effectiveUid,proto3" json:"effective_uid,omitempty"` 222 SavedUid uint32 `protobuf:"varint,3,opt,name=saved_uid,json=savedUid,proto3" json:"saved_uid,omitempty"` 223 RealGid uint32 `protobuf:"varint,4,opt,name=real_gid,json=realGid,proto3" json:"real_gid,omitempty"` 224 EffectiveGid uint32 `protobuf:"varint,5,opt,name=effective_gid,json=effectiveGid,proto3" json:"effective_gid,omitempty"` 225 SavedGid uint32 `protobuf:"varint,6,opt,name=saved_gid,json=savedGid,proto3" json:"saved_gid,omitempty"` 226 } 227 228 func (x *Credentials) Reset() { 229 *x = Credentials{} 230 if protoimpl.UnsafeEnabled { 231 mi := &file_pkg_sentry_seccheck_points_common_proto_msgTypes[1] 232 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 233 ms.StoreMessageInfo(mi) 234 } 235 } 236 237 func (x *Credentials) String() string { 238 return protoimpl.X.MessageStringOf(x) 239 } 240 241 func (*Credentials) ProtoMessage() {} 242 243 func (x *Credentials) ProtoReflect() protoreflect.Message { 244 mi := &file_pkg_sentry_seccheck_points_common_proto_msgTypes[1] 245 if protoimpl.UnsafeEnabled && x != nil { 246 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 247 if ms.LoadMessageInfo() == nil { 248 ms.StoreMessageInfo(mi) 249 } 250 return ms 251 } 252 return mi.MessageOf(x) 253 } 254 255 // Deprecated: Use Credentials.ProtoReflect.Descriptor instead. 256 func (*Credentials) Descriptor() ([]byte, []int) { 257 return file_pkg_sentry_seccheck_points_common_proto_rawDescGZIP(), []int{1} 258 } 259 260 func (x *Credentials) GetRealUid() uint32 { 261 if x != nil { 262 return x.RealUid 263 } 264 return 0 265 } 266 267 func (x *Credentials) GetEffectiveUid() uint32 { 268 if x != nil { 269 return x.EffectiveUid 270 } 271 return 0 272 } 273 274 func (x *Credentials) GetSavedUid() uint32 { 275 if x != nil { 276 return x.SavedUid 277 } 278 return 0 279 } 280 281 func (x *Credentials) GetRealGid() uint32 { 282 if x != nil { 283 return x.RealGid 284 } 285 return 0 286 } 287 288 func (x *Credentials) GetEffectiveGid() uint32 { 289 if x != nil { 290 return x.EffectiveGid 291 } 292 return 0 293 } 294 295 func (x *Credentials) GetSavedGid() uint32 { 296 if x != nil { 297 return x.SavedGid 298 } 299 return 0 300 } 301 302 type ContextData struct { 303 state protoimpl.MessageState 304 sizeCache protoimpl.SizeCache 305 unknownFields protoimpl.UnknownFields 306 307 TimeNs int64 `protobuf:"varint,1,opt,name=time_ns,json=timeNs,proto3" json:"time_ns,omitempty"` 308 ThreadId int32 `protobuf:"varint,2,opt,name=thread_id,json=threadId,proto3" json:"thread_id,omitempty"` 309 ThreadStartTimeNs int64 `protobuf:"varint,3,opt,name=thread_start_time_ns,json=threadStartTimeNs,proto3" json:"thread_start_time_ns,omitempty"` 310 ThreadGroupId int32 `protobuf:"varint,4,opt,name=thread_group_id,json=threadGroupId,proto3" json:"thread_group_id,omitempty"` 311 ThreadGroupStartTimeNs int64 `protobuf:"varint,5,opt,name=thread_group_start_time_ns,json=threadGroupStartTimeNs,proto3" json:"thread_group_start_time_ns,omitempty"` 312 ContainerId string `protobuf:"bytes,6,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"` 313 Credentials *Credentials `protobuf:"bytes,7,opt,name=credentials,proto3" json:"credentials,omitempty"` 314 Cwd string `protobuf:"bytes,8,opt,name=cwd,proto3" json:"cwd,omitempty"` 315 ProcessName string `protobuf:"bytes,9,opt,name=process_name,json=processName,proto3" json:"process_name,omitempty"` 316 } 317 318 func (x *ContextData) Reset() { 319 *x = ContextData{} 320 if protoimpl.UnsafeEnabled { 321 mi := &file_pkg_sentry_seccheck_points_common_proto_msgTypes[2] 322 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 323 ms.StoreMessageInfo(mi) 324 } 325 } 326 327 func (x *ContextData) String() string { 328 return protoimpl.X.MessageStringOf(x) 329 } 330 331 func (*ContextData) ProtoMessage() {} 332 333 func (x *ContextData) ProtoReflect() protoreflect.Message { 334 mi := &file_pkg_sentry_seccheck_points_common_proto_msgTypes[2] 335 if protoimpl.UnsafeEnabled && x != nil { 336 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 337 if ms.LoadMessageInfo() == nil { 338 ms.StoreMessageInfo(mi) 339 } 340 return ms 341 } 342 return mi.MessageOf(x) 343 } 344 345 // Deprecated: Use ContextData.ProtoReflect.Descriptor instead. 346 func (*ContextData) Descriptor() ([]byte, []int) { 347 return file_pkg_sentry_seccheck_points_common_proto_rawDescGZIP(), []int{2} 348 } 349 350 func (x *ContextData) GetTimeNs() int64 { 351 if x != nil { 352 return x.TimeNs 353 } 354 return 0 355 } 356 357 func (x *ContextData) GetThreadId() int32 { 358 if x != nil { 359 return x.ThreadId 360 } 361 return 0 362 } 363 364 func (x *ContextData) GetThreadStartTimeNs() int64 { 365 if x != nil { 366 return x.ThreadStartTimeNs 367 } 368 return 0 369 } 370 371 func (x *ContextData) GetThreadGroupId() int32 { 372 if x != nil { 373 return x.ThreadGroupId 374 } 375 return 0 376 } 377 378 func (x *ContextData) GetThreadGroupStartTimeNs() int64 { 379 if x != nil { 380 return x.ThreadGroupStartTimeNs 381 } 382 return 0 383 } 384 385 func (x *ContextData) GetContainerId() string { 386 if x != nil { 387 return x.ContainerId 388 } 389 return "" 390 } 391 392 func (x *ContextData) GetCredentials() *Credentials { 393 if x != nil { 394 return x.Credentials 395 } 396 return nil 397 } 398 399 func (x *ContextData) GetCwd() string { 400 if x != nil { 401 return x.Cwd 402 } 403 return "" 404 } 405 406 func (x *ContextData) GetProcessName() string { 407 if x != nil { 408 return x.ProcessName 409 } 410 return "" 411 } 412 413 var File_pkg_sentry_seccheck_points_common_proto protoreflect.FileDescriptor 414 415 var file_pkg_sentry_seccheck_points_common_proto_rawDesc = []byte{ 416 0x0a, 0x27, 0x70, 0x6b, 0x67, 0x2f, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2f, 0x73, 0x65, 0x63, 417 0x63, 0x68, 0x65, 0x63, 0x6b, 0x2f, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x2f, 0x63, 0x6f, 0x6d, 418 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0d, 0x67, 0x76, 0x69, 0x73, 0x6f, 419 0x72, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x22, 0x25, 0x0a, 0x09, 0x48, 0x61, 0x6e, 0x64, 420 0x73, 0x68, 0x61, 0x6b, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 421 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 422 0xc7, 0x01, 0x0a, 0x0b, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x73, 0x12, 423 0x19, 0x0a, 0x08, 0x72, 0x65, 0x61, 0x6c, 0x5f, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 424 0x0d, 0x52, 0x07, 0x72, 0x65, 0x61, 0x6c, 0x55, 0x69, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x65, 0x66, 425 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x75, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 426 0x0d, 0x52, 0x0c, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x55, 0x69, 0x64, 0x12, 427 0x1b, 0x0a, 0x09, 0x73, 0x61, 0x76, 0x65, 0x64, 0x5f, 0x75, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 428 0x28, 0x0d, 0x52, 0x08, 0x73, 0x61, 0x76, 0x65, 0x64, 0x55, 0x69, 0x64, 0x12, 0x19, 0x0a, 0x08, 429 0x72, 0x65, 0x61, 0x6c, 0x5f, 0x67, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 430 0x72, 0x65, 0x61, 0x6c, 0x47, 0x69, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x65, 0x66, 0x66, 0x65, 0x63, 431 0x74, 0x69, 0x76, 0x65, 0x5f, 0x67, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 432 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x47, 0x69, 0x64, 0x12, 0x1b, 0x0a, 0x09, 433 0x73, 0x61, 0x76, 0x65, 0x64, 0x5f, 0x67, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 434 0x08, 0x73, 0x61, 0x76, 0x65, 0x64, 0x47, 0x69, 0x64, 0x22, 0xee, 0x02, 0x0a, 0x0b, 0x43, 0x6f, 435 0x6e, 0x74, 0x65, 0x78, 0x74, 0x44, 0x61, 0x74, 0x61, 0x12, 0x17, 0x0a, 0x07, 0x74, 0x69, 0x6d, 436 0x65, 0x5f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x74, 0x69, 0x6d, 0x65, 437 0x4e, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, 0x5f, 0x69, 0x64, 0x18, 438 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, 0x49, 0x64, 0x12, 439 0x2f, 0x0a, 0x14, 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 440 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x11, 0x74, 441 0x68, 0x72, 0x65, 0x61, 0x64, 0x53, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x4e, 0x73, 442 0x12, 0x26, 0x0a, 0x0f, 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 443 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0d, 0x74, 0x68, 0x72, 0x65, 0x61, 444 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x3a, 0x0a, 0x1a, 0x74, 0x68, 0x72, 0x65, 445 0x61, 0x64, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 446 0x69, 0x6d, 0x65, 0x5f, 0x6e, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x16, 0x74, 0x68, 447 0x72, 0x65, 0x61, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x53, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 448 0x6d, 0x65, 0x4e, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 449 0x72, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x74, 450 0x61, 0x69, 0x6e, 0x65, 0x72, 0x49, 0x64, 0x12, 0x3c, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x64, 0x65, 451 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 452 0x76, 0x69, 0x73, 0x6f, 0x72, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x43, 0x72, 0x65, 453 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x73, 0x52, 0x0b, 0x63, 0x72, 0x65, 0x64, 0x65, 0x6e, 454 0x74, 0x69, 0x61, 0x6c, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x63, 0x77, 0x64, 0x18, 0x08, 0x20, 0x01, 455 0x28, 0x09, 0x52, 0x03, 0x63, 0x77, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x72, 0x6f, 0x63, 0x65, 456 0x73, 0x73, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x70, 457 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x4e, 0x61, 0x6d, 0x65, 0x2a, 0x8f, 0x08, 0x0a, 0x0b, 0x4d, 458 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x13, 0x0a, 0x0f, 0x4d, 0x45, 459 0x53, 0x53, 0x41, 0x47, 0x45, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 460 0x1b, 0x0a, 0x17, 0x4d, 0x45, 0x53, 0x53, 0x41, 0x47, 0x45, 0x5f, 0x43, 0x4f, 0x4e, 0x54, 0x41, 461 0x49, 0x4e, 0x45, 0x52, 0x5f, 0x53, 0x54, 0x41, 0x52, 0x54, 0x10, 0x01, 0x12, 0x18, 0x0a, 0x14, 462 0x4d, 0x45, 0x53, 0x53, 0x41, 0x47, 0x45, 0x5f, 0x53, 0x45, 0x4e, 0x54, 0x52, 0x59, 0x5f, 0x43, 463 0x4c, 0x4f, 0x4e, 0x45, 0x10, 0x02, 0x12, 0x17, 0x0a, 0x13, 0x4d, 0x45, 0x53, 0x53, 0x41, 0x47, 464 0x45, 0x5f, 0x53, 0x45, 0x4e, 0x54, 0x52, 0x59, 0x5f, 0x45, 0x58, 0x45, 0x43, 0x10, 0x03, 0x12, 465 0x25, 0x0a, 0x21, 0x4d, 0x45, 0x53, 0x53, 0x41, 0x47, 0x45, 0x5f, 0x53, 0x45, 0x4e, 0x54, 0x52, 466 0x59, 0x5f, 0x45, 0x58, 0x49, 0x54, 0x5f, 0x4e, 0x4f, 0x54, 0x49, 0x46, 0x59, 0x5f, 0x50, 0x41, 467 0x52, 0x45, 0x4e, 0x54, 0x10, 0x04, 0x12, 0x1c, 0x0a, 0x18, 0x4d, 0x45, 0x53, 0x53, 0x41, 0x47, 468 0x45, 0x5f, 0x53, 0x45, 0x4e, 0x54, 0x52, 0x59, 0x5f, 0x54, 0x41, 0x53, 0x4b, 0x5f, 0x45, 0x58, 469 0x49, 0x54, 0x10, 0x05, 0x12, 0x17, 0x0a, 0x13, 0x4d, 0x45, 0x53, 0x53, 0x41, 0x47, 0x45, 0x5f, 470 0x53, 0x59, 0x53, 0x43, 0x41, 0x4c, 0x4c, 0x5f, 0x52, 0x41, 0x57, 0x10, 0x06, 0x12, 0x18, 0x0a, 471 0x14, 0x4d, 0x45, 0x53, 0x53, 0x41, 0x47, 0x45, 0x5f, 0x53, 0x59, 0x53, 0x43, 0x41, 0x4c, 0x4c, 472 0x5f, 0x4f, 0x50, 0x45, 0x4e, 0x10, 0x07, 0x12, 0x19, 0x0a, 0x15, 0x4d, 0x45, 0x53, 0x53, 0x41, 473 0x47, 0x45, 0x5f, 0x53, 0x59, 0x53, 0x43, 0x41, 0x4c, 0x4c, 0x5f, 0x43, 0x4c, 0x4f, 0x53, 0x45, 474 0x10, 0x08, 0x12, 0x18, 0x0a, 0x14, 0x4d, 0x45, 0x53, 0x53, 0x41, 0x47, 0x45, 0x5f, 0x53, 0x59, 475 0x53, 0x43, 0x41, 0x4c, 0x4c, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x10, 0x09, 0x12, 0x1b, 0x0a, 0x17, 476 0x4d, 0x45, 0x53, 0x53, 0x41, 0x47, 0x45, 0x5f, 0x53, 0x59, 0x53, 0x43, 0x41, 0x4c, 0x4c, 0x5f, 477 0x43, 0x4f, 0x4e, 0x4e, 0x45, 0x43, 0x54, 0x10, 0x0a, 0x12, 0x1a, 0x0a, 0x16, 0x4d, 0x45, 0x53, 478 0x53, 0x41, 0x47, 0x45, 0x5f, 0x53, 0x59, 0x53, 0x43, 0x41, 0x4c, 0x4c, 0x5f, 0x45, 0x58, 0x45, 479 0x43, 0x56, 0x45, 0x10, 0x0b, 0x12, 0x1a, 0x0a, 0x16, 0x4d, 0x45, 0x53, 0x53, 0x41, 0x47, 0x45, 480 0x5f, 0x53, 0x59, 0x53, 0x43, 0x41, 0x4c, 0x4c, 0x5f, 0x53, 0x4f, 0x43, 0x4b, 0x45, 0x54, 0x10, 481 0x0c, 0x12, 0x19, 0x0a, 0x15, 0x4d, 0x45, 0x53, 0x53, 0x41, 0x47, 0x45, 0x5f, 0x53, 0x59, 0x53, 482 0x43, 0x41, 0x4c, 0x4c, 0x5f, 0x43, 0x48, 0x44, 0x49, 0x52, 0x10, 0x0d, 0x12, 0x19, 0x0a, 0x15, 483 0x4d, 0x45, 0x53, 0x53, 0x41, 0x47, 0x45, 0x5f, 0x53, 0x59, 0x53, 0x43, 0x41, 0x4c, 0x4c, 0x5f, 484 0x53, 0x45, 0x54, 0x49, 0x44, 0x10, 0x0e, 0x12, 0x1c, 0x0a, 0x18, 0x4d, 0x45, 0x53, 0x53, 0x41, 485 0x47, 0x45, 0x5f, 0x53, 0x59, 0x53, 0x43, 0x41, 0x4c, 0x4c, 0x5f, 0x53, 0x45, 0x54, 0x52, 0x45, 486 0x53, 0x49, 0x44, 0x10, 0x0f, 0x12, 0x1d, 0x0a, 0x19, 0x4d, 0x45, 0x53, 0x53, 0x41, 0x47, 0x45, 487 0x5f, 0x53, 0x59, 0x53, 0x43, 0x41, 0x4c, 0x4c, 0x5f, 0x50, 0x52, 0x4c, 0x49, 0x4d, 0x49, 0x54, 488 0x36, 0x34, 0x10, 0x10, 0x12, 0x18, 0x0a, 0x14, 0x4d, 0x45, 0x53, 0x53, 0x41, 0x47, 0x45, 0x5f, 489 0x53, 0x59, 0x53, 0x43, 0x41, 0x4c, 0x4c, 0x5f, 0x50, 0x49, 0x50, 0x45, 0x10, 0x11, 0x12, 0x19, 490 0x0a, 0x15, 0x4d, 0x45, 0x53, 0x53, 0x41, 0x47, 0x45, 0x5f, 0x53, 0x59, 0x53, 0x43, 0x41, 0x4c, 491 0x4c, 0x5f, 0x46, 0x43, 0x4e, 0x54, 0x4c, 0x10, 0x12, 0x12, 0x17, 0x0a, 0x13, 0x4d, 0x45, 0x53, 492 0x53, 0x41, 0x47, 0x45, 0x5f, 0x53, 0x59, 0x53, 0x43, 0x41, 0x4c, 0x4c, 0x5f, 0x44, 0x55, 0x50, 493 0x10, 0x13, 0x12, 0x1c, 0x0a, 0x18, 0x4d, 0x45, 0x53, 0x53, 0x41, 0x47, 0x45, 0x5f, 0x53, 0x59, 494 0x53, 0x43, 0x41, 0x4c, 0x4c, 0x5f, 0x53, 0x49, 0x47, 0x4e, 0x41, 0x4c, 0x46, 0x44, 0x10, 0x14, 495 0x12, 0x1a, 0x0a, 0x16, 0x4d, 0x45, 0x53, 0x53, 0x41, 0x47, 0x45, 0x5f, 0x53, 0x59, 0x53, 0x43, 496 0x41, 0x4c, 0x4c, 0x5f, 0x43, 0x48, 0x52, 0x4f, 0x4f, 0x54, 0x10, 0x15, 0x12, 0x1b, 0x0a, 0x17, 497 0x4d, 0x45, 0x53, 0x53, 0x41, 0x47, 0x45, 0x5f, 0x53, 0x59, 0x53, 0x43, 0x41, 0x4c, 0x4c, 0x5f, 498 0x45, 0x56, 0x45, 0x4e, 0x54, 0x46, 0x44, 0x10, 0x16, 0x12, 0x19, 0x0a, 0x15, 0x4d, 0x45, 0x53, 499 0x53, 0x41, 0x47, 0x45, 0x5f, 0x53, 0x59, 0x53, 0x43, 0x41, 0x4c, 0x4c, 0x5f, 0x43, 0x4c, 0x4f, 500 0x4e, 0x45, 0x10, 0x17, 0x12, 0x18, 0x0a, 0x14, 0x4d, 0x45, 0x53, 0x53, 0x41, 0x47, 0x45, 0x5f, 501 0x53, 0x59, 0x53, 0x43, 0x41, 0x4c, 0x4c, 0x5f, 0x42, 0x49, 0x4e, 0x44, 0x10, 0x18, 0x12, 0x1a, 502 0x0a, 0x16, 0x4d, 0x45, 0x53, 0x53, 0x41, 0x47, 0x45, 0x5f, 0x53, 0x59, 0x53, 0x43, 0x41, 0x4c, 503 0x4c, 0x5f, 0x41, 0x43, 0x43, 0x45, 0x50, 0x54, 0x10, 0x19, 0x12, 0x22, 0x0a, 0x1e, 0x4d, 0x45, 504 0x53, 0x53, 0x41, 0x47, 0x45, 0x5f, 0x53, 0x59, 0x53, 0x43, 0x41, 0x4c, 0x4c, 0x5f, 0x54, 0x49, 505 0x4d, 0x45, 0x52, 0x46, 0x44, 0x5f, 0x43, 0x52, 0x45, 0x41, 0x54, 0x45, 0x10, 0x1a, 0x12, 0x23, 506 0x0a, 0x1f, 0x4d, 0x45, 0x53, 0x53, 0x41, 0x47, 0x45, 0x5f, 0x53, 0x59, 0x53, 0x43, 0x41, 0x4c, 507 0x4c, 0x5f, 0x54, 0x49, 0x4d, 0x45, 0x52, 0x46, 0x44, 0x5f, 0x53, 0x45, 0x54, 0x54, 0x49, 0x4d, 508 0x45, 0x10, 0x1b, 0x12, 0x23, 0x0a, 0x1f, 0x4d, 0x45, 0x53, 0x53, 0x41, 0x47, 0x45, 0x5f, 0x53, 509 0x59, 0x53, 0x43, 0x41, 0x4c, 0x4c, 0x5f, 0x54, 0x49, 0x4d, 0x45, 0x52, 0x46, 0x44, 0x5f, 0x47, 510 0x45, 0x54, 0x54, 0x49, 0x4d, 0x45, 0x10, 0x1c, 0x12, 0x18, 0x0a, 0x14, 0x4d, 0x45, 0x53, 0x53, 511 0x41, 0x47, 0x45, 0x5f, 0x53, 0x59, 0x53, 0x43, 0x41, 0x4c, 0x4c, 0x5f, 0x46, 0x4f, 0x52, 0x4b, 512 0x10, 0x1d, 0x12, 0x20, 0x0a, 0x1c, 0x4d, 0x45, 0x53, 0x53, 0x41, 0x47, 0x45, 0x5f, 0x53, 0x59, 513 0x53, 0x43, 0x41, 0x4c, 0x4c, 0x5f, 0x49, 0x4e, 0x4f, 0x54, 0x49, 0x46, 0x59, 0x5f, 0x49, 0x4e, 514 0x49, 0x54, 0x10, 0x1e, 0x12, 0x25, 0x0a, 0x21, 0x4d, 0x45, 0x53, 0x53, 0x41, 0x47, 0x45, 0x5f, 515 0x53, 0x59, 0x53, 0x43, 0x41, 0x4c, 0x4c, 0x5f, 0x49, 0x4e, 0x4f, 0x54, 0x49, 0x46, 0x59, 0x5f, 516 0x41, 0x44, 0x44, 0x5f, 0x57, 0x41, 0x54, 0x43, 0x48, 0x10, 0x1f, 0x12, 0x24, 0x0a, 0x20, 0x4d, 517 0x45, 0x53, 0x53, 0x41, 0x47, 0x45, 0x5f, 0x53, 0x59, 0x53, 0x43, 0x41, 0x4c, 0x4c, 0x5f, 0x49, 518 0x4e, 0x4f, 0x54, 0x49, 0x46, 0x59, 0x5f, 0x52, 0x4d, 0x5f, 0x57, 0x41, 0x54, 0x43, 0x48, 0x10, 519 0x20, 0x12, 0x1e, 0x0a, 0x1a, 0x4d, 0x45, 0x53, 0x53, 0x41, 0x47, 0x45, 0x5f, 0x53, 0x59, 0x53, 520 0x43, 0x41, 0x4c, 0x4c, 0x5f, 0x53, 0x4f, 0x43, 0x4b, 0x45, 0x54, 0x50, 0x41, 0x49, 0x52, 0x10, 521 0x21, 0x12, 0x19, 0x0a, 0x15, 0x4d, 0x45, 0x53, 0x53, 0x41, 0x47, 0x45, 0x5f, 0x53, 0x59, 0x53, 522 0x43, 0x41, 0x4c, 0x4c, 0x5f, 0x57, 0x52, 0x49, 0x54, 0x45, 0x10, 0x22, 0x62, 0x06, 0x70, 0x72, 523 0x6f, 0x74, 0x6f, 0x33, 524 } 525 526 var ( 527 file_pkg_sentry_seccheck_points_common_proto_rawDescOnce sync.Once 528 file_pkg_sentry_seccheck_points_common_proto_rawDescData = file_pkg_sentry_seccheck_points_common_proto_rawDesc 529 ) 530 531 func file_pkg_sentry_seccheck_points_common_proto_rawDescGZIP() []byte { 532 file_pkg_sentry_seccheck_points_common_proto_rawDescOnce.Do(func() { 533 file_pkg_sentry_seccheck_points_common_proto_rawDescData = protoimpl.X.CompressGZIP(file_pkg_sentry_seccheck_points_common_proto_rawDescData) 534 }) 535 return file_pkg_sentry_seccheck_points_common_proto_rawDescData 536 } 537 538 var file_pkg_sentry_seccheck_points_common_proto_enumTypes = make([]protoimpl.EnumInfo, 1) 539 var file_pkg_sentry_seccheck_points_common_proto_msgTypes = make([]protoimpl.MessageInfo, 3) 540 var file_pkg_sentry_seccheck_points_common_proto_goTypes = []interface{}{ 541 (MessageType)(0), // 0: gvisor.common.MessageType 542 (*Handshake)(nil), // 1: gvisor.common.Handshake 543 (*Credentials)(nil), // 2: gvisor.common.Credentials 544 (*ContextData)(nil), // 3: gvisor.common.ContextData 545 } 546 var file_pkg_sentry_seccheck_points_common_proto_depIdxs = []int32{ 547 2, // 0: gvisor.common.ContextData.credentials:type_name -> gvisor.common.Credentials 548 1, // [1:1] is the sub-list for method output_type 549 1, // [1:1] is the sub-list for method input_type 550 1, // [1:1] is the sub-list for extension type_name 551 1, // [1:1] is the sub-list for extension extendee 552 0, // [0:1] is the sub-list for field type_name 553 } 554 555 func init() { file_pkg_sentry_seccheck_points_common_proto_init() } 556 func file_pkg_sentry_seccheck_points_common_proto_init() { 557 if File_pkg_sentry_seccheck_points_common_proto != nil { 558 return 559 } 560 if !protoimpl.UnsafeEnabled { 561 file_pkg_sentry_seccheck_points_common_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 562 switch v := v.(*Handshake); i { 563 case 0: 564 return &v.state 565 case 1: 566 return &v.sizeCache 567 case 2: 568 return &v.unknownFields 569 default: 570 return nil 571 } 572 } 573 file_pkg_sentry_seccheck_points_common_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 574 switch v := v.(*Credentials); i { 575 case 0: 576 return &v.state 577 case 1: 578 return &v.sizeCache 579 case 2: 580 return &v.unknownFields 581 default: 582 return nil 583 } 584 } 585 file_pkg_sentry_seccheck_points_common_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 586 switch v := v.(*ContextData); i { 587 case 0: 588 return &v.state 589 case 1: 590 return &v.sizeCache 591 case 2: 592 return &v.unknownFields 593 default: 594 return nil 595 } 596 } 597 } 598 type x struct{} 599 out := protoimpl.TypeBuilder{ 600 File: protoimpl.DescBuilder{ 601 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 602 RawDescriptor: file_pkg_sentry_seccheck_points_common_proto_rawDesc, 603 NumEnums: 1, 604 NumMessages: 3, 605 NumExtensions: 0, 606 NumServices: 0, 607 }, 608 GoTypes: file_pkg_sentry_seccheck_points_common_proto_goTypes, 609 DependencyIndexes: file_pkg_sentry_seccheck_points_common_proto_depIdxs, 610 EnumInfos: file_pkg_sentry_seccheck_points_common_proto_enumTypes, 611 MessageInfos: file_pkg_sentry_seccheck_points_common_proto_msgTypes, 612 }.Build() 613 File_pkg_sentry_seccheck_points_common_proto = out.File 614 file_pkg_sentry_seccheck_points_common_proto_rawDesc = nil 615 file_pkg_sentry_seccheck_points_common_proto_goTypes = nil 616 file_pkg_sentry_seccheck_points_common_proto_depIdxs = nil 617 }