read_name(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

read_name(9)

okay bestie, welcome to the Kernel API Manual πŸ’– this little icon is the read handler for "ipe/policies/$name/name", and she is literally here to deliver the policy name. no cap.


🌸 NAME 🌸

read_name β€” Read handler for "ipe/policies/$name/name". πŸ’…

✨ SYNOPSIS ✨

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

πŸŽ€ ARGUMENTS πŸŽ€

  • f β€” supplies a file structure representing the securityfs node 🫢
  • data β€” supplies a buffer passed to the write syscall πŸ‘€
  • len β€” supplies the length of data πŸ“
  • offset β€” unused. literally just vibing there πŸ’€

πŸ¦‹ DESCRIPTION πŸ¦‹

on success, data will be populated with the policy_name attribute. slay, that's the whole vibe ✨

πŸ”₯ RETURN πŸ”₯

  • Length of buffer written β€” Success πŸ”₯
  • -ENOENT β€” Policy initializing/deleted 😭

πŸ‘‘ SEE ALSO πŸ‘‘

bestie, go read these next, iykyk πŸ’œ


mwah πŸ’‹ this page came from source/version ./security/ipe, dated October 2026. periodt. πŸŽ€

πŸ“¦ where this page comes from