NAME
tomoyo-findtemp - Detect TOMOYO Linux’s temporary pathnames
SYNOPSIS
tomoyo-findtemp < list_of_pathnames
DESCRIPTION
This program reads list of pathnames from standard input and checks the
existence of pathnames, and dumps the nonexistent pathnames.
The nonexistent pathnames are likely used as temporary pathnames. So
find the naming rules from similar nonexistent pathnames and append the
pattern to /etc/tomoyo/exception_policy.conf and
/sys/kernel/security/tomoyo/exception_policy .
You can pass the content of /etc/tomoyo/domain_policy.conf or
/sys/kernel/security/tomoyo/domain_policy using redirection or pipes to
the standard input of this program.
EXAMPLES
# tomoyo-savepolicy -d | tomoyo-findtemp
Search for nonexistent pathnames from domain policy.
AUTHORS
penguin-kernel _at_ I-love.SAKURA.ne.jp
COPYRIGHT
Copyright © 2005-2009 NTT DATA CORPORATION.
This program is free software; you may redistribute it under the terms
of the GNU General Public License. This program has absolutely no
warranty.
SEE ALSO
tomoyo-patternize (8)