Provided by: tomoyo-tools_2.4.0-20111025-3_amd64
tomoyo-init - load TOMOYO Linux policy automatically
When /sbin/init starts, the kernel automatically calls this program. Policy files that have been saved to disk are subsequently loaded into kernel memory. This program copies the following files: /etc/tomoyo/exception_policy.conf => /sys/kernel/security/tomoyo/tomoyo/exception_policy /etc/tomoyo/domain_policy.conf => /sys/kernel/security/tomoyo/tomoyo/domain_policy /etc/tomoyo/profile.conf => /sys/kernel/security/tomoyo/tomoyo/profile /etc/tomoyo/manager.conf => /sys/kernel/security/tomoyo/tomoyo/manager /etc/tomoyo/stat.conf => /sys/kernel/security/tomoyo/tomoyo/stat If /etc/tomoyo/tomoyo-post-init exists and is executable, then it will also be executed. This is useful to additional control over what happens at startup.
Contents of "/etc/tomoyo/tomoyo-post-init" allowing non-root "demo" user to edit policy: #! /bin/sh echo manage_by_non_root > /sys/kernel/security/tomoyo/tomoyo/manager chown -R demo /sys/kernel/security/tomoyo/tomoyo/
This program will usually not need to be invoked manually.
If there are any bugs, send an email with as much detail as possible to tomoyo-users- email@example.com
Main authors: · Tetsuo Handa <penguin-kernel AT I-love.SAKURA.ne.jp> Other contributers: · Jamie Nguyen <jamie AT tomoyolinux.co.uk> Man pages, documentation and website.
tomoyo-loadpolicy(8) See http://tomoyo.sourceforge.jp/ for more information.