Library (ab)use in kernel land

M. Warner Losh imp at bsdimp.com
Sat Aug 28 23:22:56 PDT 2004


In message: <20040827182358.GA2114 at tin.it>
            Paolo Pisati <flag at oltrelinux.com> writes:
: As a general rule of thumb, 
: which are the safe libraries we can link against 
: while developing a kernel module?

None.

: I mean, can i use libc functions? All of them?

No.  You can't.

: And what about the other libraries in the base system?

None.

You can use some functions traditionally in libc that are in the
kernel in libkern only.

Warner


More information about the freebsd-hackers mailing list