logo
Free, Micro AI Code Reviews That Run on Git Commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, Micro AI Code Reviews That Run on Git Commit | Product Hunt git-lrc - Free, Micro AI Code Reviews That Run on Git Commit | Product Hunt

tomoyo-init - load TOMOYO Linux policy automatically

Authors

       Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
           Main author.

       Jamie Nguyen <jamie@tomoyolinux.co.uk>
           Documentation and website.

Bugs

       If you find any bugs, send an email to <tomoyo-users-en@lists.osdn.me>.

Description

       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/exception_policy

         /etc/tomoyo/domain_policy.conf => /sys/kernel/security/tomoyo/domain_policy

         /etc/tomoyo/profile.conf => /sys/kernel/security/tomoyo/profile

         /etc/tomoyo/manager.conf => /sys/kernel/security/tomoyo/manager

         /etc/tomoyo/stat.conf => /sys/kernel/security/tomoyo/stat

       If /etc/tomoyo/tomoyo-post-init exists and is executable, then it will also be executed. This allows
       additional control over what happens at startup.

       You will not usually need to invoke this program manually.

Examples

Contentsof"/etc/tomoyo/tomoyo-post-init"allowingnon-root"demo"usertoeditpolicy
             #!/bin/bash
             echo manage_by_non_root > /sys/kernel/security/tomoyo/manager
             chown -R demo /sys/kernel/security/tomoyo

Name

       tomoyo-init - load TOMOYO Linux policy automatically

See Also

tomoyo-loadpolicy(8)

       See <https://tomoyo.osdn.jp> for more information.

tomoyo-tools 2.6.0                                 2019-02-05                                     TOMOYO-INIT(8)

Synopsis

tomoyo-init

See Also