Default file_operations methods?
omgalvan.86 at gmail.com
Mon Sep 11 23:15:18 EDT 2017
Hi everyone, I'm testing out a small kernel module and wondered what
the default file_operations methods are. I know about no_llseek for
llseek, but what about the rest? Is there anything like no_llseek for
e.g. read, write and so on?
The reason I'm asking this is that my module should only allow
opening, closing, and calling a couple ioctls. Reading, writing and
such wouldn't make sense here.
More information about the Kernelnewbies