Default file_operations methods?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
Kernelnewbies@xxxxxxxxxxxxxxxxx
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux