posix_acl_to_cifs(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… posix_acl_to_cifs(9) πŸ’…

okay so bestie, welcome to the Kernel API Manual β€” this one's a function page, and honestly it's giving "small but mighty" ✨


🌸 NAME 🌸

posix_acl_to_cifs β€” the glow-up machine that converts ACLs from POSIX ACL format into cifs</c> format πŸ’–

✨ SYNOPSIS ✨

__u16 posix_acl_to_cifs (char *parm_data , const struct posix_acl *acl ,
       const int acl_type );

like, that's the whole signature, no cap πŸ”₯

πŸŽ€ ARGUMENTS πŸŽ€

  • parm_data β€” the ACLs in cifs format, aka where the converted stuff is gonna land. this is the to side of the pipeline 🫢
  • acl β€” the ACLs in POSIX ACL format, aka where we're pulling from. this is the from side πŸ’…
  • acl_type β€” the type of POSIX ACLs that are stored in acl. yes, it matters, don't skip it πŸ™ˆ

⭐ RETURN ⭐

it hands you back the number of cifs ACL entries after conversion β€” that's the return value, and it's __u16, so plan accordingly πŸ‘‘

πŸ¦‹ SEE ALSO πŸ¦‹

fr fr go read those too, they're the rest of the friend group and they all ate πŸ’€

and that's the whole page bestie, no filler, no crumbs left behind 🌈

later, legend β€” this came from ./fs/smb/client, dated October 2026, and yes the source line is lowkey the same as the footer, we love a consistent queen πŸ‘‘πŸ’œ

πŸ“¦ where this page comes from