tomoyo_task(9)
π tomoyo_task: bestie edition π
okay so weβre on the tomoyo_task(9) page in the Kernel API Manual, and itβs giving βone function, one job, zero dramaβ β¨ β get that struct tomoyo_task for a specified thread. Letβs go, bestie. π«Ά
πΈ NAME πΈ
tomoyo_task β get "struct tomoyo_task" for the specified thread. π
β¨ SYNOPSIS β¨
struct tomoyo_task * tomoyo_task (struct task_struct *task );
π¦ ARGUMENTS π¦
taskβ the page literally says-- undescribed --π. Thatβs the whole argument entry, no cap.
π DESCRIPTION π
task β pointer to "struct task_struct".
Returns pointer to "struct tomoyo_task" for the specified thread. Thatβs it, thatβs the function. π
π SEE ALSO π
Kernel file ./security/tomoyo/common.h is the one to peek at, and hereβs the full squad of references β no skips, bestie:
tomoyo_read_lock(9)tomoyo_read_unlock(9)tomoyo_sys_getppid(9)tomoyo_sys_getpid(9)tomoyo_pathcmp(9)tomoyo_put_name(9)tomoyo_put_condition(9)tomoyo_put_group(9)tomoyo_same_name_union(9)tomoyo_same_number_union(9)tomoyo_same_ipaddr_union(9)tomoyo_current_namespace(9)list_for_each_cookie(9)
okay thatβs the page, bestie β source/version ./security/tomoyo, dated October 2026, and itβs tomoyo_task(9). mwah πβ¨
π¦ 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