title: Differentiate between kernel and userspace IOCTLs
body: <p>I have an IOCTL handling code in kernel space (Linux kernel version 3.10). In this code, I want to separate out the IOCTLs that have come from userspace from those which have come from kernel space. How can I achieve this? Thanks. </p>