[chore] update dependencies, bump to Go 1.19.1 (#826)

* update dependencies, bump Go version to 1.19

* bump test image Go version

* update golangci-lint

* update gotosocial-drone-build

* sign

* linting, go fmt

* update swagger docs

* update swagger docs

* whitespace

* update contributing.md

* fuckin whoopsie doopsie

* linterino, linteroni

* fix followrequest test not starting processor

* fix other api/client tests not starting processor

* fix remaining tests where processor not started

* bump go-runners version

* don't check last-webfingered-at, processor may have updated this

* update swagger command

* update bun to latest version

* fix embed to work the same as before with new bun

Signed-off-by: kim <grufwub@gmail.com>
Co-authored-by: tsmethurst <tobi.smethurst@protonmail.com>
This commit is contained in:
kim 2022-09-28 18:30:40 +01:00 committed by GitHub
commit a156188b3e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
1135 changed files with 258905 additions and 137146 deletions

5
vendor/modernc.org/libc/signal/capi_freebsd_arm.go generated vendored Normal file
View file

@ -0,0 +1,5 @@
// Code generated by 'ccgo signal/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o signal/signal_freebsd_arm.go -pkgname signal', DO NOT EDIT.
package signal
var CAPI = map[string]struct{}{}

5
vendor/modernc.org/libc/signal/capi_openbsd_arm64.go generated vendored Normal file
View file

@ -0,0 +1,5 @@
// Code generated by 'ccgo signal/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o signal/signal_openbsd_amd64.go -pkgname signal', DO NOT EDIT.
package signal
var CAPI = map[string]struct{}{}

12
vendor/modernc.org/libc/signal/more_freebsd_arm.go generated vendored Normal file
View file

@ -0,0 +1,12 @@
// Copyright 2020 The Libc Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package signal
const (
// sys/sys/signal.h:139:#define SIG_DFL ((__sighandler_t *)0)
SIG_DFL = 0
// sys/sys/signal.h:140:#define SIG_IGN ((__sighandler_t *)1)
SIG_IGN = 1
)

12
vendor/modernc.org/libc/signal/more_openbsd_arm64.go generated vendored Normal file
View file

@ -0,0 +1,12 @@
// Copyright 2020 The Libc Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package signal
const (
// sys/sys/signal.h:139:#define SIG_DFL ((__sighandler_t *)0)
SIG_DFL = 0
// sys/sys/signal.h:140:#define SIG_IGN ((__sighandler_t *)1)
SIG_IGN = 1
)

View file

@ -676,8 +676,8 @@ type X__cpusetid_t = int32 /* _types.h:70:14 */ // cpuset identifier.
type X__daddr_t = X__int64_t /* _types.h:71:19 */ // bwrite(3), FIOBMAP2, etc
// Unusual type definitions.
// rune_t is declared to be an ``int'' instead of the more natural
// ``unsigned long'' or ``long''. Two things are happening here. It is not
// rune_t is declared to be an “int” instead of the more natural
// “unsigned long” or “long”. Two things are happening here. It is not
// unsigned so that EOF (-1) can be naturally assigned to it and used. Also,
// it looks like 10646 will be a 31 bit standard. This means that if your
// ints cannot hold 32 bits, you will be in trouble. The reason an int was

View file

@ -678,8 +678,8 @@ type X__cpusetid_t = int32 /* _types.h:70:14 */ // cpuset identifier.
type X__daddr_t = X__int64_t /* _types.h:71:19 */ // bwrite(3), FIOBMAP2, etc
// Unusual type definitions.
// rune_t is declared to be an ``int'' instead of the more natural
// ``unsigned long'' or ``long''. Two things are happening here. It is not
// rune_t is declared to be an “int” instead of the more natural
// “unsigned long” or “long”. Two things are happening here. It is not
// unsigned so that EOF (-1) can be naturally assigned to it and used. Also,
// it looks like 10646 will be a 31 bit standard. This means that if your
// ints cannot hold 32 bits, you will be in trouble. The reason an int was

1414
vendor/modernc.org/libc/signal/signal_freebsd_arm.go generated vendored Normal file

File diff suppressed because it is too large Load diff

View file

@ -214,7 +214,8 @@ const ( /* siginfo-consts.h:189:1: */
// Architecture-specific adjustments to siginfo_t. x86 version.
// Values for `si_code'. Positive values are reserved for kernel-generated
// signals.
//
// signals.
const ( /* siginfo-consts.h:35:1: */
SI_ASYNCNL = -60 // Sent by asynch name lookup completion.
SI_DETHREAD = -7 // Sent by execve killing subsidiary
@ -978,7 +979,8 @@ type X__syscall_slong_t = int32 /* types.h:196:33 */
type X__syscall_ulong_t = uint32 /* types.h:198:33 */
// These few don't really vary by system, they always correspond
// to one of the other defined types.
//
// to one of the other defined types.
type X__loff_t = X__off64_t /* types.h:202:19 */ // Type of file sizes and offsets (LFS).
type X__caddr_t = uintptr /* types.h:203:14 */
@ -989,13 +991,15 @@ type X__intptr_t = int32 /* types.h:206:25 */
type X__socklen_t = uint32 /* types.h:209:23 */
// C99: An integer type that can be accessed as an atomic entity,
// even in the presence of asynchronous interrupts.
// It is not currently necessary for this to be machine-specific.
//
// even in the presence of asynchronous interrupts.
// It is not currently necessary for this to be machine-specific.
type X__sig_atomic_t = int32 /* types.h:214:13 */
// Seconds since the Epoch, visible to user code when time_t is too
// narrow only for consistency with the old way of widening too-narrow
// types. User code should never use __time64_t.
//
// narrow only for consistency with the old way of widening too-narrow
// types. User code should never use __time64_t.
type X__time64_t = X__int64_t /* types.h:222:28 */
// Signal number definitions. Linux version.
@ -1091,7 +1095,8 @@ type X__time64_t = X__int64_t /* types.h:222:28 */
// Never include this file directly; use <sys/types.h> instead.
// An integral type that can be modified atomically, without the
// possibility of a signal arriving in the middle of the operation.
//
// possibility of a signal arriving in the middle of the operation.
type Sig_atomic_t = X__sig_atomic_t /* sig_atomic_t.h:8:24 */
type X__sigset_t = struct{ F__val [32]uint32 } /* __sigset_t.h:8:3 */
@ -1159,7 +1164,8 @@ type Uid_t = X__uid_t /* signal.h:46:17 */
// values.
// POSIX.1b structure for a time value. This is like a `struct timeval' but
// has nanoseconds instead of microseconds.
//
// has nanoseconds instead of microseconds.
type Timespec = struct {
Ftv_sec X__time_t
Ftv_nsec X__syscall_slong_t
@ -2097,18 +2103,21 @@ type X__pthread_cond_s = struct {
} /* thread-shared-types.h:92:1 */
// Thread identifiers. The structure of the attribute type is not
// exposed on purpose.
//
// exposed on purpose.
type Pthread_t = uint32 /* pthreadtypes.h:27:27 */
// Data structures for mutex handling. The structure of the attribute
// type is not exposed on purpose.
//
// type is not exposed on purpose.
type Pthread_mutexattr_t = struct {
F__ccgo_pad1 [0]uint32
F__size [4]int8
} /* pthreadtypes.h:36:3 */
// Data structure for condition variable handling. The structure of
// the attribute type is not exposed on purpose.
//
// the attribute type is not exposed on purpose.
type Pthread_condattr_t = struct {
F__ccgo_pad1 [0]uint32
F__size [4]int8
@ -2125,7 +2134,8 @@ type Pthread_mutex_t = struct{ F__data X__pthread_mutex_s } /* pthreadtypes.h:72
type Pthread_cond_t = struct{ F__data X__pthread_cond_s } /* pthreadtypes.h:80:3 */
// Data structure for reader-writer lock variable handling. The
// structure of the attribute type is deliberately not exposed.
//
// structure of the attribute type is deliberately not exposed.
type Pthread_rwlock_t = struct{ F__data X__pthread_rwlock_arch_t } /* pthreadtypes.h:91:3 */
type Pthread_rwlockattr_t = struct {
@ -2137,7 +2147,8 @@ type Pthread_rwlockattr_t = struct {
type Pthread_spinlock_t = int32 /* pthreadtypes.h:103:22 */
// POSIX barriers data type. The structure of the type is
// deliberately not exposed.
//
// deliberately not exposed.
type Pthread_barrier_t = struct {
F__ccgo_pad1 [0]uint32
F__size [20]int8

View file

@ -212,7 +212,8 @@ const ( /* siginfo-consts.h:189:1: */
// Architecture-specific adjustments to siginfo_t. x86 version.
// Values for `si_code'. Positive values are reserved for kernel-generated
// signals.
//
// signals.
const ( /* siginfo-consts.h:35:1: */
SI_ASYNCNL = -60 // Sent by asynch name lookup completion.
SI_DETHREAD = -7 // Sent by execve killing subsidiary
@ -996,7 +997,8 @@ type X__syscall_slong_t = int64 /* types.h:196:33 */
type X__syscall_ulong_t = uint64 /* types.h:198:33 */
// These few don't really vary by system, they always correspond
// to one of the other defined types.
//
// to one of the other defined types.
type X__loff_t = X__off64_t /* types.h:202:19 */ // Type of file sizes and offsets (LFS).
type X__caddr_t = uintptr /* types.h:203:14 */
@ -1007,8 +1009,9 @@ type X__intptr_t = int64 /* types.h:206:25 */
type X__socklen_t = uint32 /* types.h:209:23 */
// C99: An integer type that can be accessed as an atomic entity,
// even in the presence of asynchronous interrupts.
// It is not currently necessary for this to be machine-specific.
//
// even in the presence of asynchronous interrupts.
// It is not currently necessary for this to be machine-specific.
type X__sig_atomic_t = int32 /* types.h:214:13 */
// Seconds since the Epoch, visible to user code when time_t is too
@ -1108,7 +1111,8 @@ type X__sig_atomic_t = int32 /* types.h:214:13 */
// Never include this file directly; use <sys/types.h> instead.
// An integral type that can be modified atomically, without the
// possibility of a signal arriving in the middle of the operation.
//
// possibility of a signal arriving in the middle of the operation.
type Sig_atomic_t = X__sig_atomic_t /* sig_atomic_t.h:8:24 */
type X__sigset_t = struct{ F__val [16]uint64 } /* __sigset_t.h:8:3 */
@ -1176,7 +1180,8 @@ type Uid_t = X__uid_t /* signal.h:46:17 */
// values.
// POSIX.1b structure for a time value. This is like a `struct timeval' but
// has nanoseconds instead of microseconds.
//
// has nanoseconds instead of microseconds.
type Timespec = struct {
Ftv_sec X__time_t
Ftv_nsec X__syscall_slong_t
@ -2115,18 +2120,21 @@ type X__pthread_cond_s = struct {
} /* thread-shared-types.h:92:1 */
// Thread identifiers. The structure of the attribute type is not
// exposed on purpose.
//
// exposed on purpose.
type Pthread_t = uint64 /* pthreadtypes.h:27:27 */
// Data structures for mutex handling. The structure of the attribute
// type is not exposed on purpose.
//
// type is not exposed on purpose.
type Pthread_mutexattr_t = struct {
F__ccgo_pad1 [0]uint32
F__size [4]int8
} /* pthreadtypes.h:36:3 */
// Data structure for condition variable handling. The structure of
// the attribute type is not exposed on purpose.
//
// the attribute type is not exposed on purpose.
type Pthread_condattr_t = struct {
F__ccgo_pad1 [0]uint32
F__size [4]int8
@ -2143,7 +2151,8 @@ type Pthread_mutex_t = struct{ F__data X__pthread_mutex_s } /* pthreadtypes.h:72
type Pthread_cond_t = struct{ F__data X__pthread_cond_s } /* pthreadtypes.h:80:3 */
// Data structure for reader-writer lock variable handling. The
// structure of the attribute type is deliberately not exposed.
//
// structure of the attribute type is deliberately not exposed.
type Pthread_rwlock_t = struct{ F__data X__pthread_rwlock_arch_t } /* pthreadtypes.h:91:3 */
type Pthread_rwlockattr_t = struct {
@ -2155,7 +2164,8 @@ type Pthread_rwlockattr_t = struct {
type Pthread_spinlock_t = int32 /* pthreadtypes.h:103:22 */
// POSIX barriers data type. The structure of the type is
// deliberately not exposed.
//
// deliberately not exposed.
type Pthread_barrier_t = struct {
F__ccgo_pad1 [0]uint64
F__size [32]int8

View file

@ -209,7 +209,8 @@ const ( /* siginfo-consts.h:189:1: */
// Architecture-specific adjustments to siginfo_t.
// Values for `si_code'. Positive values are reserved for kernel-generated
// signals.
//
// signals.
const ( /* siginfo-consts.h:35:1: */
SI_ASYNCNL = -60 // Sent by asynch name lookup completion.
SI_DETHREAD = -7 // Sent by execve killing subsidiary
@ -1054,7 +1055,8 @@ type X__syscall_slong_t = int32 /* types.h:196:33 */
type X__syscall_ulong_t = uint32 /* types.h:198:33 */
// These few don't really vary by system, they always correspond
// to one of the other defined types.
//
// to one of the other defined types.
type X__loff_t = X__off64_t /* types.h:202:19 */ // Type of file sizes and offsets (LFS).
type X__caddr_t = uintptr /* types.h:203:14 */
@ -1065,13 +1067,15 @@ type X__intptr_t = int32 /* types.h:206:25 */
type X__socklen_t = uint32 /* types.h:209:23 */
// C99: An integer type that can be accessed as an atomic entity,
// even in the presence of asynchronous interrupts.
// It is not currently necessary for this to be machine-specific.
//
// even in the presence of asynchronous interrupts.
// It is not currently necessary for this to be machine-specific.
type X__sig_atomic_t = int32 /* types.h:214:13 */
// Seconds since the Epoch, visible to user code when time_t is too
// narrow only for consistency with the old way of widening too-narrow
// types. User code should never use __time64_t.
//
// narrow only for consistency with the old way of widening too-narrow
// types. User code should never use __time64_t.
type X__time64_t = X__int64_t /* types.h:222:28 */
// Signal number definitions. Linux version.
@ -1167,7 +1171,8 @@ type X__time64_t = X__int64_t /* types.h:222:28 */
// Never include this file directly; use <sys/types.h> instead.
// An integral type that can be modified atomically, without the
// possibility of a signal arriving in the middle of the operation.
//
// possibility of a signal arriving in the middle of the operation.
type Sig_atomic_t = X__sig_atomic_t /* sig_atomic_t.h:8:24 */
type X__sigset_t = struct{ F__val [32]uint32 } /* __sigset_t.h:8:3 */
@ -1235,7 +1240,8 @@ type Uid_t = X__uid_t /* signal.h:46:17 */
// values.
// POSIX.1b structure for a time value. This is like a `struct timeval' but
// has nanoseconds instead of microseconds.
//
// has nanoseconds instead of microseconds.
type Timespec = struct {
Ftv_sec X__time_t
Ftv_nsec X__syscall_slong_t
@ -1739,9 +1745,10 @@ type X_libc_fpstate = struct {
type Fpregset_t = X_libc_fpstate /* ucontext.h:99:30 */
// Context to describe whole processor state. This only describes
// the core registers; coprocessor registers get saved elsewhere
// (e.g. in uc_regspace, or somewhere unspecified on the stack
// during non-RT signal handlers).
//
// the core registers; coprocessor registers get saved elsewhere
// (e.g. in uc_regspace, or somewhere unspecified on the stack
// during non-RT signal handlers).
type Mcontext_t = struct {
Ftrap_no uint32
Ferror_code uint32
@ -2137,18 +2144,21 @@ type X__pthread_cond_s = struct {
} /* thread-shared-types.h:92:1 */
// Thread identifiers. The structure of the attribute type is not
// exposed on purpose.
//
// exposed on purpose.
type Pthread_t = uint32 /* pthreadtypes.h:27:27 */
// Data structures for mutex handling. The structure of the attribute
// type is not exposed on purpose.
//
// type is not exposed on purpose.
type Pthread_mutexattr_t = struct {
F__ccgo_pad1 [0]uint32
F__size [4]uint8
} /* pthreadtypes.h:36:3 */
// Data structure for condition variable handling. The structure of
// the attribute type is not exposed on purpose.
//
// the attribute type is not exposed on purpose.
type Pthread_condattr_t = struct {
F__ccgo_pad1 [0]uint32
F__size [4]uint8
@ -2165,7 +2175,8 @@ type Pthread_mutex_t = struct{ F__data X__pthread_mutex_s } /* pthreadtypes.h:72
type Pthread_cond_t = struct{ F__data X__pthread_cond_s } /* pthreadtypes.h:80:3 */
// Data structure for reader-writer lock variable handling. The
// structure of the attribute type is deliberately not exposed.
//
// structure of the attribute type is deliberately not exposed.
type Pthread_rwlock_t = struct{ F__data X__pthread_rwlock_arch_t } /* pthreadtypes.h:91:3 */
type Pthread_rwlockattr_t = struct {
@ -2177,7 +2188,8 @@ type Pthread_rwlockattr_t = struct {
type Pthread_spinlock_t = int32 /* pthreadtypes.h:103:22 */
// POSIX barriers data type. The structure of the type is
// deliberately not exposed.
//
// deliberately not exposed.
type Pthread_barrier_t = struct {
F__ccgo_pad1 [0]uint32
F__size [20]uint8

View file

@ -239,7 +239,8 @@ const ( /* siginfo-consts.h:189:1: */
// Architecture-specific adjustments to siginfo_t.
// Values for `si_code'. Positive values are reserved for kernel-generated
// signals.
//
// signals.
const ( /* siginfo-consts.h:35:1: */
SI_ASYNCNL = -60 // Sent by asynch name lookup completion.
SI_DETHREAD = -7 // Sent by execve killing subsidiary
@ -1102,7 +1103,8 @@ type X__syscall_slong_t = int64 /* types.h:196:33 */
type X__syscall_ulong_t = uint64 /* types.h:198:33 */
// These few don't really vary by system, they always correspond
// to one of the other defined types.
//
// to one of the other defined types.
type X__loff_t = X__off64_t /* types.h:202:19 */ // Type of file sizes and offsets (LFS).
type X__caddr_t = uintptr /* types.h:203:14 */
@ -1113,8 +1115,9 @@ type X__intptr_t = int64 /* types.h:206:25 */
type X__socklen_t = uint32 /* types.h:209:23 */
// C99: An integer type that can be accessed as an atomic entity,
// even in the presence of asynchronous interrupts.
// It is not currently necessary for this to be machine-specific.
//
// even in the presence of asynchronous interrupts.
// It is not currently necessary for this to be machine-specific.
type X__sig_atomic_t = int32 /* types.h:214:13 */
// Seconds since the Epoch, visible to user code when time_t is too
@ -1214,7 +1217,8 @@ type X__sig_atomic_t = int32 /* types.h:214:13 */
// Never include this file directly; use <sys/types.h> instead.
// An integral type that can be modified atomically, without the
// possibility of a signal arriving in the middle of the operation.
//
// possibility of a signal arriving in the middle of the operation.
type Sig_atomic_t = X__sig_atomic_t /* sig_atomic_t.h:8:24 */
type X__sigset_t = struct{ F__val [16]uint64 } /* __sigset_t.h:8:3 */
@ -1282,7 +1286,8 @@ type Uid_t = X__uid_t /* signal.h:46:17 */
// values.
// POSIX.1b structure for a time value. This is like a `struct timeval' but
// has nanoseconds instead of microseconds.
//
// has nanoseconds instead of microseconds.
type Timespec = struct {
Ftv_sec X__time_t
Ftv_nsec X__syscall_slong_t
@ -2188,7 +2193,8 @@ type Time_t = X__time_t /* time_t.h:7:18 */
// Never include this file directly; use <sys/types.h> instead.
// A time value that is accurate to the nearest
// microsecond but also has a range of years.
//
// microsecond but also has a range of years.
type Timeval = struct {
Ftv_sec X__time_t
Ftv_usec X__suseconds_t
@ -2297,14 +2303,16 @@ type Fd_mask = X__fd_mask /* select.h:77:19 */
// Define some inlines helping to catch common problems.
// Structure crudely representing a timezone.
// This is obsolete and should never be used.
//
// This is obsolete and should never be used.
type Timezone = struct {
Ftz_minuteswest int32
Ftz_dsttime int32
} /* time.h:52:1 */
// Type of the second argument to `getitimer' and
// the second and third arguments `setitimer'.
//
// the second and third arguments `setitimer'.
type Itimerval = struct {
Fit_interval struct {
Ftv_sec X__time_t
@ -2944,18 +2952,21 @@ type X__pthread_cond_s = struct {
} /* thread-shared-types.h:92:1 */
// Thread identifiers. The structure of the attribute type is not
// exposed on purpose.
//
// exposed on purpose.
type Pthread_t = uint64 /* pthreadtypes.h:27:27 */
// Data structures for mutex handling. The structure of the attribute
// type is not exposed on purpose.
//
// type is not exposed on purpose.
type Pthread_mutexattr_t = struct {
F__ccgo_pad1 [0]uint32
F__size [8]uint8
} /* pthreadtypes.h:36:3 */
// Data structure for condition variable handling. The structure of
// the attribute type is not exposed on purpose.
//
// the attribute type is not exposed on purpose.
type Pthread_condattr_t = struct {
F__ccgo_pad1 [0]uint32
F__size [8]uint8
@ -2975,7 +2986,8 @@ type Pthread_mutex_t = struct {
type Pthread_cond_t = struct{ F__data X__pthread_cond_s } /* pthreadtypes.h:80:3 */
// Data structure for reader-writer lock variable handling. The
// structure of the attribute type is deliberately not exposed.
//
// structure of the attribute type is deliberately not exposed.
type Pthread_rwlock_t = struct{ F__data X__pthread_rwlock_arch_t } /* pthreadtypes.h:91:3 */
type Pthread_rwlockattr_t = struct {
@ -2987,7 +2999,8 @@ type Pthread_rwlockattr_t = struct {
type Pthread_spinlock_t = int32 /* pthreadtypes.h:103:22 */
// POSIX barriers data type. The structure of the type is
// deliberately not exposed.
//
// deliberately not exposed.
type Pthread_barrier_t = struct {
F__ccgo_pad1 [0]uint64
F__size [32]uint8
@ -3055,9 +3068,10 @@ type User_fpsimd_struct = struct {
type Elf_greg_t = X__uint64_t /* procfs.h:25:20 */
// And the whole bunch of them. We could have used `struct
// pt_regs' directly in the typedef, but tradition says that
// the register set is an array, which does have some peculiar
// semantics, so leave it that way.
//
// pt_regs' directly in the typedef, but tradition says that
// the register set is an array, which does have some peculiar
// semantics, so leave it that way.
type Elf_gregset_t = [34]Elf_greg_t /* procfs.h:32:20 */
// Register set for the floating-point registers.
@ -3187,7 +3201,8 @@ type Prgregset_t = X__prgregset_t /* procfs.h:109:23 */
type Prfpregset_t = X__prfpregset_t /* procfs.h:110:24 */
// We don't have any differences between processes and threads,
// therefore have only one PID type.
//
// therefore have only one PID type.
type Lwpid_t = X__pid_t /* procfs.h:114:17 */
// Process status and info. In the end we do provide typedefs for them.
@ -3224,9 +3239,10 @@ type Gregset_t = Elf_gregset_t /* ucontext.h:42:23 */
type Fpregset_t = Elf_fpregset_t /* ucontext.h:45:24 */
// Context to describe whole processor state. This only describes
// the core registers; coprocessor registers get saved elsewhere
// (e.g. in uc_regspace, or somewhere unspecified on the stack
// during non-RT signal handlers).
//
// the core registers; coprocessor registers get saved elsewhere
// (e.g. in uc_regspace, or somewhere unspecified on the stack
// during non-RT signal handlers).
type Mcontext_t = struct {
Ffault_address uint64
Fregs [31]uint64

View file

@ -582,7 +582,8 @@ const ( /* siginfo-consts.h:189:1: */
// Architecture-specific adjustments to siginfo_t.
// Values for `si_code'. Positive values are reserved for kernel-generated
// signals.
//
// signals.
const ( /* siginfo-consts.h:35:1: */
SI_ASYNCNL = -60 // Sent by asynch name lookup completion.
SI_DETHREAD = -7 // Sent by execve killing subsidiary
@ -1363,7 +1364,8 @@ type X__syscall_slong_t = int64 /* types.h:196:33 */
type X__syscall_ulong_t = uint64 /* types.h:198:33 */
// These few don't really vary by system, they always correspond
// to one of the other defined types.
//
// to one of the other defined types.
type X__loff_t = X__off64_t /* types.h:202:19 */ // Type of file sizes and offsets (LFS).
type X__caddr_t = uintptr /* types.h:203:14 */
@ -1374,8 +1376,9 @@ type X__intptr_t = int64 /* types.h:206:25 */
type X__socklen_t = uint32 /* types.h:209:23 */
// C99: An integer type that can be accessed as an atomic entity,
// even in the presence of asynchronous interrupts.
// It is not currently necessary for this to be machine-specific.
//
// even in the presence of asynchronous interrupts.
// It is not currently necessary for this to be machine-specific.
type X__sig_atomic_t = int32 /* types.h:214:13 */
// Seconds since the Epoch, visible to user code when time_t is too
@ -1475,7 +1478,8 @@ type X__sig_atomic_t = int32 /* types.h:214:13 */
// Never include this file directly; use <sys/types.h> instead.
// An integral type that can be modified atomically, without the
// possibility of a signal arriving in the middle of the operation.
//
// possibility of a signal arriving in the middle of the operation.
type Sig_atomic_t = X__sig_atomic_t /* sig_atomic_t.h:8:24 */
type X__sigset_t = struct{ F__val [16]uint64 } /* __sigset_t.h:8:3 */
@ -1543,7 +1547,8 @@ type Uid_t = X__uid_t /* signal.h:46:17 */
// values.
// POSIX.1b structure for a time value. This is like a `struct timeval' but
// has nanoseconds instead of microseconds.
//
// has nanoseconds instead of microseconds.
type Timespec = struct {
Ftv_sec X__time_t
Ftv_nsec X__syscall_slong_t
@ -2333,20 +2338,23 @@ type Gregset_t = [48]uint64 /* ucontext.h:93:23 */
type Fpregset_t = [33]float64 /* ucontext.h:94:16 */
// Container for Altivec/VMX Vector Status and Control Register. Only 32-bits
// but can only be copied to/from a 128-bit vector register. So we allocated
// a whole quadword speedup save/restore.
//
// but can only be copied to/from a 128-bit vector register. So we allocated
// a whole quadword speedup save/restore.
type X_libc_vscr = struct {
Fvscr_word uint32
F__pad [3]uint32
} /* ucontext.h:99:9 */
// Container for Altivec/VMX Vector Status and Control Register. Only 32-bits
// but can only be copied to/from a 128-bit vector register. So we allocated
// a whole quadword speedup save/restore.
//
// but can only be copied to/from a 128-bit vector register. So we allocated
// a whole quadword speedup save/restore.
type Vscr_t = X_libc_vscr /* ucontext.h:108:3 */
// Container for Altivec/VMX registers and status.
// Must to be aligned on a 16-byte boundary.
//
// Must to be aligned on a 16-byte boundary.
type X_libc_vrstate = struct {
Fvrregs [32][4]uint32
Fvscr Vscr_t
@ -2355,7 +2363,8 @@ type X_libc_vrstate = struct {
} /* ucontext.h:112:9 */
// Container for Altivec/VMX registers and status.
// Must to be aligned on a 16-byte boundary.
//
// Must to be aligned on a 16-byte boundary.
type Vrregset_t = X_libc_vrstate /* ucontext.h:118:3 */
type Mcontext_t = struct {
@ -2689,18 +2698,21 @@ type X__pthread_cond_s = struct {
} /* thread-shared-types.h:92:1 */
// Thread identifiers. The structure of the attribute type is not
// exposed on purpose.
//
// exposed on purpose.
type Pthread_t = uint64 /* pthreadtypes.h:27:27 */
// Data structures for mutex handling. The structure of the attribute
// type is not exposed on purpose.
//
// type is not exposed on purpose.
type Pthread_mutexattr_t = struct {
F__ccgo_pad1 [0]uint32
F__size [4]uint8
} /* pthreadtypes.h:36:3 */
// Data structure for condition variable handling. The structure of
// the attribute type is not exposed on purpose.
//
// the attribute type is not exposed on purpose.
type Pthread_condattr_t = struct {
F__ccgo_pad1 [0]uint32
F__size [4]uint8
@ -2717,7 +2729,8 @@ type Pthread_mutex_t = struct{ F__data X__pthread_mutex_s } /* pthreadtypes.h:72
type Pthread_cond_t = struct{ F__data X__pthread_cond_s } /* pthreadtypes.h:80:3 */
// Data structure for reader-writer lock variable handling. The
// structure of the attribute type is deliberately not exposed.
//
// structure of the attribute type is deliberately not exposed.
type Pthread_rwlock_t = struct{ F__data X__pthread_rwlock_arch_t } /* pthreadtypes.h:91:3 */
type Pthread_rwlockattr_t = struct {
@ -2729,7 +2742,8 @@ type Pthread_rwlockattr_t = struct {
type Pthread_spinlock_t = int32 /* pthreadtypes.h:103:22 */
// POSIX barriers data type. The structure of the type is
// deliberately not exposed.
//
// deliberately not exposed.
type Pthread_barrier_t = struct {
F__ccgo_pad1 [0]uint64
F__size [32]uint8

View file

@ -221,7 +221,8 @@ const ( /* siginfo-consts.h:193:1: */
// Architecture-specific adjustments to siginfo_t.
// Values for `si_code'. Positive values are reserved for kernel-generated
// signals.
//
// signals.
const ( /* siginfo-consts.h:35:1: */
SI_ASYNCNL = -60 // Sent by asynch name lookup completion.
SI_DETHREAD = -7 // Sent by execve killing subsidiary
@ -1195,7 +1196,8 @@ type X__syscall_slong_t = int64 /* types.h:197:33 */
type X__syscall_ulong_t = uint64 /* types.h:199:33 */
// These few don't really vary by system, they always correspond
// to one of the other defined types.
//
// to one of the other defined types.
type X__loff_t = X__off64_t /* types.h:203:19 */ // Type of file sizes and offsets (LFS).
type X__caddr_t = uintptr /* types.h:204:14 */
@ -1206,8 +1208,9 @@ type X__intptr_t = int64 /* types.h:207:25 */
type X__socklen_t = uint32 /* types.h:210:23 */
// C99: An integer type that can be accessed as an atomic entity,
// even in the presence of asynchronous interrupts.
// It is not currently necessary for this to be machine-specific.
//
// even in the presence of asynchronous interrupts.
// It is not currently necessary for this to be machine-specific.
type X__sig_atomic_t = int32 /* types.h:215:13 */
// Seconds since the Epoch, visible to user code when time_t is too
@ -1312,7 +1315,8 @@ type X__sig_atomic_t = int32 /* types.h:215:13 */
// Never include this file directly; use <sys/types.h> instead.
// An integral type that can be modified atomically, without the
// possibility of a signal arriving in the middle of the operation.
//
// possibility of a signal arriving in the middle of the operation.
type Sig_atomic_t = X__sig_atomic_t /* sig_atomic_t.h:8:24 */
type X__sigset_t = struct{ F__val [16]uint64 } /* __sigset_t.h:8:3 */
@ -1403,7 +1407,8 @@ type Uid_t = X__uid_t /* signal.h:46:17 */
type Time_t = X__time_t /* time_t.h:10:18 */
// POSIX.1b structure for a time value. This is like a `struct timeval' but
// has nanoseconds instead of microseconds.
//
// has nanoseconds instead of microseconds.
type Timespec = struct {
Ftv_sec X__time_t
Ftv_nsec X__syscall_slong_t
@ -2250,9 +2255,10 @@ type X__pthread_mutex_s = struct {
// <https://www.gnu.org/licenses/>.
// There is a lot of padding in this structure. While it's not strictly
// necessary on RISC-V, we're going to leave it in to be on the safe side in
// case it's needed in the future. Most other architectures have the padding,
// so this gives us the same extensibility as everyone else has.
//
// necessary on RISC-V, we're going to leave it in to be on the safe side in
// case it's needed in the future. Most other architectures have the padding,
// so this gives us the same extensibility as everyone else has.
type X__pthread_rwlock_arch_t = struct {
F__readers uint32
F__writers uint32
@ -2286,18 +2292,21 @@ type X__thrd_t = uint64 /* thread-shared-types.h:120:27 */
type X__once_flag = struct{ F__data int32 } /* thread-shared-types.h:125:3 */
// Thread identifiers. The structure of the attribute type is not
// exposed on purpose.
//
// exposed on purpose.
type Pthread_t = uint64 /* pthreadtypes.h:27:27 */
// Data structures for mutex handling. The structure of the attribute
// type is not exposed on purpose.
//
// type is not exposed on purpose.
type Pthread_mutexattr_t = struct {
F__ccgo_pad1 [0]uint32
F__size [4]uint8
} /* pthreadtypes.h:36:3 */
// Data structure for condition variable handling. The structure of
// the attribute type is not exposed on purpose.
//
// the attribute type is not exposed on purpose.
type Pthread_condattr_t = struct {
F__ccgo_pad1 [0]uint32
F__size [4]uint8
@ -2314,7 +2323,8 @@ type Pthread_mutex_t = struct{ F__data X__pthread_mutex_s } /* pthreadtypes.h:72
type Pthread_cond_t = struct{ F__data X__pthread_cond_s } /* pthreadtypes.h:80:3 */
// Data structure for reader-writer lock variable handling. The
// structure of the attribute type is deliberately not exposed.
//
// structure of the attribute type is deliberately not exposed.
type Pthread_rwlock_t = struct{ F__data X__pthread_rwlock_arch_t } /* pthreadtypes.h:91:3 */
type Pthread_rwlockattr_t = struct {
@ -2326,7 +2336,8 @@ type Pthread_rwlockattr_t = struct {
type Pthread_spinlock_t = int32 /* pthreadtypes.h:103:22 */
// POSIX barriers data type. The structure of the type is
// deliberately not exposed.
//
// deliberately not exposed.
type Pthread_barrier_t = struct {
F__ccgo_pad1 [0]uint64
F__size [32]uint8

View file

@ -218,7 +218,8 @@ const ( /* siginfo-consts.h:189:1: */
// Architecture-specific adjustments to siginfo_t.
// Values for `si_code'. Positive values are reserved for kernel-generated
// signals.
//
// signals.
const ( /* siginfo-consts.h:35:1: */
SI_ASYNCNL = -60 // Sent by asynch name lookup completion.
SI_DETHREAD = -7 // Sent by execve killing subsidiary
@ -1001,7 +1002,8 @@ type X__syscall_slong_t = int64 /* types.h:196:33 */
type X__syscall_ulong_t = uint64 /* types.h:198:33 */
// These few don't really vary by system, they always correspond
// to one of the other defined types.
//
// to one of the other defined types.
type X__loff_t = X__off64_t /* types.h:202:19 */ // Type of file sizes and offsets (LFS).
type X__caddr_t = uintptr /* types.h:203:14 */
@ -1012,8 +1014,9 @@ type X__intptr_t = int64 /* types.h:206:25 */
type X__socklen_t = uint32 /* types.h:209:23 */
// C99: An integer type that can be accessed as an atomic entity,
// even in the presence of asynchronous interrupts.
// It is not currently necessary for this to be machine-specific.
//
// even in the presence of asynchronous interrupts.
// It is not currently necessary for this to be machine-specific.
type X__sig_atomic_t = int32 /* types.h:214:13 */
// Seconds since the Epoch, visible to user code when time_t is too
@ -1113,7 +1116,8 @@ type X__sig_atomic_t = int32 /* types.h:214:13 */
// Never include this file directly; use <sys/types.h> instead.
// An integral type that can be modified atomically, without the
// possibility of a signal arriving in the middle of the operation.
//
// possibility of a signal arriving in the middle of the operation.
type Sig_atomic_t = X__sig_atomic_t /* sig_atomic_t.h:8:24 */
type X__sigset_t = struct{ F__val [16]uint64 } /* __sigset_t.h:8:3 */
@ -1181,7 +1185,8 @@ type Uid_t = X__uid_t /* signal.h:46:17 */
// values.
// POSIX.1b structure for a time value. This is like a `struct timeval' but
// has nanoseconds instead of microseconds.
//
// has nanoseconds instead of microseconds.
type Timespec = struct {
Ftv_sec X__time_t
Ftv_nsec X__syscall_slong_t
@ -1486,7 +1491,8 @@ type X__s64 = int64 /* int-ll64.h:30:44 */
type X__u64 = uint64 /* int-ll64.h:31:42 */
// A address type so that arithmetic can be done on it & it can be upgraded to
// 64 bit when necessary
//
// 64 bit when necessary
type Addr_t = uint64 /* types.h:18:23 */
type Saddr_t = int64 /* types.h:19:25 */
@ -1808,10 +1814,12 @@ type X__psw_t = struct {
type Greg_t = uint64 /* ucontext.h:42:23 */
// And the whole bunch of them. We should have used `struct s390_regs',
// but to avoid name space pollution and since the tradition says that
// the register set is an array, we make gregset_t a simple array
// that has the same size as s390_regs. This is needed for the
// elf_prstatus structure.
//
// but to avoid name space pollution and since the tradition says that
// the register set is an array, we make gregset_t a simple array
// that has the same size as s390_regs. This is needed for the
// elf_prstatus structure.
//
// Must match kernels psw_t alignment.
type Gregset_t = [27]Greg_t /* ucontext.h:58:16 */
@ -2149,18 +2157,21 @@ type X__pthread_cond_s = struct {
} /* thread-shared-types.h:92:1 */
// Thread identifiers. The structure of the attribute type is not
// exposed on purpose.
//
// exposed on purpose.
type Pthread_t = uint64 /* pthreadtypes.h:27:27 */
// Data structures for mutex handling. The structure of the attribute
// type is not exposed on purpose.
//
// type is not exposed on purpose.
type Pthread_mutexattr_t = struct {
F__ccgo_pad1 [0]uint32
F__size [4]uint8
} /* pthreadtypes.h:36:3 */
// Data structure for condition variable handling. The structure of
// the attribute type is not exposed on purpose.
//
// the attribute type is not exposed on purpose.
type Pthread_condattr_t = struct {
F__ccgo_pad1 [0]uint32
F__size [4]uint8
@ -2177,7 +2188,8 @@ type Pthread_mutex_t = struct{ F__data X__pthread_mutex_s } /* pthreadtypes.h:72
type Pthread_cond_t = struct{ F__data X__pthread_cond_s } /* pthreadtypes.h:80:3 */
// Data structure for reader-writer lock variable handling. The
// structure of the attribute type is deliberately not exposed.
//
// structure of the attribute type is deliberately not exposed.
type Pthread_rwlock_t = struct{ F__data X__pthread_rwlock_arch_t } /* pthreadtypes.h:91:3 */
type Pthread_rwlockattr_t = struct {
@ -2189,7 +2201,8 @@ type Pthread_rwlockattr_t = struct {
type Pthread_spinlock_t = int32 /* pthreadtypes.h:103:22 */
// POSIX barriers data type. The structure of the type is
// deliberately not exposed.
//
// deliberately not exposed.
type Pthread_barrier_t = struct {
F__ccgo_pad1 [0]uint64
F__size [32]uint8

1386
vendor/modernc.org/libc/signal/signal_openbsd_arm64.go generated vendored Normal file

File diff suppressed because it is too large Load diff