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

From: Cyrill Gorcunov
Date: Mon Sep 12 2011 - 11:06:49 EST


On Sat, Sep 10, 2011 at 08:41:34PM +0400, Vasiliy Kulikov wrote:
> Historically /proc/slabinfo has 0444 permissions and is accessible to
> the world. slabinfo contains rather private information related both to
> the kernel and userspace tasks. Depending on the situation, it might
> reveal either private information per se or information useful to make
> another targeted attack. Some examples of what can be learned by
> reading/watching for /proc/slabinfo entries:
>
...

Since this file is controversy point, probably its permissions might be
configurable via setup option?

Cyrill
--
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/