carta
tomoyo-findtemp(8)

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

Bugs

If you find any bugs, send an email to <[email protected]>.

Authors

Tetsuo Handa <[email protected]>

Main author.

Jamie Nguyen <[email protected]>

Documentation and website.

From tomoyo-tools 2.6.1-20210910-1+b1 in Debian 12 (Bookworm). Parsed by carta from the page's man source.