tomoyo_close_control(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… tomoyo_close_control β€” like, the close() of the kernel API manual fam

okay so real talk: this is a page from the Kernel API Manual (tomoyo_close_control(9)), and honestly it's short but it matters, so bestie please don't skip it πŸŽ€


✨ NAME ✨

tomoyo_close_control β€” literally the close() for the /sys/kernel/security/tomoyo/ interface πŸ¦‹

like yes, that's it, that's the whole name. iconic behavior fr fr.


🌸 SYNOPSIS 🌸

void tomoyo_close_control (struct tomoyo_io_buffer *head );

no cap, that's the whole signature. void in, void out, struct in the middle. neat πŸ’…


πŸ’– ARGUMENTS πŸ’–

  • head β€” a pointer to "struct tomoyo_io_buffer". that's the one and only thing you hand it 🫢
ngl there's literally only one argument here so if you were bracing for a long list… breathe, we're done 😭

πŸ”₯ SEE ALSO πŸ”₯

the kernel file lives at ./security/tomoyo/common.c, and it's giving main character energy because it's connected to all of these:

like… that's the whole group chat, everyone showed up πŸ’€βœ¨


and that's the tea πŸ“ sourced straight from the kernel file ./security/tomoyo, dated October 2026, living under the Kernel API Manual banner as tomoyo_close_control(9). slay, go close that interface bestie πŸ’œπŸ‘‘

πŸ“¦ where this page comes from