Re: Pentium emulation

Alan Cox (alan@lxorguk.ukuu.org.uk)
Wed, 30 Jul 1997 21:22:59 +0100 (BST)


> + * <pavel@atrey.karlin.mff.cuni.cz>
> + * */
> + printk( "Sharing VM disabled - WP does not work, could be security hazard.\n" );
> + return -EPERM;
> + }
> +#endif

Lose the printk except the first call, or folks will use it to log fill.
And -EPERM is probably the wrong return value. -ENOSYS seems closer