tomoyo-findtemp8
Detect temporary pathnames in tomoyo linux policy
Usage
tomoyo-findtemp [option]
Overview
This program reads a list of pathnames from standard input and checks the existence of these pathnames. Non-existent pathnames are likely to be temporary files and so are printed to standard output. This program can be used alongside wildcard expression rules to shorten and simplify policy.
Options
-
--with-domainname -
Also print the domain name before the pathname.
Examples
- Search for nonexistent pathnames in domain policy
-
tomoyo-findtemp < /sys/kernel/security/tomoyo/domain_policy
History
- Debian 12 (Bookworm) to Debian 11 (Bullseye): the text shown here
- Debian 10 (Buster) to Debian 7 (Wheezy)
- Debian 6.0 (Squeeze)
--with-domainname since Debian 7 (Wheezy).