mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* BSD sockets with sys_socketcall
@ 2001-06-27 19:23 Prasad Koya
  2001-06-27 20:52 ` Matti Aarnio
  0 siblings, 1 reply; 2+ messages in thread
From: Prasad Koya @ 2001-06-27 19:23 UTC (permalink / raw)
  To: linux-kernel

How does socket(), bind() and other BSD socket API
calls in user applications are handled by system
socketcall(). Does the compiler (say gcc) substitute
socket() in user app with socketcall(SYS_SOCKET,..)?

Also, why don't I see _syscallN() macro for socketcall
or any other BSD socket calls? 

I'd greatly appreciate your help.

Please CC to kdp102@yahoo.com as I don't subscribe to
the mailing list.

Thanks


__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: BSD sockets with sys_socketcall
  2001-06-27 19:23 BSD sockets with sys_socketcall Prasad Koya
@ 2001-06-27 20:52 ` Matti Aarnio
  0 siblings, 0 replies; 2+ messages in thread
From: Matti Aarnio @ 2001-06-27 20:52 UTC (permalink / raw)
  To: Prasad Koya; +Cc: linux-kernel

On Wed, Jun 27, 2001 at 12:23:27PM -0700, Prasad Koya wrote:
> How does socket(), bind() and other BSD socket API
> calls in user applications are handled by system
> socketcall(). Does the compiler (say gcc) substitute
> socket() in user app with socketcall(SYS_SOCKET,..)?

   You are using libc wrappers which translate the BSD API
   to Linux kernel ABI.

> Thanks

/Matti Aarnio

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-06-27 20:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-06-27 19:23 BSD sockets with sys_socketcall Prasad Koya
2001-06-27 20:52 ` Matti Aarnio

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®