Kern Control: ctl_enqueuedata & Kernel Panic
site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com When calling: I'm seeing a Kernel Panic (in ctl_enqueuedata call). Yet: ------------ * Does the data need to be copyout before calling ctl_enqueuedata? _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... ctl_enqueuedata(kern_ctl_ref ctlref, void *data, size_t len, u_int32_t flags); /* sys/kern_control.h */ The ctl_ref looks OK, no ENOTCONN error. The len looks OK, no EMSGSIZE error. flags is set to 0. And data is pointing to a local struct with no indirection within it. And I didn't get an EINVAL error. * The Kern_control does not have a ctl_write (or equivalent) callback. Does it need to have one to make this work? * ctl_sendsize and ctl_recvsize (or equivalents) sizes are set to 0 (default values) but since the len is ok, I don't think the error is coming from this. This email sent to site_archiver@lists.apple.com
participants (1)
-
Stephane Sudre