linux-kernel March 2009 archive
Main Archive Page > Month Archives  > linux-kernel archives
linux-kernel: Re: TOMOYO in linux-next

Re: TOMOYO in linux-next

From: Pavel Machek <pavel_at_nospam>
Date: Fri Mar 27 2009 - 00:36:20 GMT
To: James Morris <jmorris@namei.org>


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

(not to mention being ugly as hell).

This is totaly useless once tomoyo is merged:

  • /sys/kernel/security/tomoyo/version **

    This file is used for getting TOMOYO Linux's version.     (Example)
    [root@etch]# cat /sys/kernel/security/tomoyo/version     2.2.0-pre

                                                                        Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html -- To unsubscribe from this list: send the line "unsubscribe linux-security-module" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html