Going through the linux 2.6.36 source code at lxr.linux.no, I could not find the ioctl() method in file_operations. Instead I found two new calls: unlocked_ioctl() and compat_ioctl().
What is the difference between ioctl(), unlocked_ioctl(), and compat_ioctl()?
|
|
|
Meta-answer: All the raw stuff happening to the Linux kernel goes through lkml (the Linux kernel mailing list). For explicative summaries, read or search lwn (Linux weekly news). Answer: From The new way of ioctl() by Jonathan Corbet:
Follows an explanation of the patch that introduced Explanation: When
|
||||
|
|
|
There are cases when the replacement of (include/linux/fs.h) struct file_operations method ioctl() to compat_ioctl() in kernel 2.6.36 does not work (e.g. for some device drivers) and unlocked_ioctl() must be used. |
|||
|
|