lkml.org 
[lkml]   [2000]   [Sep]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Function calls not permitted in kernel code
Thank you Tigran and Peter for your replies.

In summary:

- Kernel code can't or shouldn't do anything too high-level.
Emulating high-level things through calls to other parts
of the kernel is not likely to be portable across versions.

- A subset of libc functions is in the linux/lib directory.
Libc functions that mess with system things can't be used.
Utility functions can be used if the libc code is copied in.

- Kernel code should get a user process to do the things it
can't do. The kernel and user procss can communicate using
either /proc, /dev, or system calls (netlink sockets look
like the go here).

Mark
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:45    [W:0.046 / U:11.988 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site