Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933563AbZC0Asw (ORCPT ); Thu, 26 Mar 2009 20:48:52 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S933554AbZC0AsW (ORCPT ); Thu, 26 Mar 2009 20:48:22 -0400 Received: from tundra.namei.org ([65.99.196.166]:1714 "EHLO tundra.namei.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933556AbZC0AsU (ORCPT ); Thu, 26 Mar 2009 20:48:20 -0400 Date: Fri, 27 Mar 2009 11:46:42 +1100 (EST) From: James Morris To: Pavel Machek cc: kernel list , linux-security-module@vger.kernel.org, Greg KH , Linus Torvalds Subject: Re: TOMOYO in linux-next In-Reply-To: <20090327003620.GI29836@elf.ucw.cz> Message-ID: References: <20090326215031.GD29836@elf.ucw.cz> <20090327003620.GI29836@elf.ucw.cz> User-Agent: Alpine 2.00 (LRH 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1072 Lines: 34 On Fri, 27 Mar 2009, Pavel Machek wrote: > Hi! > > > As for the rest of the feedback, please work with the developers to fix > > any bugs or lack of documentation. > > Apparently not even its user<->kernel interface was reviewed. This > violates "one value per file in sysfs": > > [root@tomoyo]# cat /sys/kernel/security/tomoyo/meminfo > Shared: 61440 > Private: 69632 > Dynamic: 768 > Total: 131840 > > You can set memory quota by writing to this file. > (Example) > [root@tomoyo]# echo Shared: 2097152 > /sys/kernel/security/tomoyo/meminfo > [root@tomoyo]# echo Private: 2097152 > /sys/kernel/security/tomoyo/meminfo This is not sysfs, it's securityfs, with their documentation showing it mounted on /sys. - James -- James Morris -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/