lseek in kernel space

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

 



I'm writing a module that accesses some kernel structures upon loading in a 2.6x kernel.
I need to jump some offsets forward from a memory address (idtr) do I _have_ to use file operations and the whole block/char registration thingies or can I lseek somehow without this.
I tried generic_file_lseek but am getting segfaults


regards -
Lior Kesos

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/



[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