Documentation
¶
Overview ¶
package kernctl provides access to the OSX Kext Control API for sending and receiving messages from kernel extensions.
Index ¶
Constants ¶
View Source
const ( SYSPROTO_CONTROL = 2 AF_SYSTEM = 32 PF_SYSTEM = AF_SYSTEM AF_SYS_CONTROL = 2 CTLIOCGINFO = 3227799043 )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Conn ¶
func NewConnByCtlId ¶
func NewConnByName ¶
Create a new connection to a named kext's kernel control socket
func (*Conn) Connect ¶
Connect will create a connection to the control socket for the kernel extension named in CtlName
func (*Conn) SendCommand ¶
Click to show internal directories.
Click to hide internal directories.