DragonFly BSD
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

From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Sat, 7 May 2005 16:08:03 -0700 (PDT)

:Matthew Dillon wrote:
:>     The kernel loader (and ld-elf
:>     when it loads things) will automatically detect the existance of the
:>     section and automatically mmap() the actual syscall layer into the 
:>     BSS space, as well as mmap() anything else that it needs for system
:>     interfacing (any additional mmap()'d sections will be not be directly
:>     visible to userland.  Userland only sees the stub table).
:Can I safely assume here that you mean it'll load 'old defaults' for 
:programs not carrying around that specific bss data section?
:		-- Thomas E. Spanjaard
:		   tgen@xxxxxxxxxxxxx

    Well, the layering is the *only* way we can really support backwards
    and forwards compatibility.  We can retrofit 1.2-RELEASE's dynamic
    binaries with the layer by adding it to libc as a TEXT section 
    containing all the system calls so if the kernel doesn't override them
    it just reverts to the old hardwired system calls.  Older static 
    binaries are going to be more of a problem since they cannot be 

					Matthew Dillon 

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