Re: [PATCH] Allow /dev/{,k}mem to be disabled to prevent kernel from being modified easily

From: Andrew Morton (akpm@osdl.org)
Date: Sun Aug 03 2003 - 14:32:18 EST


bert hubert <ahu@ds9a.nl> wrote:
>
> +#if defined(CONFIG_MEMORY_ACCESS)
> {1, "mem", S_IRUSR | S_IWUSR | S_IRGRP, &mem_fops},
> {2, "kmem", S_IRUSR | S_IWUSR | S_IRGRP, &kmem_fops},
> +#endif

Well if you're going to do this, wouldn't it be better to force a segv and
drop some messages in syslog?

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



This archive was generated by hypermail 2b29 : Thu Aug 07 2003 - 22:00:21 EST