Acceptable kernel code?

James R. Leu (
Mon, 5 May 1997 13:15:14 -0500 (CDT)

I think I know this answer, but just to verify:

Is it acceptable to use functions like gethostbyname() inside of the kernel?

Normally a userland function call should stay in userland, right? Well
what about in a thread like nfsiod? It is kind of in userland (it's a process)
and kind of in kernel land.

What is the general rule of thumb for this?


James R. Leu
Network Administrator
CORE Digital Communication Services