TOMOYO-SORTPOLICY(8)

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

πŸ’– TOMOYO-SORTPOLICY πŸ’–

okay bestie, welcome to tomoyo-sortpolicy β€” the domain policy sorting utility for TOMOYO Linux, straight out of section 8 of the system administration utilities manual. she's lowkey iconic, she's highkey niche, and she is about to alphabetize your kernel security policy like it's her roman empire. πŸŽ€


✨ NAME ✨

tomoyo-sortpolicy β€” domain policy sorting utility for TOMOYO Linux 🌸


✨ SYNOPSIS ✨

tomoyo-sortpolicy

that's it. no flags, no arguments, no drama. she takes everything through standard input. πŸ’…


✨ DESCRIPTION ✨

so here's the vibe: this program reads domain policy from standard input and sends the sorted contents to standard output. literally just in one side, out the other, but tidy. πŸ¦‹

it's giving sort(1), except β€” and this is the main character twist β€” the sorting is done per domain. not a giant global alphabet soup, but sorted within each domain. iykyk.

you can pass the content of either of these files:

  • /etc/tomoyo/domain_policy.conf
  • /sys/kernel/security/tomoyo/domain_policy

into the standard input of this program using redirection or pipes. feed her, bestie. 🫢


✨ EXAMPLES ✨

πŸŽ€ Sort domain policy

tomoyo-sortpolicy < /sys/kernel/security/tomoyo/domain_policy

look at that. redirect the kernel security policy in, sorted policy out. no cap. ✨


✨ BUGS ✨

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

not me asking you to actually report your bugs instead of just screaming into the void 😭 please do it though, the maintainers deserve it.


✨ 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. go click it, bestie, there's lore. 🌈


and that's the whole page, bestie β€” this is tomoyo-tools version 2.6.0, dated 2019-02-05. slay, stay sorted, and may your domains always be in order. πŸ’…βœ¨πŸŽ€

πŸ“¦ where this page comes from