---
name: "tomoyo-checkpolicy"
section: "8"
platform: "linux"
package: "tomoyo-tools"
version: "2.6.1-20210910-1+b1"
release: "Debian 12 (Bookworm)"
platforms: ["linux"]
url: "https://new.carta.tech/tomoyo-checkpolicy"
---

# tomoyo-checkpolicy(8)

policy validator utility for TOMOYO Linux

## NAME

tomoyo-checkpolicy - policy validator utility for TOMOYO Linux

## SYNOPSIS

**tomoyo-checkpolicy** \[*option*\]

## DESCRIPTION

This program reads domain policy or exception policy from standard input, and checks for errors. Use this during policy development to ensure that you are implementing correct policy.

## OPTIONS

- **d**

  Interpret input as domain policy.

- **e**

  Interpret input as exception policy.

## EXAMPLES

- **Check for errors in domain policy**

  ```
    tomoyo-checkpolicy d < /etc/tomoyo/domain_policy.conf
  ```

- **Check for errors in exception policy**

  ```
    tomoyo-checkpolicy e < /etc/tomoyo/domain_policy.conf
  ```

## BUGS

If you find any bugs, send an email to \<tomoyo-users-en@lists.osdn.me\>.

## AUTHORS

- Tetsuo Handa \<penguin-kernel@I-love.SAKURA.ne.jp\>

  Main author.

- Jamie Nguyen \<jamie@tomoyolinux.co.uk\>

  Documentation and website.

## SEE ALSO

[**tomoyo-editpolicy**(8)](/tomoyo-editpolicy/8.md)

See \<https://tomoyo.osdn.jp\> for more information.
