tomoyo_find_namespace(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ tomoyo_find_namespace πŸŽ€

okay so welcome to tomoyo_find_namespace(9), bestie β€” this is the Kernel API Manual entry, and it is literally all about finding a specified namespace. no cap. πŸ¦‹

✨ NAME ✨

tomoyo_find_namespace β€” find specified namespace, periodt. πŸ’…

πŸ¦‹ SYNOPSIS πŸ¦‹

struct tomoyo_policy_namespace * tomoyo_find_namespace (const char *name
, const unsigned int len );

πŸ’… ARGUMENTS πŸ’…

  • name β€” name of namespace to find. this is the name you're hunting for, bestie. πŸ”Ž
  • len β€” length of name. yes, the actual length. πŸ“

πŸ”₯ DESCRIPTION πŸ”₯

Returns pointer to "struct tomoyo_policy_namespace" if found, NULL otherwise. iconic behavior, honestly. 😭

Caller holds tomoyo_read_lock. that's not a suggestion, that's the vibe check β€” you, the caller, are already holding it. πŸ”’

🌈 SEE ALSO 🌈

Kernel file ./security/tomoyo/domain.c is the hangout spot, and the whole friend group is here too:


mwah πŸ’‹ β€” with love from ./security/tomoyo, dated October 2026, signing off as tomoyo_find_namespace(9). πŸŽ€

πŸ“¦ where this page comes from