tomoyo-loadpolicy - load TOMOYO Linux manually
tomoyo-loadpolicy [option]
tomoyo-loadpolicy [option] [directory] [remote_ip:remote_port]
This program reads TOMOYO Linux policy from standard input and loads it into the kernel.
Load exception policy from /etc/tomoyo/exception_policy.conf.
Load domain policy from /etc/tomoyo/domain_policy.conf.
Load exception policy and domain policy. [default]
Load profile from /etc/tomoyo/profile.conf.
Load manager from /etc/tomoyo/manager.conf.
Load meminfo from /etc/tomoyo/meminfo.conf.
Erase policy loaded in memory before loading policy from the file. This can be used with the e, d, and a options.
Read policy from standard input. This can bs used with the e, d, m, and u options.
Load policy stored in the directory directory, instead of the default /etc/tomoyo directory. This must be the full path to the directory.
Write to policy on a remote system via an agent waiting at port remote_port on IP address remote_ip.
echo "allow_read /proc/meminfo | tomoyo-loadpolicy -e
echo "delete allow_read /proc/meminfo" | tomoyo-loadpolicy -e
( echo "<kernel>"; echo "allow_execute /sbin/init" ) | tomoyo-loadpolicy -d
/etc/tomoyo/domain_policy.conftomoyo-loadpolicy df
tomoyo-loadpolicy d /etc/tomoyo/192.168.1.1/ 192.168.1.1:10000
If you find any bugs, send an email to <tomoyo-users_en@lists.sourceforge.net>.
Main author.
Documentation and website.
tomoyo-savepolicy(8), tomoyo-editpolicy(8), tomoyo-editpolicy-agent(8), tomoyo-init(8)
See <https://tomoyo.sourceforge.net> for more information.