ccs-patternize

Langue: en

Version: September 2008 (ubuntu - 08/07/09)

Section: 8 (Commandes administrateur)

NAME

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

SYNOPSIS

ccs-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

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

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

NOTES


 This is a symbolic link to /usr/lib/ccs/patternize .

AUTHORS


 penguin-kernel _at_ I-love.SAKURA.ne.jp

Copyright © 2005-2008 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


 ccs-findtemp (8)