Date: Wed, 26 Aug 2015 10:12:03 -0700 From: John-Mark Gurney <jmg@funkthat.com> To: kumara rathnavel <kumara.bsd@gmail.com> Cc: freebsd-drivers@freebsd.org Subject: Re: IOCTL Message-ID: <20150826171203.GR33167@funkthat.com> In-Reply-To: <CA%2BNzLaOdnAVvMbMZ5pQtXe9ZrPXBb-QKt5MrLpXb=o%2BDpPH3ZQ@mail.gmail.com>
index | next in thread | previous in thread | raw e-mail
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."
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150826171203.GR33167>
