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

From: Dave Hansen
Date: Fri Sep 30 2011 - 16:15:25 EST


I stuck a printk in there. It's not exactly called 100x a second, but
there were 5 distinct users just for me to boot and ssh in:

[ 3.130408] meminfo read called by: 'udevd' 1
[ 3.326649] meminfo read called by: 'dhclient-script' 2
[ 4.624943] meminfo read called by: 'klogd' 3
[ 8.008019] meminfo read called by: 'dhclient-script' 4
[ 8.083091] meminfo read called by: 'ps' 5
[ 48.171038] meminfo read called by: 'bash' 6

Granted, those were likely privileged. But, that's a good list of
processes that I would rather not see break.

-- Dave

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