IOCTL :Facing problems while acccessing data from kernel space

rashmi ns nsrashmi at gmail.com
Wed Sep 28 01:10:48 PDT 2005


> 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 arg
> to the ioctl call .
> Thanks and regards,
> Rashmi.N.S
>
>


More information about the freebsd-hackers mailing list