tomoyo-patternize - Convert TOMOYO Linux’s pathnames into patterns
tomoyo-patternize pattern [pattern ...] < list_of_pathnames >
This program reads domain policy from standard input and replaces
pathnames with patterns if the pathname matches to patterns given at
commandline and writes to standard output.
Pathnames that contains execute permission and domainnames won’t be
# tomoyo-patternize ’/tmp/php\?\?\?\?\?\?’ <
/etc/tomoyo/domain_policy.conf > /etc/tomoyo/domain_policy2.conf
Replace pathnames that matches to /tmp/php\?\?\?\?\?\? pattern.
penguin-kernel _at_ I-love.SAKURA.ne.jp
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