cifs_to_posix_acl(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

okay so bestie, welcome to the cifs_to_posix_acl(9) page from the Kernel API Manual πŸ’– this one is literally about one job: copy cifs ACL format to POSIX ACL format. no cap.


🌸 SYNOPSIS 🌸

int cifs_to_posix_acl (struct posix_acl **acl , char *src , const int
       acl_type , const int size_of_data_area );

πŸŽ€ ARGUMENTS πŸŽ€

  • acl β€” ACLs returned in POSIX ACL format. this is where the converted glow-up goes ✨
  • src β€” ACLs in cifs format. the raw material, bestie 🫢
  • acl_type β€” type of POSIX ACL requested. you gotta tell it which flavor you want πŸ’…
  • size_of_data_area β€” size of SMB we got. yes, that's the whole note πŸ“

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so this function converts ACLs from cifs format to POSIX ACL format β€” it's giving translator era 🌈.

but here's the plot twist: if acl is NULL, then the size of the buffer required to store POSIX ACLs in their uapi format is returned. so it's lowkey a size-checker in that case, periodt πŸ’….


πŸ‘‘ SEE ALSO πŸ‘‘


later bestie β€” this page lives under source/version ./fs/smb/client and is dated October 2026. mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from