Home
last modified time | relevance | path

Searched refs:cifs_acl (Results 1 – 4 of 4) sorted by relevance

/fs/cifs/
Dcifsacl.c328 static void parse_dacl(struct cifs_acl *pdacl, char *end_of_acl, in parse_dacl()
363 acl_size = sizeof(struct cifs_acl); in parse_dacl()
410 static int set_chmod_dacl(struct cifs_acl *pndacl, struct cifs_sid *pownersid, in set_chmod_dacl()
414 struct cifs_acl *pnndacl; in set_chmod_dacl()
416 pnndacl = (struct cifs_acl *)((char *)pndacl + sizeof(struct cifs_acl)); in set_chmod_dacl()
425 pndacl->size = cpu_to_le16(size + sizeof(struct cifs_acl)); in set_chmod_dacl()
471 struct cifs_acl *dacl_ptr; /* no need for SACL ptr */ in parse_sec_desc()
483 dacl_ptr = (struct cifs_acl *)((char *)pntsd + dacloffset); in parse_sec_desc()
525 struct cifs_acl *dacl_ptr = NULL; /* no need for SACL ptr */ in build_sec_desc()
526 struct cifs_acl *ndacl_ptr = NULL; /* no need for SACL ptr */ in build_sec_desc()
[all …]
Dcifsacl.h58 struct cifs_acl { struct
Dcifssmb.c2715 struct cifs_posix_acl *cifs_acl = (struct cifs_posix_acl *)src; in cifs_copy_posix_acl() local
2718 if (le16_to_cpu(cifs_acl->version) != CIFS_ACL_VERSION) in cifs_copy_posix_acl()
2722 count = le16_to_cpu(cifs_acl->access_entry_count); in cifs_copy_posix_acl()
2723 pACE = &cifs_acl->ace_array[0]; in cifs_copy_posix_acl()
2733 count = le16_to_cpu(cifs_acl->access_entry_count); in cifs_copy_posix_acl()
2737 pACE = &cifs_acl->ace_array[count]; in cifs_copy_posix_acl()
2738 count = le16_to_cpu(cifs_acl->default_entry_count); in cifs_copy_posix_acl()
2785 struct cifs_posix_acl *cifs_acl = (struct cifs_posix_acl *)parm_data; in ACL_to_cifs_posix() local
2790 if ((buflen == 0) || (pACL == NULL) || (cifs_acl == NULL)) in ACL_to_cifs_posix()
2802 cifs_acl->version = cpu_to_le16(1); in ACL_to_cifs_posix()
[all …]
Dconnect.c81 bool cifs_acl:1; member
1282 vol->cifs_acl = 1; in cifs_parse_mount_options()
1284 vol->cifs_acl = 0; in cifs_parse_mount_options()
2165 if (pvolume_info->cifs_acl) in setup_cifs_sb()
2178 if ((pvolume_info->cifs_acl) && (pvolume_info->dynperm)) in setup_cifs_sb()