nfs_stream_encode_acl(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

nfs_stream_encode_acl β€” encode an NFSv3 ACL

hiii bestie 🫢 this is nfs_stream_encode_acl(9), straight outta the Kernel API Manual, and it is literally here to encode an NFSv3 ACL ✨


πŸ¦‹ SYNOPSIS πŸ¦‹

bool nfs_stream_encode_acl (struct xdr_stream *xdr , struct inode *inode , struct posix_acl *acl , int encode_entries , int typeflag );

🌸 ARGUMENTS 🌸

  • xdr β€” an xdr_stream positioned to receive an encoded ACL πŸ“₯
  • inode β€” inode of file whose ACL this is πŸ—‚οΈ
  • acl β€” posix_acl to encode πŸŽ€
  • encode_entries β€” whether to encode ACEs as well πŸ‘€
  • typeflag β€” ACL type: NFS_ACL_DEFAULT or zero πŸ’…

✨ DESCRIPTION ✨

okay so the vibe here is simple: this is where the ACL gets encoded πŸ’–

Return values:

  • false β€” the ACL could not be encoded 😭
  • true β€” xdr is advanced to the next available position ✨

🌈 SEE ALSO 🌈


mwah πŸ’‹ this page is nfs_stream_encode_acl(9), source/version ./fs/nfs_common, dated October 2026 β€” periodt ✨

πŸ“¦ where this page comes from