DragonFly kernel List (threaded) for 2005-05
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
Re: The time has come for a kernel interfacing library layer
Matthew Dillon wrote:
:Do you mean kernel will directly write errno into userland memory?
:
No, what I'm working on is a system call 'library' layer which is
intended to be part of libc without actually being part of libc.
The way it will work is that libc will declare a special code section
(whether dynamic or statically linked) which the kernel will recognize
and remap/override. In the best case libc's code section will simply
be a BSS section (not take up any space in the filesystem).
Linux 2.6 seems did this in similar way, I can not remember if they
put the section at fixed address or not, but kernel will select best
syscall interface, and copy the syscall code into the pages. ;-)
David Xu
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]