Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Jan 1999 12:26:01 -0500 (EST)
From:      Jamie Howard <howardjp@dragon.ham.muohio.edu>
To:        hackers@FreeBSD.ORG
Subject:   socketpair(2)
Message-ID:  <Pine.LNX.4.05.9901301218280.12109-100000@dragon.ham.muohio.edu>

next in thread | raw e-mail | index | archive | help
After a couple years playing with FreeBSD, having written simple programs,
network programs, shared libraries, etc, I figured it was time I tackle my
greatest fear:  a kernel feature.

Since I have need of socketpair(2) supporting PF_INET, it seemed like a
logical place to try this out.  

So I went through the code (as near as I understood it) and got it to find
and execute a function called tcp_usr_connect2...this then calls
tcp_connect2 (following the "standard").  So my kernel compiles and boots,
but when I make a call to socketpair() with PF_INET, it freaks out,
displays some debugging information, and reboots.  It isn't pretty, to say
the least.  So the kernel has defeated me.  

My question is, how can I find out what is going wrong inside there?  What
should I have and do when I try to modify the kernel?  Any suggestions
from any other novice kernel hackers out there?

Thanks, Jamie


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.05.9901301218280.12109-100000>