lkml.org 
[lkml]   [1997]   [Jul]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Pentium emulation
Hi,

> +#if CPU==386

Better #ifdef CONFIG_M386

> + * use it to do something bad. If your machine does not need

does not need -> needn't

> + * to be too safe (or you do not nasty users to exec their
> + * own code), you can safely kill whole #if.
> + * <pavel@atrey.karlin.mff.cuni.cz>
> + * */
> + printk( "Sharing VM disabled - WP does not work, could be security hazard.\n" );
> + return -EPERM;
> + }
> +#endif

And what about turning this to a sysctl which would default to 0 (disabled)
on machines with broken WP handling and to 1 elsewhere?

Have a nice fortnight
--
Martin `MJ' Mares <mj@gts.cz> http://atrey.karlin.mff.cuni.cz/~mj/
Faculty of Math and Physics, Charles University, Prague, Czech Rep., Earth
"Not all rumors are as misleading as this one."

\
 
 \ /
  Last update: 2005-03-22 13:40    [W:0.029 / U:24.212 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site