tomoyo_read(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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 to struct file. That’s it, bestie πŸŽ€
  • buf β€” pointer to buffer 🌸
  • count β€” size of buf, 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 🌈


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