tomoyo_open_control(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so bestie, welcome to tomoyo_open_control(9) β€” yep, that's the Kernel API Manual page, and it's literally the open() for the /sys/kernel/security/tomoyo/ interface. that's the whole vibe. πŸ¦‹


✨ SYNOPSIS ✨

int tomoyo_open_control (const u8 type , struct file *file );

πŸŽ€ ARGUMENTS πŸŽ€

  • type β€” type of interface. that's the assignment, no cap.
  • file β€” pointer to "struct file". yes bestie, the file struct itself. 🫢

πŸ¦‹ DESCRIPTION πŸ¦‹

returns 0 on success, and a negative value otherwise. that's it. that's the plot. ✨

lowkey important: 0 means success, and a negative value means not success. don't forget the negative part, bestie πŸ’…

🌸 SEE ALSO 🌸

the whole squad is hanging around the kernel file ./security/tomoyo/common.c, and these are all the related pages, fr fr:

mwah πŸ’‹ source/version vibes: ./security/tomoyo Β· date: October 2026 Β· page: tomoyo_open_control(9) β€” byeeee 🫢✨

πŸ“¦ where this page comes from