tomoyo_assign_domain(9)
π tomoyo_assign_domain β kernel API manual, bestie edition π
okay so real talk, we're deep in the kernel section 9 manpages and this one lives under tomoyo_assign_domain(9) in the Kernel API Manual. she's niche, she's security-module-coded, and honestly she ate. let's get into it β¨
πΈ NAME πΈ
tomoyo_assign_domain β literally creates a domain or a namespace. that's the whole gig. main character energy fr fr π
β¨ SYNOPSIS β¨
struct tomoyo_domain_info * tomoyo_assign_domain (const char *domainname
, const bool transit );
no cap, that's the exact signature β don't come for me about the line break, that's how she's written π
π«Ά ARGUMENTS π«Ά
domainnameβ the name of the domain. yes queen, tell her what she's called πtransitβTrueif you wanna transit to the domain that was found or created. like, actually go there. π¦
π₯ DESCRIPTION π₯
Returns a pointer to "struct tomoyo_domain_info" on success β and NULL otherwise. that's it, that's the deal. ngl, pretty straightforward. π
heads up bestie: the caller holds tomoyo_read_lock. that's not optional, that's the vibe check. π
β SEE ALSO β
she hangs out in the kernel file ./security/tomoyo/domain.c and she runs with a whole squad, so let's give them their shoutouts:
tomoyo_update_policy(9)tomoyo_same_acl_head(9)tomoyo_update_domain(9)tomoyo_check_acl(9)tomoyo_last_word(9)tomoyo_same_transition_control(9)tomoyo_write_transition_control(9)tomoyo_scan_transition(9)tomoyo_transition_type(9)tomoyo_same_aggregator(9)tomoyo_write_aggregator(9)tomoyo_find_namespace(9)tomoyo_assign_namespace(9)tomoyo_namespace_jump(9)tomoyo_environ(9)tomoyo_find_next_domain(9)tomoyo_dump_page(9)
iykyk π
that's the whole page, bestie π this gem ships from ./security/tomoyo, dated October 2026, and she's styling it as tomoyo_assign_domain(9). go forth and assign those domains, ily, bye π§ββοΈπ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms