nfsacl_decode(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay bestie, welcome to nfsacl_decode(9) from the Kernel API Manual 🫢 this one is literally the lil decoder for NFSv3 ACLs, and she's here to hand you back a decoded posix_acl. no cap.

🌸 NAME 🌸

nfsacl_decode β€” Decode an NFSv3 ACL

✨ SYNOPSIS ✨

int nfsacl_decode (struct xdr_buf *buf , unsigned int base , unsigned
       int *aclcnt , struct posix_acl **pacl );

πŸŽ€ ARGUMENTS πŸŽ€

  • buf β€” the xdr_buf containing the XDR'd ACL data that needs decoding πŸ’…
  • base β€” byte offset in xdr_buf where the XDR'd ACL begins, like the exact spot where the good stuff starts ✨
  • aclcnt β€” count of ACEs in the decoded posix_acl, yes ma'am πŸŽ€
  • pacl β€” buffer in which to place the decoded posix_acl; this is where the decoded ACL gets dropped off 🫢

πŸ’– DESCRIPTION πŸ’–

She returns the length of the decoded ACL in bytes, or a negative errno value 😭. That's the whole vibe: you get the byte length when it works, and a negative errno value when it does not. periodt.

πŸ”₯ SEE ALSO πŸ”₯

go bother these icons if you need the encode-side or stream-side lore πŸ¦‹


mwah πŸ’‹ with love from ./fs/nfs_common, dated October 2026, and this lil page is nfsacl_decode(9) πŸ«ΆπŸ’–

πŸ“¦ where this page comes from