Re: [PATCH] make /dev/kmem a config option

From: Andrew Morton
Date: Mon Feb 11 2008 - 17:40:26 EST


On Sun, 10 Feb 2008 17:05:09 -0800
Arjan van de Ven <arjan@xxxxxxxxxxxxx> wrote:

> Subject: [PATCH] make /dev/kmem a config option
> From: Arjan van de Ven <arjan@xxxxxxxxxxxxxxx>
>
> This patch makes /dev/kmem a config option; /dev/kmem is VERY rarely
> used, and when used, it's generally for no good (rootkits tend to be
> the most common users). With this config option, users have the
> choice to disable /dev/kmem, saving some size as well.
>
> A patch to disable /dev/kmem has been in the Fedora and RHEL kernels for
> 4+ years now without any known problems or legit users of /dev/kmem.
>

I question the testedness of this.

> +config DEV_KMEM
> ...
> +#ifdef CONFIG_DEVKMEM
>

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/