Re: Function calls not permitted in kernel code

From: Mark James (mrj@cs.usyd.edu.au)
Date: Wed Sep 20 2000 - 19:24:07 EST


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/



This archive was generated by hypermail 2b29 : Sat Sep 23 2000 - 21:00:24 EST