tomoyo_find_next_domain(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– tomoyo_find_next_domain β€” the NAME bit ✨

okay so bestie, this whole page is about tomoyo_find_next_domain(9) β€” which, as the name literally screams, is the function that finds a domain. that's it, that's the vibe. it lives in the <pink>Kernel API Manual</pink> (that's the manual name, folding it in right here so you're not confused 🫢).


🌸 SYNOPSIS 🌸

int tomoyo_find_next_domain (struct linux_binprm *bprm );

like, it takes one thing and returns an int. simple. iconic. no notes. πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

  • bprm β€” this is a pointer to "struct linux_binprm". that's literally all the original says about it and i'm not gonna make stuff up, so: it's a pointer to a struct linux_binprm. slay. ✨

πŸ¦‹ DESCRIPTION πŸ¦‹

here's the tea: it returns 0 on success, and a negative value otherwise 🌈. negative = not it, babes.

also super important β€” the caller holds tomoyo_read_lock. like, that's a requirement, not a suggestion. you don't hold it, you're not built for this. πŸ˜­πŸ”’


πŸ‘‘ SEE ALSO πŸ‘‘

the little kernel file this all lives in is ./security/tomoyo/domain.c, and honestly the whole friend group shows up here:

that's seventeen (17) cross-references bestie, i did not skip one, i would never 🫢✨


and that's the whole page!! πŸ§šπŸ’œ this little cutie is served to you from the ./security/tomoyo corner of the kernel, dated October 2026, and it's all under the same tomoyo_find_next_domain(9) banner you saw at the top β€” go be a main character in the security subsystem, ily, bye πŸ’–πŸŽ€

πŸ“¦ where this page comes from