tech-kern archive

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

Re: NetBSD/usermode (Was: CVS commit: src)



Hi Joerg, hi folks,

On Fri, Dec 30, 2011 at 03:49:06PM +0100, Joerg Sonnenberger wrote:
> On Thu, Dec 22, 2011 at 08:22:17PM +0400, Valeriy E. Ushakov wrote:
> > On Thu, Dec 22, 2011 at 15:31:45 +0000, David Holland wrote:
> > > Consequently, the changes should be reverted, at least until the
> > > design has been gone through carefully.
> > 
> > Seconded.
> 
> Nothing happened yet?

No, nothing happened yet... as an alternative i can see two basic NetBSD
additions:

1) have a system call
        msyscall_block([lwp,] from_addr, to_addr)
that blocks from the specified range all system calls. Easiest to add.

2) have a system call
        msetemul([lwp,] emulspec, from_addr, to_addr)

that sets the emulation type for the specified memory range allowing say linux
libs to be linked to NetBSD libs etc... can/could also be used to insert a
system call block as `emulation'.

or we leave it as it is now...

With regards,
Reinoud



Home | Main Index | Thread Index | Old Index