[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Generic System call handler
> 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/