Re: [TOMOYO 1/2] tomoyo: add Documentation/tomoyo.txt

Pavel Machek
2009-05-01T10:24:57Z

On Mon 2009-04-13 11:04:19, Tetsuo Handa wrote:
> Hello.
>
> Pavel Machek wrote:
> > Could we get an user<->kernel interface documentation?
>
> It is at http://tomoyo.sourceforge.jp/en/2.2.x/policy-reference.html
.

Ouch:

2.5 Memory Allocation Rules

In TOMOYO Linux, memory allocated for holding access permissions and
words are never freed. There is no way except rebooting the system
that can free unneeded memory.

But don't worry. The policy seldom changes after you start production
mode. By tuning policy before starting production mode, you can reduce
memory usage to (usually) less than 1 MB.

....does that mean that it leaks memory by design?
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html