Hi ppl,
I am facing a issue in IOCTL calls. IOCTL accepts user space data and gives it to kernel space, for a kernel module's execution. There appears to be a limit of 4096 bytes which can be copied from user space to kernel space in this IOCTL call. I would like to increase this limit of 4096 bytes.
If anyone has faced this problem then kindly let me know how does one go about solving it.
Awaiting help,
Ashutosh.
i dont know what really your problem is, but when i need to transfer data from user to kernel i pass the user virtual address pointer(contiguous memory) as a ARG to the ioctl function and then use this pointer in the kernel to access data.
-troy
--- "Nasikkar,Ashutosh" anasikkar@iPolicyNet.COM wrote:
Hi ppl,
I am facing a issue in IOCTL calls. IOCTL accepts user space data and gives it to kernel space, for a kernel module's execution. There appears to be a limit of 4096 bytes which can be copied from user space to kernel space in this IOCTL call. I would like to increase this limit of 4096 bytes.
If anyone has faced this problem then kindly let me know how does one go about solving it.
Awaiting help,
Ashutosh.
===== Linux Kernel Consultant Tel : 91-22-2754-6453/4226
__________________________________ Do you Yahoo!? Yahoo! Finance: Get your refund fast by filing online. http://taxes.yahoo.com/filing.html