Re: link question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 29 Jun 2011 11:40:40 -0700
Greg KH <greg@xxxxxxxxx> wrote:

> On Wed, Jun 29, 2011 at 11:36:30AM -0600, Littlefield, Tyler wrote:
> > 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,
> 
> >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

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux