Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Tue, 27 Sep 2011 23:16:58 +0400
From: Vasiliy Kulikov <>
To: Christoph Lameter <>
Cc:, Pekka Enberg <>,
	Matt Mackall <>,,
	Kees Cook <>, Dave Hansen <>,,
	Linus Torvalds <>,
	David Rientjes <>,
	Alan Cox <>,
Subject: Re: [PATCH 1/2] mm: restrict access to slab files under procfs and

On Tue, Sep 27, 2011 at 13:08 -0500, Christoph Lameter wrote:
> Possible candidates:
> christoph@...y:~/n/linux-2.6$ grep proc_create mm/*
> mm/swapfile.c:	proc_create("swaps", 0, NULL, &proc_swaps_operations);
> mm/vmstat.c:	proc_create("buddyinfo", S_IRUGO, NULL, &fragmentation_file_operations);
> mm/vmstat.c:	proc_create("pagetypeinfo", S_IRUGO, NULL, &pagetypeinfo_file_ops);
> mm/vmstat.c:	proc_create("vmstat", S_IRUGO, NULL, &proc_vmstat_file_operations);
> mm/vmstat.c:	proc_create("zoneinfo", S_IRUGO, NULL, &proc_zoneinfo_file_operations);
> vmstat and zoneinfo in particular give similar information to what is
> revealed through the slab proc files.

Do you know whether these files are actively used?  I don't want to
break tools like "free" or "top".  In this case we'll have to discover
another way to limit this information.

Thank you!

Vasiliy Kulikov - bringing security into open computing environments

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.