cifs_to_posix_acl(9)
β¨ 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 π
- Kernel file
./fs/smb/client/cifssmb.c cifs_init_posix_acl(9)cifs_init_ace(9)posix_acl_to_cifs(9)
later bestie β this page lives under source/version ./fs/smb/client and is dated October 2026. mwah πβ¨
π¦ 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