NAME

tomoyo-savepolicy - save TOMOYO Linux policy


SYNOPSIS

tomoyo-savepolicy [directory]

tomoyo-savepolicy [directory] [remote_ip:remote:port]


DESCRIPTION

This program saves TOMOYO Linux policy onto disk from kernel memory.


OPTIONS

e

Save exception policy to /etc/tomoyo/exception_policy.conf.

d

Save domain policy to /etc/tomoyo/domain_policy.conf.

a

Save both exception policy and domain policy. [default]

p

Save profile to /etc/tomoyo/profile.conf.

m

Save manager to /etc/tomoyo/manager.conf.

u

Output meminfo to standard output.

f

Forcefully save even if the on-memory policy and the on-disk policy are identical.

-

Write policy to standard output.

directory

Save policy to an alternative directory, rather than the default /etc/tomoyo directory.

remote_ip:remote_port

Save policy on a remote system via an agent waiting at port remote_port on IP address remote_ip.


EXAMPLES

Save domain policy and exception policy to disk
  tomoyo-savepolicy
Save exception policy to disk
  tomoyo-savepolicy e
Retrieve policy from a remote system and save in a local directory
  tomoyo-savepolicy /etc/tomoyo/192.168.1.1/ 192.168.1.1:10000


BUGS

If you find any bugs, send an email to <tomoyo-users_en@lists.sourceforge.net>.


AUTHORS

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

Main author.

Jamie Nguyen <jamie@tomoyolinux.co.uk>

Documentation and website.


SEE ALSO

tomoyo-editpolicy-agent(8), tomoyo-loadpolicy(8)

See <https://tomoyo.sourceforge.net> for more information.