tomoyo_get_mode(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… tomoyo_get_mode(9) β€” like, the Kernel API Manual one, bestie ✨

okay so before we even get into it β€” this page lives in the Kernel API Manual, and the function is tomoyo_get_mode(9). That's the whole vibe. Now let's go. πŸŽ€


✨ NAME ✨

tomoyo_get_mode β€” get MAC mode. that's it. that's the whole name. short, sweet, icon behaviour. πŸ’–


🌸 SYNOPSIS 🌸

int tomoyo_get_mode (const struct tomoyo_policy_namespace *ns , const u8
       profile , const u8 index );

like yes the call is a little long, but it ate. no notes. πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

  • ns β€” pointer to "struct tomoyo_policy_namespace". it's the namespace, she's pointing at it, that's the whole job 🫢
  • profile β€” the profile number. a number. for a profile. iykyk 🌈
  • index β€” index number of functionality. literally the index of the functionality. main character parameter energy ⭐

πŸ”₯ DESCRIPTION πŸ”₯

Returns mode.

no like that's genuinely the entire description 😭 it returns the mode. nothing more, nothing less. she's concise, she's efficient, she's giving minimalism. πŸ’€βœ¨


πŸ‘‘ SEE ALSO πŸ‘‘

okay bestie grab a snack because this list is long and we are NOT skipping a single one of these icons. kernel file ./security/tomoyo/util.c is the home base, and then the whole squad:

the whole friend group, fr fr. go read them. πŸ§šπŸ’œ


ok and one last thing β€” this page came out of ./security/tomoyo, dated October 2026, and the footer herself is tomoyo_get_mode(9). so like, that's the source, that's the date, that's the name. periodt. πŸ“πŸŒΈπŸ’–
πŸ“¦ where this page comes from