Tracing syscall?

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

 



I try strace to trace the ifconfig executable. 

So I run 'strace -o trace ifconfig eth0 inet 192.168.0.1 netmask 255.255.255.0'

I'm only interesting by network call. The proble is that the only syscall is
socket(PF_UNIX, SOCK_DGRAM, 0) but socket() is not a syscall, is it? The syscall
is sys_socketcall() no? Is there a way which will allow me to see the call to
sys_socketcall() with its arguments? Should I write a wrapper for
sys_socketcall()?

Thanks
G.
--
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