TOMOYO-CHECKPOLICY(8)

πŸ“¦ version 2.6.1-20210910, in debian bookworm, ubuntu jammy, ubuntu noble, ubuntu questing

πŸ’– TOMOYO-CHECKPOLICY β€” policy validator utility for TOMOYO Linux πŸ’–

okay bestie, so you know how there's this thing called tomoyo-checkpolicy? It lives in the System Administration Utilities corner of the manual (section 8, iykyk), and honestly? It's giving quality control queen. Let's get into it. πŸŽ€


✨ NAME ✨

tomoyo-checkpolicy β€” the policy validator utility for TOMOYO Linux πŸ¦‹


🌸 SYNOPSIS 🌸

tomoyo-checkpolicy [option]

πŸ’… DESCRIPTION πŸ’…

So here's the vibe: this program reads domain policy or exception policy from standard input, and then it checks for errors. That's it. That's the whole job. πŸ‘‘

And like, why would you even want that? Because you use this during policy development to make sure you're actually implementing correct policy, bestie. No cap. It's the vibe check your policy needs before it goes out into the world. ✨


πŸŽ€ OPTIONS πŸŽ€

  • d β€” interpret the input as domain policy. πŸ’œ
  • e β€” interpret the 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
yes bestie, those two look almost identical, that's not a typo, the < redirect is doing the heavy lifting and the d vs e is the whole personality difference. πŸ™ˆ

πŸ’€ BUGS πŸ’€

If you find any bugs, send an email to <tomoyo-users-en@lists.osdn.me>. Do it, they wanna know, fr fr. 😭


πŸ‘‘ AUTHORS πŸ‘‘

  • Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
    • Main author. 🫢
  • Jamie Nguyen <jamie@tomoyolinux.co.uk>
    • Documentation and website. 🫢

⭐ SEE ALSO ⭐

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


and that's the whole page, bestie!! this was brought to you by tomoyo-tools 2.6.0, dated 2019-02-05, and it's TOMOYO-CHECKPOLICY(8) forever and always. go validate that policy, you main character. πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from