diff options
Diffstat (limited to 'vendor/modernc.org/libc/pwd/pwd_darwin_arm64.go')
-rw-r--r-- | vendor/modernc.org/libc/pwd/pwd_darwin_arm64.go | 106 |
1 files changed, 60 insertions, 46 deletions
diff --git a/vendor/modernc.org/libc/pwd/pwd_darwin_arm64.go b/vendor/modernc.org/libc/pwd/pwd_darwin_arm64.go index cc5a1b2b..4b43abc0 100644 --- a/vendor/modernc.org/libc/pwd/pwd_darwin_arm64.go +++ b/vendor/modernc.org/libc/pwd/pwd_darwin_arm64.go @@ -1,4 +1,4 @@ -// Code generated by 'ccgo pwd/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 pwd/pwd_darwin_arm64.go -pkgname pwd', DO NOT EDIT. +// Code generated by 'ccgo pwd/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 pwd/pwd_darwin_arm64.go -pkgname pwd', DO NOT EDIT. package pwd @@ -15,51 +15,51 @@ 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_LP64 = 1 - X_MASTERPASSWD = "master.passwd" - X_MP_DB = "pwd.db" - X_Nonnull = 0 - X_Null_unspecified = 0 - X_Nullable = 0 - X_PASSWD = "passwd" - X_PASSWORD_CHGNOW = -1 - X_PASSWORD_EFMT1 = 95 - X_PASSWORD_LEN = 128 - X_PASSWORD_NOCHG = 0x04 - X_PASSWORD_NOEXP = 0x08 - X_PASSWORD_NOGID = 0x02 - X_PASSWORD_NOUID = 0x01 - X_PASSWORD_WARNDAYS = 14 - X_PATH_MASTERPASSWD = "/etc/master.passwd" - X_PATH_MASTERPASSWD_LOCK = "/etc/ptmp" - X_PATH_MP_DB = "/etc/pwd.db" - X_PATH_PASSWD = "/etc/passwd" - X_PATH_PWD = "/etc" - X_PATH_PWD_MKDB = "/usr/sbin/pwd_mkdb" - X_PATH_SMP_DB = "/etc/spwd.db" - X_PWD_H_ = 0 - X_PW_KEYBYNAME = 49 - X_PW_KEYBYNUM = 50 - X_PW_KEYBYUID = 51 - X_SIZE_T = 0 - X_SMP_DB = "spwd.db" - X_SYS__PTHREAD_TYPES_H_ = 0 - X_SYS__TYPES_H_ = 0 - X_UID_T = 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_LP64 = 1 // <predefined>:1:1: + X_MASTERPASSWD = "master.passwd" // pwd.h:57:1: + X_MP_DB = "pwd.db" // pwd.h:60:1: + X_Nonnull = 0 // cdefs.h:268:1: + X_Null_unspecified = 0 // cdefs.h:271:1: + X_Nullable = 0 // cdefs.h:265:1: + X_PASSWD = "passwd" // pwd.h:54:1: + X_PASSWORD_CHGNOW = -1 // pwd.h:80:1: + X_PASSWORD_EFMT1 = 95 // pwd.h:70:1: + X_PASSWORD_LEN = 128 // pwd.h:72:1: + X_PASSWORD_NOCHG = 0x04 // pwd.h:76:1: + X_PASSWORD_NOEXP = 0x08 // pwd.h:77:1: + X_PASSWORD_NOGID = 0x02 // pwd.h:75:1: + X_PASSWORD_NOUID = 0x01 // pwd.h:74:1: + X_PASSWORD_WARNDAYS = 14 // pwd.h:79:1: + X_PATH_MASTERPASSWD = "/etc/master.passwd" // pwd.h:55:1: + X_PATH_MASTERPASSWD_LOCK = "/etc/ptmp" // pwd.h:56:1: + X_PATH_MP_DB = "/etc/pwd.db" // pwd.h:59:1: + X_PATH_PASSWD = "/etc/passwd" // pwd.h:53:1: + X_PATH_PWD = "/etc" // pwd.h:52:1: + X_PATH_PWD_MKDB = "/usr/sbin/pwd_mkdb" // pwd.h:64:1: + X_PATH_SMP_DB = "/etc/spwd.db" // pwd.h:61:1: + X_PWD_H_ = 0 // pwd.h:44:1: + X_PW_KEYBYNAME = 49 // pwd.h:66:1: + X_PW_KEYBYNUM = 50 // pwd.h:67:1: + X_PW_KEYBYUID = 51 // pwd.h:68:1: + X_SIZE_T = 0 // _size_t.h:29:1: + X_SMP_DB = "spwd.db" // pwd.h:62:1: + X_SYS__PTHREAD_TYPES_H_ = 0 // _pthread_types.h:30:1: + X_SYS__TYPES_H_ = 0 // _types.h:30:1: + X_UID_T = 0 // _uid_t.h:29: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 */ @@ -533,6 +533,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 |