diff -r db4911b0c721 -r 445e01aede7e vendor/golang.org/x/sys/unix/ztypes_solaris_amd64.go --- a/vendor/golang.org/x/sys/unix/ztypes_solaris_amd64.go Tue Aug 23 22:33:28 2022 +0200 +++ b/vendor/golang.org/x/sys/unix/ztypes_solaris_amd64.go Tue Aug 23 22:39:43 2022 +0200 @@ -178,7 +178,7 @@ } type Iovec struct { - Base *int8 + Base *byte Len uint64 } @@ -440,3 +440,43 @@ POLLWRBAND = 0x100 POLLWRNORM = 0x4 ) + +type fileObj struct { + Atim Timespec + Mtim Timespec + Ctim Timespec + Pad [3]uint64 + Name *int8 +} + +type portEvent struct { + Events int32 + Source uint16 + Pad uint16 + Object uint64 + User *byte +} + +const ( + PORT_SOURCE_AIO = 0x1 + PORT_SOURCE_TIMER = 0x2 + PORT_SOURCE_USER = 0x3 + PORT_SOURCE_FD = 0x4 + PORT_SOURCE_ALERT = 0x5 + PORT_SOURCE_MQ = 0x6 + PORT_SOURCE_FILE = 0x7 + PORT_ALERT_SET = 0x1 + PORT_ALERT_UPDATE = 0x2 + PORT_ALERT_INVALID = 0x3 + FILE_ACCESS = 0x1 + FILE_MODIFIED = 0x2 + FILE_ATTRIB = 0x4 + FILE_TRUNC = 0x100000 + FILE_NOFOLLOW = 0x10000000 + FILE_DELETE = 0x10 + FILE_RENAME_TO = 0x20 + FILE_RENAME_FROM = 0x40 + UNMOUNTED = 0x20000000 + MOUNTEDOVER = 0x40000000 + FILE_EXCEPTION = 0x60000070 +)