Thread (6 messages) 6 messages, 5 authors, 2011-06-29

link question

From: Guillaume Knispel <hidden>
Date: 2011-06-29 20:05:45

On Wed, 29 Jun 2011 11:40:40 -0700
Greg KH [off-list ref] wrote:
On Wed, Jun 29, 2011 at 11:36:30AM -0600, Littlefield, Tyler wrote:
quoted
I have a quick question; this is something I haven't been able to figure 
out. By using the kernel headers you can call functions that are defined 
in the kernel,
quoted
From userspace?  No you can't.  You need to use glibc or something else.
The kernel is not a library, the only way to interact with it from
userspace is by making system calls.  You can use glibc or some libc to
make those system calls for you through other functions, or you can call
them "raw" if you really know what you are doing.

Hope this helps,

greg k-h
Or maybe he was actually talking about kernel modules and in this case
the linking is done by the kernel itself, at runtime.

-- 
Guillaume Knispel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help