Thanks. I am aware of these issues and we already have a pretty capable layer to deal with these issues (unfortunately, it was very necessary). My problem is not with the data carried by the IOCTL, but with IOCTL command code itself, which comes out wrong on the kernel side. And my problem is not only in the size data, but also in other fields. IOCTL command code: 1 byte: W/R/RW -------- Passes through fine 1 byte: size of data carried -------- DOESN'T PASS THROUGH 1 byte: identifier character of the module -------- Passes through fine 1 byte: IOCTL number -------- DOESN'T PASS THROUGH The funny thing is that I always get the same IOCTL command code on the kernel side, no matter what I send using the ioctl() system call. Any idea? Thanks -------- Original Message -------- Subject: Re: Sending IOCTLs from 32-bit userland to 64-bit Kernel module From: Michael Tokarev <mjt@tls.msk.ru> To: Yoav Artzi <yoavar@checkpoint.com> Date: Tuesday, January 29, 2008 3:05:01 PM--
| Davide Libenzi | [patch 7/8] fdmap v2 - implement sys_socket2 |
| Greg Kroah-Hartman | [PATCH 018/196] coda: convert struct class_device to struct device |
| Bart Van Assche | Integration of SCST in the mainstream Linux kernel |
| David Newall | Re: Slow DOWN, please!!! |
git: | |
| Christoph Lameter | Network latency regressions from 2.6.22 to 2.6.29 |
| David Miller | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Arjan van de Ven | Re: [GIT]: Networking |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
