Instance Methodnmggithub.kass 3.2.4MachCore
isForService(_:)
Determines if the connection port is for a service and returns the filter policy ID.
func isForService(_ servicePort: Mach.ServicePort) throws -> UInt64
Determines if the connection port is for a service and returns the filter policy ID.
func isForService(_ servicePort: Mach.ServicePort) throws -> UInt64
s8MachCore0A0V14ConnectionPortC12isForServiceys6UInt64VAC0gD0CKF
What are these?52EBC
import MachCore
The core module for interacting with the Mach kernel.
class ConnectionPort
A connection port.
struct Mach
The Mach kernel.
class ServicePort
A service port.
@frozen struct UInt64
A 64-bit unsigned integer value type.
static func construct(servicePort: Mach.ServicePort, context: mach_port_context_t? = nil, inNameSpaceOf task: Mach.Task = .current, limits: mach_port_limits_t = mach_port_limits_t(), flags: consuming Mach.PortConstructFlags = []) throws -> Self
Constructs a connection port.