Re: [kernel-hardening] Re: [RFC PATCH 2/2] mm: restrict access to/proc/slabinfo

From: Alan Cox
Date: Mon Sep 19 2011 - 15:48:43 EST


On Mon, 19 Sep 2011 15:45:07 -0400
Valdis.Kletnieks@xxxxxx wrote:

> On Mon, 19 Sep 2011 18:46:58 +0400, Vasiliy Kulikov said:
>
> > One note: only to _kernel_ developers. It means it is a strictly
> > debugging feature, which shouldn't be enabled in the production
> > systems.
>
> Until somebody at vendor support says "What does 'cat /proc/slabinfo'
> say?"
>
> Anybody who thinks that debugging tools should be totally disabled on
> "production" systems probably hasn't spent enough time actually
> running production systems.

Agreed - far better it is simply set root only. At that point if you
can read it you've bypassed DAC anyway so either you already control
the box or something like SELinux or SMACK is in the way in which case
*it* can manage extra policy just fine.
--
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/