summaryrefslogtreecommitdiffstats
path: root/vendor/modernc.org/libc/grp
diff options
context:
space:
mode:
authorWim <wim@42.be>2022-08-13 16:14:26 +0200
committerGitHub <noreply@github.com>2022-08-13 16:14:26 +0200
commit6a3fc713978a0c1c9290a4afd08b47886b49b635 (patch)
treeaa62cd85cf5671646c75ee38b3fc140ef7edcea8 /vendor/modernc.org/libc/grp
parent3c4192ebf6a32e30cdd23a9644c2ceca72a006fa (diff)
downloadmatterbridge-msglm-6a3fc713978a0c1c9290a4afd08b47886b49b635.tar.gz
matterbridge-msglm-6a3fc713978a0c1c9290a4afd08b47886b49b635.tar.bz2
matterbridge-msglm-6a3fc713978a0c1c9290a4afd08b47886b49b635.zip
Update dependencies and go1.18 (#1873)
* Update dependencies and go1.18 * Exclude unnecessary linters and update build to go1.18
Diffstat (limited to 'vendor/modernc.org/libc/grp')
-rw-r--r--vendor/modernc.org/libc/grp/capi_darwin_arm64.go2
-rw-r--r--vendor/modernc.org/libc/grp/capi_linux_amd64.go2
-rw-r--r--vendor/modernc.org/libc/grp/grp_darwin_arm64.go62
-rw-r--r--vendor/modernc.org/libc/grp/grp_linux_amd64.go58
4 files changed, 69 insertions, 55 deletions
diff --git a/vendor/modernc.org/libc/grp/capi_darwin_arm64.go b/vendor/modernc.org/libc/grp/capi_darwin_arm64.go
index 9e6f03aa..2299bebf 100644
--- a/vendor/modernc.org/libc/grp/capi_darwin_arm64.go
+++ b/vendor/modernc.org/libc/grp/capi_darwin_arm64.go
@@ -1,4 +1,4 @@
-// Code generated by 'ccgo grp/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o grp/grp_darwin_arm64.go -pkgname grp', DO NOT EDIT.
+// Code generated by 'ccgo grp/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 grp/grp_darwin_arm64.go -pkgname grp', DO NOT EDIT.
package grp
diff --git a/vendor/modernc.org/libc/grp/capi_linux_amd64.go b/vendor/modernc.org/libc/grp/capi_linux_amd64.go
index f22fdd28..39c1b899 100644
--- a/vendor/modernc.org/libc/grp/capi_linux_amd64.go
+++ b/vendor/modernc.org/libc/grp/capi_linux_amd64.go
@@ -1,4 +1,4 @@
-// Code generated by 'ccgo grp/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o grp/grp_linux_amd64.go -pkgname grp', DO NOT EDIT.
+// Code generated by 'ccgo grp/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 grp/grp_linux_amd64.go -pkgname grp', DO NOT EDIT.
package grp
diff --git a/vendor/modernc.org/libc/grp/grp_darwin_arm64.go b/vendor/modernc.org/libc/grp/grp_darwin_arm64.go
index 428fe541..68ce5c7d 100644
--- a/vendor/modernc.org/libc/grp/grp_darwin_arm64.go
+++ b/vendor/modernc.org/libc/grp/grp_darwin_arm64.go
@@ -1,4 +1,4 @@
-// Code generated by 'ccgo grp/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o grp/grp_darwin_arm64.go -pkgname grp', DO NOT EDIT.
+// Code generated by 'ccgo grp/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 grp/grp_darwin_arm64.go -pkgname grp', DO NOT EDIT.
package grp
@@ -15,29 +15,29 @@ var _ atomic.Value
var _ unsafe.Pointer
const (
- X_BSD_ARM__TYPES_H_ = 0
- X_BSD_MACHINE__TYPES_H_ = 0
- X_CDEFS_H_ = 0
- X_DARWIN_FEATURE_64_BIT_INODE = 1
- X_DARWIN_FEATURE_ONLY_64_BIT_INODE = 1
- X_DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE = 1
- X_DARWIN_FEATURE_ONLY_VERS_1050 = 1
- X_DARWIN_FEATURE_UNIX_CONFORMANCE = 3
- X_FILE_OFFSET_BITS = 64
- X_FORTIFY_SOURCE = 2
- X_GID_T = 0
- X_GRP_H_ = 0
- X_LP64 = 1
- X_Nonnull = 0
- X_Null_unspecified = 0
- X_Nullable = 0
- X_PATH_GROUP = "/etc/group"
- X_SIZE_T = 0
- X_SYS__PTHREAD_TYPES_H_ = 0
- X_SYS__TYPES_H_ = 0
- X_UUID_STRING_T = 0
- X_UUID_T = 0
- X_UUID_UUID_H = 0
+ X_BSD_ARM__TYPES_H_ = 0 // _types.h:5:1:
+ X_BSD_MACHINE__TYPES_H_ = 0 // _types.h:29:1:
+ X_CDEFS_H_ = 0 // cdefs.h:68:1:
+ X_DARWIN_FEATURE_64_BIT_INODE = 1 // cdefs.h:774:1:
+ X_DARWIN_FEATURE_ONLY_64_BIT_INODE = 1 // cdefs.h:784:1:
+ X_DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE = 1 // cdefs.h:800:1:
+ X_DARWIN_FEATURE_ONLY_VERS_1050 = 1 // cdefs.h:792:1:
+ X_DARWIN_FEATURE_UNIX_CONFORMANCE = 3 // cdefs.h:808:1:
+ X_FILE_OFFSET_BITS = 64 // <builtin>:25:1:
+ X_FORTIFY_SOURCE = 2 // _types.h:65:1:
+ X_GID_T = 0 // _gid_t.h:29:1:
+ X_GRP_H_ = 0 // grp.h:43:1:
+ X_LP64 = 1 // <predefined>:1:1:
+ X_Nonnull = 0 // cdefs.h:268:1:
+ X_Null_unspecified = 0 // cdefs.h:271:1:
+ X_Nullable = 0 // cdefs.h:265:1:
+ X_PATH_GROUP = "/etc/group" // grp.h:50:1:
+ X_SIZE_T = 0 // _size_t.h:29:1:
+ X_SYS__PTHREAD_TYPES_H_ = 0 // _pthread_types.h:30:1:
+ X_SYS__TYPES_H_ = 0 // _types.h:30:1:
+ X_UUID_STRING_T = 0 // uuid.h:42:1:
+ X_UUID_T = 0 // _uuid_t.h:29:1:
+ X_UUID_UUID_H = 0 // uuid.h:36:1:
)
type Ptrdiff_t = int64 /* <builtin>:3:26 */
@@ -510,6 +510,20 @@ var X__darwin_check_fd_set_overflow uintptr /* <builtin>:146:5: */
// __XNU_PRIVATE_EXTERN is a linkage decoration indicating that a symbol can be
// used from other compilation units, but not other libraries or executables.
+// We intentionally define to nothing pointer attributes which do not have an
+// impact on the ABI. __indexable and __bidi_indexable are not defined because
+// of the ABI incompatibility that makes the diagnostic preferable.
+
+// Similarly, we intentionally define to nothing the
+// __ptrcheck_abi_assume_single and __ptrcheck_abi_assume_unsafe_indexable
+// macros because they do not lead to an ABI incompatibility. However, we do not
+// define the indexable and unsafe_indexable ones because the diagnostic is
+// better than the silent ABI break.
+
+// __unsafe_forge intrinsics are defined as regular C casts.
+
+// decay operates normally; attribute is meaningless without pointer checks.
+
// Architecture validation for current SDK
// Similar to OS_ENUM/OS_CLOSED_ENUM/OS_OPTIONS/OS_CLOSED_OPTIONS
diff --git a/vendor/modernc.org/libc/grp/grp_linux_amd64.go b/vendor/modernc.org/libc/grp/grp_linux_amd64.go
index cfd9d848..944ecb16 100644
--- a/vendor/modernc.org/libc/grp/grp_linux_amd64.go
+++ b/vendor/modernc.org/libc/grp/grp_linux_amd64.go
@@ -1,4 +1,4 @@
-// Code generated by 'ccgo grp/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o grp/grp_linux_amd64.go -pkgname grp', DO NOT EDIT.
+// Code generated by 'ccgo grp/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 grp/grp_linux_amd64.go -pkgname grp', DO NOT EDIT.
package grp
@@ -15,34 +15,34 @@ var _ atomic.Value
var _ unsafe.Pointer
const (
- NSS_BUFLEN_GROUP = 1024
- X_ATFILE_SOURCE = 1
- X_BITS_TIME64_H = 1
- X_BITS_TYPESIZES_H = 1
- X_BITS_TYPES_H = 1
- X_BSD_SIZE_T_ = 0
- X_BSD_SIZE_T_DEFINED_ = 0
- X_DEFAULT_SOURCE = 1
- X_FEATURES_H = 1
- X_FILE_OFFSET_BITS = 64
- X_GCC_SIZE_T = 0
- X_GRP_H = 1
- X_LP64 = 1
- X_POSIX_C_SOURCE = 200809
- X_POSIX_SOURCE = 1
- X_SIZET_ = 0
- X_SIZE_T = 0
- X_SIZE_T_ = 0
- X_SIZE_T_DECLARED = 0
- X_SIZE_T_DEFINED = 0
- X_SIZE_T_DEFINED_ = 0
- X_STDC_PREDEF_H = 1
- X_SYS_CDEFS_H = 1
- X_SYS_SIZE_T_H = 0
- X_T_SIZE = 0
- X_T_SIZE_ = 0
- Linux = 1
- Unix = 1
+ NSS_BUFLEN_GROUP = 1024 // grp.h:114:1:
+ X_ATFILE_SOURCE = 1 // features.h:342:1:
+ X_BITS_TIME64_H = 1 // time64.h:24:1:
+ X_BITS_TYPESIZES_H = 1 // typesizes.h:24:1:
+ X_BITS_TYPES_H = 1 // types.h:24:1:
+ X_BSD_SIZE_T_ = 0 // stddef.h:189:1:
+ X_BSD_SIZE_T_DEFINED_ = 0 // stddef.h:192:1:
+ X_DEFAULT_SOURCE = 1 // features.h:227:1:
+ X_FEATURES_H = 1 // features.h:19:1:
+ X_FILE_OFFSET_BITS = 64 // <builtin>:25:1:
+ X_GCC_SIZE_T = 0 // stddef.h:195:1:
+ X_GRP_H = 1 // grp.h:23:1:
+ X_LP64 = 1 // <predefined>:284:1:
+ X_POSIX_C_SOURCE = 200809 // features.h:281:1:
+ X_POSIX_SOURCE = 1 // features.h:279:1:
+ X_SIZET_ = 0 // stddef.h:196:1:
+ X_SIZE_T = 0 // stddef.h:183:1:
+ X_SIZE_T_ = 0 // stddef.h:188:1:
+ X_SIZE_T_DECLARED = 0 // stddef.h:193:1:
+ X_SIZE_T_DEFINED = 0 // stddef.h:191:1:
+ X_SIZE_T_DEFINED_ = 0 // stddef.h:190:1:
+ X_STDC_PREDEF_H = 1 // <predefined>:162:1:
+ X_SYS_CDEFS_H = 1 // cdefs.h:19:1:
+ X_SYS_SIZE_T_H = 0 // stddef.h:184:1:
+ X_T_SIZE = 0 // stddef.h:186:1:
+ X_T_SIZE_ = 0 // stddef.h:185:1:
+ Linux = 1 // <predefined>:231:1:
+ Unix = 1 // <predefined>:177:1:
)
type Ptrdiff_t = int64 /* <builtin>:3:26 */