IOCTL
John-Mark Gurney
jmg at funkthat.com
Wed Aug 26 17:12:04 UTC 2015
kumara rathnavel wrote this message on Wed, Aug 26, 2015 at 14:54 +0530:
> I have written a driver program for character device and I use ioctl from
> user space to communicate with the device. I am able to open the device and
> execute the command for the respective ioctl but the address the I am
> sending from the user space is different and the ioctl reutuns me a BAD
> ADDRESS....
Do you know if your ioctl is called or not? Also, what is the code that
you are using to call the ioctl? Are you passing it a valid userland
pointer?
--
John-Mark Gurney Voice: +1 415 225 5579
"All that I will do, has been done, All that I have, has not."
More information about the freebsd-drivers
mailing list