tomoyo_write_task(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’« tomoyo_write_task(9) πŸ’«

okay so bestie, welcome to the Kernel API Manual β€” this one's tomoyo_write_task, and no cap it's a tiny little icon in the TOMOYO lineup πŸŽ€


✨ NAME ✨

tomoyo_write_task β€” updates the task related list. that's it, that's the whole vibe πŸ¦‹


🌸 SYNOPSIS 🌸

int tomoyo_write_task (struct tomoyo_acl_param *param );

literally one argument, we love a low-effort signature πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

  • param β€” a pointer to struct tomoyo_acl_param. that's the whole assignment bestie 🫢

πŸ‘‘ DESCRIPTION πŸ‘‘

so here's the tea: it returns 0 on success, and a negative value otherwise 😭 that's the entire contract, no cap.

also important, bestie β€” the caller holds tomoyo_read_lock. like, that's not optional, that's the situation, periodt. πŸ”₯


🌈 SEE ALSO 🌈

the friend group is huge, grab a snack πŸ“:

also worth a mention: the kernel file is ./security/tomoyo/common.c β€” that's where the magic lives 🧚


and that's the page, bestie!! πŸ’–βœ¨

so like, this dropped in ./security/tomoyo, dated October 2026, and it's tomoyo_write_task(9) β€” go forth and hold that read lock responsibly, ily πŸ«ΆπŸ’œ

πŸ“¦ where this page comes from