Messages in this thread | | | Subject | Re: [PATCH 2/2] mm: restrict access to /proc/meminfo | From | Valdis.Kletnieks@vt ... | Date | Wed, 28 Sep 2011 20:43:44 -0400 |
| |
On Wed, 28 Sep 2011 13:31:45 PDT, Dave Hansen said:
> We could also just _effectively_ make it output in MB: > > foo = foo & ~(1<<20) > > or align-up.
I think we want align-up here, there's a bunch of fields that code probably expects to be non-zero on a system that's finished booting...
> We could also give the imprecise numbers to unprivileged > users and let privileged ones see the page-level ones.
That also sounds like a good idea. [unhandled content-type:application/pgp-signature] | |