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.

_______________________________________________
Kernelnewbies mailing list
[email protected]
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Reply via email to