Re: making system calls within a module ??

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

 



On Mon, Oct 29, 2001 at 10:46:36AM +0530, Srinivas V. wrote:
| within my module i need to do little things like find the pid of the process 
| that made the syscall, i/o to a file to dump trace output etc. In user level 
| programs these things are done with libc calls or lower level UNIX calls 
| like open, getpid etc. i want to know what how these can be inside a kernel 
| module. right now i simply set a function pointer to the syscall table's 
| entry and use that function pointer to make the call. is this ok ? or is 
| there a better/correct way to do it ?

http://syscalltrack.sf.net/

-- 
Chirag Kantharia, chyrag.dhs.org/

-
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
IRC Channel:   irc.openprojects.net / #kernelnewbies
Web Page:      http://www.kernelnewbies.org/


[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