Documentation
¶
Overview ¶
Package sharedfilelist provides a fluent Go API over the macOS SharedFileList framework.
Construction ¶
New… functions create objects; each With… method sets one property and returns its receiver, so configuration calls chain. A <Type>FromID constructor adopts an Objective-C object obtained elsewhere.
Lifecycle ¶
A wrapper releases its Objective-C object automatically once the garbage collector finds it unreachable. Call Release to relinquish the reference deterministically (for objects holding scarce resources); Release is idempotent, and afterwards the wrapper's methods are no-ops returning zero values.
Index ¶
- Constants
- func KLSSharedFileListFavoriteItems() obj.Object
- func KLSSharedFileListFavoriteVolumes() obj.Object
- func KLSSharedFileListGlobalLoginItems() obj.Object
- func KLSSharedFileListItemBeforeFirst() uintptr
- func KLSSharedFileListItemHidden() obj.Object
- func KLSSharedFileListItemLast() uintptr
- func KLSSharedFileListLoginItemHidden() obj.Object
- func KLSSharedFileListRecentApplicationItems() obj.Object
- func KLSSharedFileListRecentDocumentItems() obj.Object
- func KLSSharedFileListRecentItemsMaxAmount() obj.Object
- func KLSSharedFileListRecentServerItems() obj.Object
- func KLSSharedFileListSessionLoginItems() obj.Object
- func KLSSharedFileListVolumesComputerVisible() obj.Object
- func KLSSharedFileListVolumesIDiskVisible() obj.Object
- func KLSSharedFileListVolumesNetworkVisible() obj.Object
- func LSSharedFileListAddObserver(inList obj.Object, inRunloop obj.Object, inRunloopMode obj.Object, ...)
- func LSSharedFileListCopyProperty(inList obj.Object, inPropertyName obj.Object) obj.Object
- func LSSharedFileListCopySnapshot(inList obj.Object) (result obj.Object, outSnapshotSeed int)
- func LSSharedFileListCreate(inAllocator obj.Object, inListType obj.Object, listOptions obj.Object) obj.Object
- func LSSharedFileListGetSeedValue(inList obj.Object) int
- func LSSharedFileListGetTypeID() int
- func LSSharedFileListInsertItemFSRef(inList obj.Object, insertAfterThisItem obj.Object, inDisplayName obj.Object, ...) obj.Object
- func LSSharedFileListInsertItemURL(inList obj.Object, insertAfterThisItem obj.Object, inDisplayName obj.Object, ...) obj.Object
- func LSSharedFileListItemCopyDisplayName(inItem obj.Object) obj.Object
- func LSSharedFileListItemCopyIconRef(inItem obj.Object) obj.Object
- func LSSharedFileListItemCopyProperty(inItem obj.Object, inPropertyName obj.Object) obj.Object
- func LSSharedFileListItemCopyResolvedURL(inItem obj.Object, inFlags int) (obj.Object, error)
- func LSSharedFileListItemGetID(inItem obj.Object) int
- func LSSharedFileListItemGetTypeID() int
- func LSSharedFileListItemMove(inList obj.Object, inItem obj.Object, inMoveAfterItem obj.Object) error
- func LSSharedFileListItemRemove(inList obj.Object, inItem obj.Object) error
- func LSSharedFileListItemResolve(inItem obj.Object, inFlags int, outURL unsafe.Pointer, outRef unsafe.Pointer) int
- func LSSharedFileListItemSetProperty(inItem obj.Object, inPropertyName obj.Object, inPropertyData obj.Object) error
- func LSSharedFileListRemoveAllItems(inList obj.Object) error
- func LSSharedFileListRemoveObserver(inList obj.Object, inRunloop obj.Object, inRunloopMode obj.Object, ...)
- func LSSharedFileListSetAuthorization(inList obj.Object, inAuthorization obj.Object) error
- func LSSharedFileListSetProperty(inList obj.Object, inPropertyName obj.Object, inPropertyData obj.Object) error
- type Clockid
- type DispatchAutoreleaseFrequency
- type DispatchBlockFlags
- type EntryID
- type FilesecProperty
- type Flag
- type Idtype
- type IpcInfoObjectType
- type LaunchDataType
- type MachVMRangeFlags
- type MachVMRangeFlavor
- type MachVMRangeTag
- type MpoFlags
- type OSClockid
- type OpaqueLSSharedFileListItemRef
- type OpaqueLSSharedFileListRef
- type Perm
- type PtrauthKey
- type QosClass
- type Tag
- type Type
- type VirtualMemoryGuardExceptionCode
- type XpcListenerCreateFlags
- type XpcSessionCreateFlags
Constants ¶
const ( )
Variables ¶
This section is empty.
Functions ¶
func KLSSharedFileListFavoriteItems ¶
KLSSharedFileListFavoriteItems returns the value of the constant kLSSharedFileListFavoriteItems.
func KLSSharedFileListFavoriteVolumes ¶
KLSSharedFileListFavoriteVolumes returns the value of the constant kLSSharedFileListFavoriteVolumes.
func KLSSharedFileListGlobalLoginItems ¶
KLSSharedFileListGlobalLoginItems returns the value of the constant kLSSharedFileListGlobalLoginItems.
func KLSSharedFileListItemBeforeFirst ¶
func KLSSharedFileListItemBeforeFirst() uintptr
KLSSharedFileListItemBeforeFirst returns the address of the symbol kLSSharedFileListItemBeforeFirst.
func KLSSharedFileListItemHidden ¶
KLSSharedFileListItemHidden returns the value of the constant kLSSharedFileListItemHidden.
func KLSSharedFileListItemLast ¶
func KLSSharedFileListItemLast() uintptr
KLSSharedFileListItemLast returns the address of the symbol kLSSharedFileListItemLast.
func KLSSharedFileListLoginItemHidden ¶
KLSSharedFileListLoginItemHidden returns the value of the constant kLSSharedFileListLoginItemHidden.
func KLSSharedFileListRecentApplicationItems ¶
KLSSharedFileListRecentApplicationItems returns the value of the constant kLSSharedFileListRecentApplicationItems.
func KLSSharedFileListRecentDocumentItems ¶
KLSSharedFileListRecentDocumentItems returns the value of the constant kLSSharedFileListRecentDocumentItems.
func KLSSharedFileListRecentItemsMaxAmount ¶
KLSSharedFileListRecentItemsMaxAmount returns the value of the constant kLSSharedFileListRecentItemsMaxAmount.
func KLSSharedFileListRecentServerItems ¶
KLSSharedFileListRecentServerItems returns the value of the constant kLSSharedFileListRecentServerItems.
func KLSSharedFileListSessionLoginItems ¶
KLSSharedFileListSessionLoginItems returns the value of the constant kLSSharedFileListSessionLoginItems.
func KLSSharedFileListVolumesComputerVisible ¶
KLSSharedFileListVolumesComputerVisible returns the value of the constant kLSSharedFileListVolumesComputerVisible.
func KLSSharedFileListVolumesIDiskVisible ¶
KLSSharedFileListVolumesIDiskVisible returns the value of the constant kLSSharedFileListVolumesIDiskVisible.
func KLSSharedFileListVolumesNetworkVisible ¶
KLSSharedFileListVolumesNetworkVisible returns the value of the constant kLSSharedFileListVolumesNetworkVisible.
func LSSharedFileListAddObserver ¶
func LSSharedFileListAddObserver(inList obj.Object, inRunloop obj.Object, inRunloopMode obj.Object, callback unsafe.Pointer, context_ unsafe.Pointer)
LSSharedFileListAddObserver calls the SharedFileList framework function LSSharedFileListAddObserver.
func LSSharedFileListCopyProperty ¶
LSSharedFileListCopyProperty calls the SharedFileList framework function LSSharedFileListCopyProperty.
func LSSharedFileListCopySnapshot ¶
LSSharedFileListCopySnapshot calls the SharedFileList framework function LSSharedFileListCopySnapshot.
func LSSharedFileListCreate ¶
func LSSharedFileListCreate(inAllocator obj.Object, inListType obj.Object, listOptions obj.Object) obj.Object
LSSharedFileListCreate calls the SharedFileList framework function LSSharedFileListCreate.
func LSSharedFileListGetSeedValue ¶
LSSharedFileListGetSeedValue calls the SharedFileList framework function LSSharedFileListGetSeedValue.
func LSSharedFileListGetTypeID ¶
func LSSharedFileListGetTypeID() int
LSSharedFileListGetTypeID calls the SharedFileList framework function LSSharedFileListGetTypeID.
func LSSharedFileListInsertItemFSRef ¶
func LSSharedFileListInsertItemFSRef(inList obj.Object, insertAfterThisItem obj.Object, inDisplayName obj.Object, inIconRef obj.Object, inFSRef unsafe.Pointer, inPropertiesToSet obj.Object, inPropertiesToClear obj.Object) obj.Object
LSSharedFileListInsertItemFSRef calls the SharedFileList framework function LSSharedFileListInsertItemFSRef.
func LSSharedFileListInsertItemURL ¶
func LSSharedFileListInsertItemURL(inList obj.Object, insertAfterThisItem obj.Object, inDisplayName obj.Object, inIconRef obj.Object, inURL obj.Object, inPropertiesToSet obj.Object, inPropertiesToClear obj.Object) obj.Object
LSSharedFileListInsertItemURL calls the SharedFileList framework function LSSharedFileListInsertItemURL.
func LSSharedFileListItemCopyDisplayName ¶
LSSharedFileListItemCopyDisplayName calls the SharedFileList framework function LSSharedFileListItemCopyDisplayName.
func LSSharedFileListItemCopyIconRef ¶
LSSharedFileListItemCopyIconRef calls the SharedFileList framework function LSSharedFileListItemCopyIconRef.
func LSSharedFileListItemCopyProperty ¶
LSSharedFileListItemCopyProperty calls the SharedFileList framework function LSSharedFileListItemCopyProperty.
func LSSharedFileListItemGetID ¶
LSSharedFileListItemGetID calls the SharedFileList framework function LSSharedFileListItemGetID.
func LSSharedFileListItemGetTypeID ¶
func LSSharedFileListItemGetTypeID() int
LSSharedFileListItemGetTypeID calls the SharedFileList framework function LSSharedFileListItemGetTypeID.
func LSSharedFileListItemMove ¶
func LSSharedFileListItemMove(inList obj.Object, inItem obj.Object, inMoveAfterItem obj.Object) error
LSSharedFileListItemMove reports an error if the SharedFileList framework function LSSharedFileListItemMove fails.
func LSSharedFileListItemRemove ¶
LSSharedFileListItemRemove reports an error if the SharedFileList framework function LSSharedFileListItemRemove fails.
func LSSharedFileListItemResolve ¶
func LSSharedFileListItemResolve(inItem obj.Object, inFlags int, outURL unsafe.Pointer, outRef unsafe.Pointer) int
LSSharedFileListItemResolve calls the SharedFileList framework function LSSharedFileListItemResolve.
func LSSharedFileListItemSetProperty ¶
func LSSharedFileListItemSetProperty(inItem obj.Object, inPropertyName obj.Object, inPropertyData obj.Object) error
LSSharedFileListItemSetProperty reports an error if the SharedFileList framework function LSSharedFileListItemSetProperty fails.
func LSSharedFileListRemoveAllItems ¶
LSSharedFileListRemoveAllItems reports an error if the SharedFileList framework function LSSharedFileListRemoveAllItems fails.
func LSSharedFileListRemoveObserver ¶
func LSSharedFileListRemoveObserver(inList obj.Object, inRunloop obj.Object, inRunloopMode obj.Object, callback unsafe.Pointer, context_ unsafe.Pointer)
LSSharedFileListRemoveObserver calls the SharedFileList framework function LSSharedFileListRemoveObserver.
func LSSharedFileListSetAuthorization ¶
LSSharedFileListSetAuthorization reports an error if the SharedFileList framework function LSSharedFileListSetAuthorization fails.
Types ¶
type DispatchAutoreleaseFrequency ¶ added in v0.17.0
type DispatchAutoreleaseFrequency uint64
const ( DispatchAutoreleaseFrequencyInherit DispatchAutoreleaseFrequency = 0 DispatchAutoreleaseFrequencyWorkItem DispatchAutoreleaseFrequency = 1 DispatchAutoreleaseFrequencyNever DispatchAutoreleaseFrequency = 2 )
func (DispatchAutoreleaseFrequency) String ¶ added in v0.17.0
func (e DispatchAutoreleaseFrequency) String() string
String returns the DispatchAutoreleaseFrequency constant's name, or its numeric form when the value is not a known constant.
type DispatchBlockFlags ¶ added in v0.17.0
type DispatchBlockFlags uint64
Bitmask — values may be combined with |.
const ( DispatchBlockFlagsBarrier DispatchBlockFlags = 1 DispatchBlockFlagsDetached DispatchBlockFlags = 2 DispatchBlockFlagsAssignCurrent DispatchBlockFlags = 4 DispatchBlockFlagsNoQosClass DispatchBlockFlags = 8 DispatchBlockFlagsInheritQosClass DispatchBlockFlags = 16 DispatchBlockFlagsEnforceQosClass DispatchBlockFlags = 32 )
func (DispatchBlockFlags) String ¶ added in v0.17.0
func (e DispatchBlockFlags) String() string
String returns the DispatchBlockFlags constant's name, or its numeric form when the value is not a known constant.
type FilesecProperty ¶ added in v0.17.0
type FilesecProperty int64
const ( FilesecPropertyOwner FilesecProperty = 1 FilesecPropertyGroup FilesecProperty = 2 FilesecPropertyUUID FilesecProperty = 3 FilesecPropertyMode FilesecProperty = 4 FilesecPropertyACL FilesecProperty = 5 FilesecPropertyGrpuuid FilesecProperty = 6 FilesecPropertyACLRaw FilesecProperty = 100 FilesecPropertyACLAllocsize FilesecProperty = 101 )
func (FilesecProperty) String ¶ added in v0.17.0
func (e FilesecProperty) String() string
String returns the FilesecProperty constant's name, or its numeric form when the value is not a known constant.
type IpcInfoObjectType ¶ added in v0.17.0
type IpcInfoObjectType int64
const ( IpcInfoObjectTypeNone IpcInfoObjectType = 0 IpcInfoObjectTypeThreadControl IpcInfoObjectType = 1 IpcInfoObjectTypeTaskControl IpcInfoObjectType = 2 IpcInfoObjectTypeHost IpcInfoObjectType = 3 IpcInfoObjectTypeHostPriv IpcInfoObjectType = 4 IpcInfoObjectTypeProcessor IpcInfoObjectType = 5 IpcInfoObjectTypeProcessorSet IpcInfoObjectType = 6 IpcInfoObjectTypeProcessorSetName IpcInfoObjectType = 7 IpcInfoObjectTypeTimer IpcInfoObjectType = 8 IpcInfoObjectTypePortSubstOnce IpcInfoObjectType = 9 IpcInfoObjectTypeMig IpcInfoObjectType = 10 IpcInfoObjectTypeMemoryObject IpcInfoObjectType = 11 IpcInfoObjectTypeXmmPager IpcInfoObjectType = 12 IpcInfoObjectTypeXmmKernel IpcInfoObjectType = 13 IpcInfoObjectTypeXmmReply IpcInfoObjectType = 14 IpcInfoObjectTypeUndReply IpcInfoObjectType = 15 IpcInfoObjectTypeHostNotify IpcInfoObjectType = 16 IpcInfoObjectTypeHostSecurity IpcInfoObjectType = 17 IpcInfoObjectTypeLedger IpcInfoObjectType = 18 IpcInfoObjectTypeMainDevice IpcInfoObjectType = 19 IpcInfoObjectTypeTaskName IpcInfoObjectType = 20 IpcInfoObjectTypeSubsystem IpcInfoObjectType = 21 IpcInfoObjectTypeIODoneQueue IpcInfoObjectType = 22 IpcInfoObjectTypeSemaphore IpcInfoObjectType = 23 IpcInfoObjectTypeLockSet IpcInfoObjectType = 24 IpcInfoObjectTypeClock IpcInfoObjectType = 25 IpcInfoObjectTypeClockCtrl IpcInfoObjectType = 26 IpcInfoObjectTypeIokitIdent IpcInfoObjectType = 27 IpcInfoObjectTypeNamedEntry IpcInfoObjectType = 28 IpcInfoObjectTypeIokitConnect IpcInfoObjectType = 29 IpcInfoObjectTypeIokitObject IpcInfoObjectType = 30 IpcInfoObjectTypeUpl IpcInfoObjectType = 31 IpcInfoObjectTypeMemObjControl IpcInfoObjectType = 32 IpcInfoObjectTypeAuSessionport IpcInfoObjectType = 33 IpcInfoObjectTypeFileport IpcInfoObjectType = 34 IpcInfoObjectTypeLabelh IpcInfoObjectType = 35 IpcInfoObjectTypeTaskResume IpcInfoObjectType = 36 IpcInfoObjectTypeVoucher IpcInfoObjectType = 37 IpcInfoObjectTypeVoucherAttrControl IpcInfoObjectType = 38 IpcInfoObjectTypeWorkInterval IpcInfoObjectType = 39 IpcInfoObjectTypeUxHandler IpcInfoObjectType = 40 IpcInfoObjectTypeUextObject IpcInfoObjectType = 41 IpcInfoObjectTypeArcadeReg IpcInfoObjectType = 42 IpcInfoObjectTypeEventlink IpcInfoObjectType = 43 IpcInfoObjectTypeTaskInspect IpcInfoObjectType = 44 IpcInfoObjectTypeTaskRead IpcInfoObjectType = 45 IpcInfoObjectTypeThreadInspect IpcInfoObjectType = 46 IpcInfoObjectTypeThreadRead IpcInfoObjectType = 47 IpcInfoObjectTypeSuidCred IpcInfoObjectType = 48 IpcInfoObjectTypeHypervisor IpcInfoObjectType = 49 IpcInfoObjectTypeTaskIDToken IpcInfoObjectType = 50 IpcInfoObjectTypeTaskFatal IpcInfoObjectType = 51 IpcInfoObjectTypeKcdata IpcInfoObjectType = 52 IpcInfoObjectTypeExclavesResource IpcInfoObjectType = 53 IpcInfoObjectTypeThreadResume IpcInfoObjectType = 54 IpcInfoObjectTypeUnknown IpcInfoObjectType = 4294967295 )
func (IpcInfoObjectType) String ¶ added in v0.17.0
func (e IpcInfoObjectType) String() string
String returns the IpcInfoObjectType constant's name, or its numeric form when the value is not a known constant.
type LaunchDataType ¶ added in v0.17.0
type LaunchDataType int64
const ( LaunchDataTypeDictionary LaunchDataType = 1 LaunchDataTypeArray LaunchDataType = 2 LaunchDataTypeFd LaunchDataType = 3 LaunchDataTypeInteger LaunchDataType = 4 LaunchDataTypeReal LaunchDataType = 5 LaunchDataTypeBool LaunchDataType = 6 LaunchDataTypeString LaunchDataType = 7 LaunchDataTypeOpaque LaunchDataType = 8 LaunchDataTypeErrno LaunchDataType = 9 LaunchDataTypeMachport LaunchDataType = 10 )
func (LaunchDataType) String ¶ added in v0.17.0
func (e LaunchDataType) String() string
String returns the LaunchDataType constant's name, or its numeric form when the value is not a known constant.
type MachVMRangeFlags ¶ added in v0.17.0
type MachVMRangeFlags int64
Bitmask — values may be combined with |.
const (
MachVMRangeFlagsNone MachVMRangeFlags = 0
)
func (MachVMRangeFlags) String ¶ added in v0.17.0
func (e MachVMRangeFlags) String() string
String returns the MachVMRangeFlags constant's name, or its numeric form when the value is not a known constant.
type MachVMRangeFlavor ¶ added in v0.17.0
type MachVMRangeFlavor int64
const ( MachVMRangeFlavorInvalid MachVMRangeFlavor = 0 MachVMRangeFlavorV1 MachVMRangeFlavor = 1 )
func (MachVMRangeFlavor) String ¶ added in v0.17.0
func (e MachVMRangeFlavor) String() string
String returns the MachVMRangeFlavor constant's name, or its numeric form when the value is not a known constant.
type MachVMRangeTag ¶ added in v0.17.0
type MachVMRangeTag int64
const ( MachVMRangeTagDefault MachVMRangeTag = 0 MachVMRangeTagData MachVMRangeTag = 1 MachVMRangeTagFixed MachVMRangeTag = 2 )
func (MachVMRangeTag) String ¶ added in v0.17.0
func (e MachVMRangeTag) String() string
String returns the MachVMRangeTag constant's name, or its numeric form when the value is not a known constant.
type MpoFlags ¶ added in v0.17.0
type MpoFlags int64
Bitmask — values may be combined with |.
const ( MpoFlagsPort MpoFlags = 0 MpoFlagsServicePort MpoFlags = 1024 MpoFlagsConnectionPort MpoFlags = 2048 MpoFlagsReplyPort MpoFlags = 4096 MpoFlagsWeakReplyPort MpoFlags = 16384 MpoFlagsNotificationPort MpoFlags = 17408 MpoFlagsExceptionPort MpoFlags = 32768 MpoFlagsConnectionPortWithPortArray MpoFlags = 65536 )
type OpaqueLSSharedFileListItemRef ¶
type OpaqueLSSharedFileListItemRef struct{}
type OpaqueLSSharedFileListRef ¶
type OpaqueLSSharedFileListRef struct{}
type Perm ¶ added in v0.17.0
type Perm int64
const ( PermReadData Perm = 2 PermListDirectory Perm = 2 PermWriteData Perm = 4 PermAddFile Perm = 4 PermExecute Perm = 8 PermSearch Perm = 8 PermDelete Perm = 16 PermAppendData Perm = 32 PermAddSubdirectory Perm = 32 PermDeleteChild Perm = 64 PermReadAttributes Perm = 128 PermWriteAttributes Perm = 256 PermReadExtattributes Perm = 512 PermWriteExtattributes Perm = 1024 PermReadSecurity Perm = 2048 PermWriteSecurity Perm = 4096 PermChangeOwner Perm = 8192 PermSynchronize Perm = 1048576 )
type PtrauthKey ¶ added in v0.17.0
type PtrauthKey int64
const ( Ptrauth_key_none PtrauthKey = -1 Ptrauth_key_asia PtrauthKey = 0 Ptrauth_key_asib PtrauthKey = 1 Ptrauth_key_asda PtrauthKey = 2 Ptrauth_key_asdb PtrauthKey = 3 Ptrauth_key_process_independent_code PtrauthKey = 0 Ptrauth_key_process_dependent_code PtrauthKey = 1 Ptrauth_key_process_independent_data PtrauthKey = 2 Ptrauth_key_process_dependent_data PtrauthKey = 3 Ptrauth_key_return_address PtrauthKey = 1 Ptrauth_key_frame_pointer PtrauthKey = 3 Ptrauth_key_function_pointer PtrauthKey = 0 Ptrauth_key_block_function PtrauthKey = 0 Ptrauth_key_cxx_vtable_pointer PtrauthKey = 2 Ptrauth_key_method_list_pointer PtrauthKey = 2 Ptrauth_key_objc_isa_pointer PtrauthKey = 2 Ptrauth_key_objc_super_pointer PtrauthKey = 2 Ptrauth_key_objc_sel_pointer PtrauthKey = 3 Ptrauth_key_objc_class_ro_pointer PtrauthKey = 2 Ptrauth_key_block_descriptor_pointer PtrauthKey = 2 Ptrauth_key_init_fini_pointer PtrauthKey = 0 )
func (PtrauthKey) String ¶ added in v0.17.0
func (e PtrauthKey) String() string
String returns the PtrauthKey constant's name, or its numeric form when the value is not a known constant.
type VirtualMemoryGuardExceptionCode ¶ added in v0.17.0
type VirtualMemoryGuardExceptionCode int64
const ( KGUARD_EXC_DEALLOC_GAP VirtualMemoryGuardExceptionCode = 1 KGUARD_EXC_RECLAIM_COPYIO_FAILURE VirtualMemoryGuardExceptionCode = 2 KGUARD_EXC_RECLAIM_INDEX_FAILURE VirtualMemoryGuardExceptionCode = 4 KGUARD_EXC_RECLAIM_DEALLOCATE_FAILURE VirtualMemoryGuardExceptionCode = 8 KGUARD_EXC_RECLAIM_ACCOUNTING_FAILURE VirtualMemoryGuardExceptionCode = 9 KGUARD_EXC_SEC_IOPL_ON_EXEC_PAGE VirtualMemoryGuardExceptionCode = 10 KGUARD_EXC_SEC_EXEC_ON_IOPL_PAGE VirtualMemoryGuardExceptionCode = 11 KGUARD_EXC_SEC_UPL_WRITE_ON_EXEC_REGION VirtualMemoryGuardExceptionCode = 12 KGUARD_EXC_LARGE_ALLOCATION_TELEMETRY VirtualMemoryGuardExceptionCode = 13 KGUARD_EXC_SEC_ACCESS_FAULT VirtualMemoryGuardExceptionCode = 98 KGUARD_EXC_SEC_ASYNC_ACCESS_FAULT VirtualMemoryGuardExceptionCode = 99 KGUARD_EXC_SEC_COPY_DENIED VirtualMemoryGuardExceptionCode = 100 KGUARD_EXC_SEC_SHARING_DENIED VirtualMemoryGuardExceptionCode = 101 KGUARD_EXC_MTE_SYNC_FAULT VirtualMemoryGuardExceptionCode = 200 KGUARD_EXC_MTE_ASYNC_USER_FAULT VirtualMemoryGuardExceptionCode = 201 KGUARD_EXC_MTE_ASYNC_KERN_FAULT VirtualMemoryGuardExceptionCode = 202 KGUARD_EXC_GUARD_OBJECT_ASYNC_USER_FAULT VirtualMemoryGuardExceptionCode = 203 KGUARD_EXC_GUARD_OBJECT_ASYNC_KERN_FAULT VirtualMemoryGuardExceptionCode = 204 )
func (VirtualMemoryGuardExceptionCode) String ¶ added in v0.17.0
func (e VirtualMemoryGuardExceptionCode) String() string
String returns the VirtualMemoryGuardExceptionCode constant's name, or its numeric form when the value is not a known constant.
type XpcListenerCreateFlags ¶ added in v0.17.0
type XpcListenerCreateFlags int64
Bitmask — values may be combined with |.
const ( XpcListenerCreateFlagsNone XpcListenerCreateFlags = 0 XpcListenerCreateFlagsInactive XpcListenerCreateFlags = 1 XpcListenerCreateFlagsForceMach XpcListenerCreateFlags = 2 XpcListenerCreateFlagsForceXpcservice XpcListenerCreateFlags = 4 )
func (XpcListenerCreateFlags) String ¶ added in v0.17.0
func (e XpcListenerCreateFlags) String() string
String returns the XpcListenerCreateFlags constant's name, or its numeric form when the value is not a known constant.
type XpcSessionCreateFlags ¶ added in v0.17.0
type XpcSessionCreateFlags int64
Bitmask — values may be combined with |.
const ( XpcSessionCreateFlagsNone XpcSessionCreateFlags = 0 XpcSessionCreateFlagsInactive XpcSessionCreateFlags = 1 XpcSessionCreateFlagsMachPrivileged XpcSessionCreateFlags = 2 )
func (XpcSessionCreateFlags) String ¶ added in v0.17.0
func (e XpcSessionCreateFlags) String() string
String returns the XpcSessionCreateFlags constant's name, or its numeric form when the value is not a known constant.