tomoyo_assign_namespace(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

okay so this is tomoyo_assign_namespace(9) from the Kernel API Manual, and she's here to explain namespace creation to her bestie. πŸ’…

tomoyo_assign_namespace - Create a new namespace. πŸ’–

✨ SYNOPSIS ✨

struct tomoyo_policy_namespace * tomoyo_assign_namespace (const char
       *domainname );

πŸŽ€ ARGUMENTS πŸŽ€

  • domainname β€” Name of namespace to create. That's the whole assignment, bestie. πŸ¦‹

πŸ’… DESCRIPTION πŸ’…

So, like, this function returns a pointer to "struct tomoyo_policy_namespace" on success, and NULL otherwise. No cap. πŸ”₯

Also important: the caller holds tomoyo_read_lock. Yes, that's a requirement, not a cute suggestion. 🫢

πŸ”₯ SEE ALSO πŸ”₯

Kernel file: ./security/tomoyo/domain.c β€” that's the spot. 🏑

The whole squad:


mwah πŸ’– signed off from ./security/tomoyo, dated October 2026 β€” that's the source/version and date, cute and accounted for. tomoyo_assign_namespace(9) out. πŸŽ€

πŸ“¦ where this page comes from