getaudit(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ getaudit πŸ’…

okay so bestie, welcome to getaudit β€” she's the read handler for the securityfs node, and that node is literally "ipe/success_audit". that's it, that's the whole vibe. she reads, she slays, she returns a length. πŸŽ€


🌸 SYNOPSIS 🌸

ssize_t getaudit (struct file *f , char __user *data , size_t len ,
loff_t *offset );

no cap, that's the whole signature. copy it exactly, don't @ me. ✨


πŸ¦‹ ARGUMENTS πŸ¦‹

  • f β€” supplies a file structure representing the securityfs node. she's the main character of this whole operation fr fr 🫢
  • data β€” supplies a buffer passed to the read syscall. this is where the reading actually happens, iykyk πŸ’–
  • len β€” supplies the length of data. yes bestie, size matters, this is literally how much room you're giving her 🌸
  • offset β€” unused. not me pointing out that she's just sitting there, unused, iconic but doing nothing πŸ˜­πŸ’€

πŸ”₯ RETURN πŸ”₯

the length of buffer written. that's it. that's the return value. periodt. πŸ‘‘


⭐ SEE ALSO ⭐

all of these are her friends, the whole squad, go say hi πŸ§šπŸ’œ


ngl bestie, if you're here you probably want setaudit(9) instead β€” this one only reads. don't come for me, I'm just the messenger πŸ™ˆ

and that's a wrap! 🌈 this whole page lives in ./security/ipe and it's dated October 2026 β€” yes, the future, because she's ahead of her time β­πŸ’… bye bestie, go read some audit state πŸŽ€

πŸ“¦ where this page comes from