Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Aug 2004 00:21:09 -0600 (MDT)
From:      "M. Warner Losh" <imp@bsdimp.com>
To:        flag@oltrelinux.com
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Library (ab)use in kernel land
Message-ID:  <20040829.002109.94555174.imp@bsdimp.com>
In-Reply-To: <20040827182358.GA2114@tin.it>
References:  <20040827182358.GA2114@tin.it>

next in thread | previous in thread | raw e-mail | index | archive | help

In message: <20040827182358.GA2114@tin.it>
            Paolo Pisati <flag@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040829.002109.94555174.imp>