posix_acl_to_cifs(9)
π 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 inacl. 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 π¦
- Kernel file
./fs/smb/client/cifssmb.cβ that's where the magic lives, iykyk π cifs_init_posix_acl(9)cifs_to_posix_acl(9)cifs_init_ace(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms