list_for_each_cookie(9)
π
list_for_each_cookie β the Kernel API Manual moment π
okay bestie, welcome to list_for_each_cookie(9) from the Kernel API Manual β yes, the manual name is literally in the room with us, and it's serving β¨
πΈ NAME πΈ
list_for_each_cookie β iterate over a list with cookie.
No cap, that's the whole vibe: you're iterating over a list with cookie πͺ
π¦ SYNOPSIS π¦
list_for_each_cookie (pos , head );
π ARGUMENTS π
posβ thestruct list_headto use as a loop cursor. she's the main character doing the looping π«headβ the head for your list. this is the list's home base, fr fr π
π SEE ALSO π
Kernel file ./security/tomoyo/common.h, plus the whole iconique friend group:
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_task(9)tomoyo_same_name_union(9)tomoyo_same_number_union(9)tomoyo_same_ipaddr_union(9)tomoyo_current_namespace(9)
lowkey that's the whole page, bestie β every flag, argument, and reference is here, and nothing got left on read π
mwah π this cutie comes from ./security/tomoyo, dated October 2026, and its manual name is list_for_each_cookie(9) β periodt π«Ά
π¦ 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