tomoyo_read(9)
okay bestie, welcome to tomoyo_read(9) from the Kernel API Manual β yes, thatβs the manual name, and weβre doing the read() corner of the /sys/kernel/security/tomoyo/ interface π
β¨
π NAME π
tomoyo_read β literally the read() for the /sys/kernel/security/tomoyo/ interface. No cap, thatβs the whole name vibe π«Ά
β¨ SYNOPSIS β¨
ssize_t tomoyo_read (struct file *file , char __user *buf , size_t count , loff_t *ppos );
π ARGUMENTS π
fileβ pointer tostruct file. Thatβs it, bestie πbufβ pointer to buffer πΈcountβ size ofbuf, periodt β¨pposβ unused. literally just vibing there π
π¦ DESCRIPTION π¦
On success it returns the bytes read β slay β . Otherwise it returns a negative value, and thatβs the tea β.
π SEE ALSO π
- Kernel file
./security/tomoyo/securityfs_if.c tomoyo_check_task_acl(9)tomoyo_write_self(9)tomoyo_read_self(9)tomoyo_open(9)tomoyo_release(9)tomoyo_poll(9)tomoyo_write(9)tomoyo_create_entry(9)tomoyo_interface_init(9)
cute little sign-off: source/version vibes are ./security/tomoyo, dated October 2026, and the page is tomoyo_read(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