Re: Basic kernel mechanisms

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

 



Hariharan L Thantry wrote:
>Hi Wataru,
>
>Your page was very helpful. But could you tell me why under sys/socket.h
>(which I assume is /usr/include/sys/socket.h) the socket call is declared
>as "extern int socket__P(,,)". Where is this function defined?

Hi Hari,

I've also tried to identify the code, but libc6 source tree is too complex for me
and gave up tracing. So, I made a statically linked test program, and dumped the
socket() code. To simplify the source trees and reduce the code size, I'm going to
write a simple system call wrapper functions which substitute for glibc-2.0 socket(),
ioctl(), and so on.

>I have bookmarked your page...it is really useful.

Thanks
I'm trying to expand the page.

Wataru
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.rutgers.edu

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux