How send/receive are implemented? which syscall they use?

From: Min Lee (abraxsus_at_yonsei.ac.kr.NOSPAM)
Date: 07/24/04


Date: Sat, 24 Jul 2004 20:39:09 +0900

Hello, folks.
Now I'm working under Redhat9+Linux 2.6
I modified kernel 2.6 to catch syscalls pretty much like strace and now I
need to catch
only network-related syscalls like send/receive.
I thought they're using socketcall syscall but I found that it's old scheme!
Now how they are implemented? which syscall they use?

Thanks a lot !



Relevant Pages

  • Re: Syscall interface
    ... There have been various hints over the years that 0x80 is no longer the prefered method, for performance reasons, but I've not seen any documentation on what assembly language programmers need to do to access the "modern" entrypoint. ... The strace package has files which list the syscalls by ... The sub architecture 'x86_64' 'syscallent.h' has a very ...
    (comp.lang.asm.x86)
  • Re: Watching serial port activity.
    ... not aware of any sniffer application that does it. ... Using strace you can indeed trace read/write calls on user-specified ... attach to a running process as gdb does it. ... it is required to track open/closesyscalls as ...
    (comp.lang.python)
  • Re: X does not start. vm86old returns ENOSYS??
    ... These 2 syscalls ... which, I think, strace just doesn't get right. ... I am not sure where exactly the ENOSYS comes ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)
  • Re: Syscall interface
    ... deal with Linux 1.2 and 2.2 which only included the old int 0x80 method. ... The strace package has files which list the syscalls by ... The sub architecture 'x86_64' 'syscallent.h' has a very ...
    (comp.lang.asm.x86)