Subject: Re: CVS commit: syssrc
To: Emmanuel Dreyfus <p99dreyf@criens.u-psud.fr>
From: Greg A. Woods <woods@weird.com>
List: source-changes
Date: 05/23/2001 16:53:53
[ On Wednesday, May 23, 2001 at 08:13:38 (+0200), Emmanuel Dreyfus wrote: ]
> Subject: Re: CVS commit: syssrc
>
> That would be nice, but it would also be far more complex. How do you
> imagine this would work?

I can only imagine that it could work -- I don't know how!  ;-)

> You want a settable sysctl to chose emulated
> Linux kernel version?

Seriously what instantly popped into my mind was to do it at compile
time in much the same way the current different NetBSD emulations are
provided, but I don't know if that would conflict with the emul stuff or
not.

I guess a sysctl to control which linux "features" are emulated would be
best, though ideally it would be proc.curproc one, that way the user
could just set it to any specific kernel version number and then exec
the application of choice from a simple wrapper script.  I guess it
would have to be something that would be inherited by child processes
too though and that might complicate things (though it would eliminate
the need to use wrapper scripts :-)

-- 
							Greg A. Woods

+1 416 218-0098      VE3TCP      <gwoods@acm.org>     <woods@robohack.ca>
Planix, Inc. <woods@planix.com>;   Secrets of the Weird <woods@weird.com>