tomoyo-patternize

Langue: en

Version: July 2009 (ubuntu - 25/10/10)

Section: 8 (Commandes administrateur)

NAME

tomoyo-patternize - Convert TOMOYO Linux's pathnames into patterns

SYNOPSIS

tomoyo-patternize pattern [pattern ...] < list_of_pathnames > new_list_of_pathnames

DESCRIPTION

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 patterned.

EXAMPLES

# tomoyo-patternize '/tmp/php\?\?\?\?\?\?' < /etc/tomoyo/domain_policy.conf > /etc/tomoyo/domain_policy2.conf

Replace pathnames that matches to /tmp/php\?\?\?\?\?\? pattern.

AUTHORS


 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 warranty.

SEE ALSO


 tomoyo-findtemp (8)