Re: Generic System call handler

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

 




> My point is to log  all syscalls irrespective of  what they 
> are.....One place i'm looking  at is the entry.S, i'm looking at the 

> wrong place there, and i don't know which is the right place.

 You are looking in the right place. The system_call function in
entry.S already has hooks to allow system call tracing through ptrace.
(Look for tracesys and syscall_trace). You'll have to code something
similar, or maybe modify system_call a little to call a tracing
function unconditionally.

Hope this helps,
Ravi.
  

__________________________________________________
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/
--
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