Date: Wed, 28 Sep 2005 13:40:46 +0530 From: rashmi ns <nsrashmi@gmail.com> To: bugi@lists.redbrick.dcu.ie, freebsd-hackers@freebsd.org Subject: IOCTL :Facing problems while acccessing data from kernel space Message-ID: <9f999316050928011010542946@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
> Hello All , Sorry for resending the message many times !!!. I was trying to add a new ioctl command like > #define HDLCMODE _IOR('6',0xF,int) > when i trying to uprintf the data which was sent from the user-space in > the device-driver-ioctl-routine i'll get a different value than which was > passed. Can anybody please tell me why this is happening . I pass the > address of an integer where data is stored from the user space as third a= rg > to the ioctl call . > Thanks and regards, > Rashmi.N.S > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9f999316050928011010542946>