Re: BSD sockets with sys_socketcall
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 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
BSD sockets with sys_socketcall
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 [EMAIL PROTECTED] 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/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: BSD sockets with sys_socketcall
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 - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/