tomoyo_assign_profile(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

okay so bestie, welcome to the tomoyo_assign_profile(9) page from the Kernel API Manual πŸ’– this one is short and sweet, and it's literally about making a new profile.

tomoyo_assign_profile β€” Create a new profile.

πŸ¦‹ SYNOPSIS πŸ¦‹

struct tomoyo_profile * tomoyo_assign_profile (struct
tomoyo_policy_namespace *ns , const unsigned int profile );

πŸŽ€ ARGUMENTS πŸŽ€

  • ns β€” Pointer to "struct tomoyo_policy_namespace". that's the namespace pointer, periodt. 🫢
  • profile β€” Profile number to create. the actual profile number, no cap. ✨

πŸ’… DESCRIPTION πŸ’…

Returns pointer to "struct tomoyo_profile" on success, NULL otherwise. that's the whole vibe check: success gets you the pointer, otherwise you get NULL. πŸ˜­πŸ’–

🌈 SEE ALSO 🌈

Kernel file ./security/tomoyo/common.c β€” plus the whole friend group, bestie:


okay bye bestie 🫢 this page's source is ./security/tomoyo, the manual version is the Kernel API Manual, the date is October 2026, and the page is tomoyo_assign_profile(9). slay and see you in the next manpage πŸ’…βœ¨

πŸ“¦ where this page comes from