tomoyo_poll_log(9)
π tomoyo_poll_log(9) π
okay so this is from the Kernel API Manual bestie, and it's literally about waiting on an audit log. yes we're in kernel land, put your hair up, we're doing this π
β¨ NAME β¨
tomoyo_poll_log β bestie's whole job is to wait for an audit log. that's it. that's the vibe. π
πΈ SYNOPSIS πΈ
__poll_t tomoyo_poll_log (struct file *file , poll_table *wait );
like look at her. so clean. so iconic. π
π¦ ARGUMENTS π¦
fileβ a pointer tostruct file. yes literally just that. pointer. to a file. mwah π«Άwaitβ a pointer topoll_table. and listen, it may beNULLβ so like. don't panic if she's not there. π
β DESCRIPTION β
so when it's ready to read an audit log, this function returns EPOLLIN | EPOLLRDNORM. that's the whole thing. that's the moment. when the log's ready to be read, she says so, and the return value is EPOLLIN | EPOLLRDNORM. periodt. π₯
no cap, that's the entire description β it's short, it's sweet, it's giving minimal-effort-maximum-slaps π
π SEE ALSO π
the kernel file ./security/tomoyo/audit.c is right there, and honestly the whole friend group is required reading:
tomoyo_print_bprm(9)tomoyo_filetype(9)tomoyo_print_header(9)tomoyo_init_log(9)tomoyo_get_audit(9)tomoyo_write_log2(9)tomoyo_write_log(9)tomoyo_read_log(9)
go read them. all of them. iykyk π§
k bye bestie, this page came from the source ./security/tomoyo, dated October 2026, and yeah the footer says tomoyo_poll_log(9) again because she's consistent like that πβ¨π
π¦ 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