Lines Matching refs:SID

149 extern const SID *nullsid;
228 int ntfs_sid_to_mbs_size(const SID *sid) in ntfs_sid_to_mbs_size()
295 char *ntfs_sid_to_mbs(const SID *sid, char *sid_str, size_t sid_str_size) in ntfs_sid_to_mbs()
2088 const SID *usid; /* owner of file/directory */ in ntfs_get_perm()
2089 const SID *gsid; /* group of file/directory */ in ntfs_get_perm()
2113 gsid = (const SID*)& in ntfs_get_perm()
2126 usid = (const SID*)& in ntfs_get_perm()
2190 const SID *usid; /* owner of file/directory */ in ntfs_get_posix_acl()
2191 const SID *gsid; /* group of file/directory */ in ntfs_get_posix_acl()
2213 gsid = (const SID*)& in ntfs_get_posix_acl()
2218 usid = (const SID*)& in ntfs_get_posix_acl()
2321 const SID *usid; /* owner of file/directory */ in ntfs_get_perm()
2322 const SID *gsid; /* group of file/directory */ in ntfs_get_perm()
2345 gsid = (const SID*)& in ntfs_get_perm()
2354 usid = (const SID*)& in ntfs_get_perm()
2457 const SID *usid; /* owner of file/directory */ in ntfs_get_owner_mode()
2458 const SID *gsid; /* group of file/directory */ in ntfs_get_owner_mode()
2491 gsid = (const SID*)& in ntfs_get_owner_mode()
2496 usid = (const SID*)& in ntfs_get_owner_mode()
2576 const SID *usid; in inherit_posix()
2577 const SID *gsid; in inherit_posix()
2601 gsid = (const SID*)& in inherit_posix()
2610 usid = (const SID*)& in inherit_posix()
2671 const SID *usid; in ntfs_alloc_securid()
2672 const SID *gsid; in ntfs_alloc_securid()
2703 usid = ntfs_find_usid(scx->mapping[MAPUSERS],uid,(SID*)&defusid); in ntfs_alloc_securid()
2704 gsid = ntfs_find_gsid(scx->mapping[MAPGROUPS],gid,(SID*)&defgsid); in ntfs_alloc_securid()
2749 const SID *usid; in ntfs_set_inherited_posix()
2750 const SID *gsid; in ntfs_set_inherited_posix()
2760 usid = ntfs_find_usid(scx->mapping[MAPUSERS],uid,(SID*)&defusid); in ntfs_set_inherited_posix()
2761 gsid = ntfs_find_gsid(scx->mapping[MAPGROUPS],gid,(SID*)&defgsid); in ntfs_set_inherited_posix()
2814 const SID *usid; in ntfs_alloc_securid()
2815 const SID *gsid; in ntfs_alloc_securid()
2842 usid = ntfs_find_usid(scx->mapping[MAPUSERS],uid,(SID*)&defusid); in ntfs_alloc_securid()
2843 gsid = ntfs_find_gsid(scx->mapping[MAPGROUPS],gid,(SID*)&defgsid); in ntfs_alloc_securid()
2896 const SID *usid; in ntfs_set_owner_mode()
2897 const SID *gsid; in ntfs_set_owner_mode()
2947 usid = ntfs_find_usid(scx->mapping[MAPUSERS],uid,(SID*)&defusid); in ntfs_set_owner_mode()
2948 gsid = ntfs_find_gsid(scx->mapping[MAPGROUPS],gid,(SID*)&defgsid); in ntfs_set_owner_mode()
3025 const SID *usid; in ntfs_allowed_as_owner()
3056 usid = (const SID*)&oldattr in ntfs_allowed_as_owner()
3096 const SID *usid; in ntfs_set_posix_acl()
3097 const SID *gsid; in ntfs_set_posix_acl()
3136 usid = (const SID*)&oldattr[le32_to_cpu(phead->owner)]; in ntfs_set_posix_acl()
3138 gsid = (const SID*)&oldattr[le32_to_cpu(phead->group)]; in ntfs_set_posix_acl()
3271 const SID *usid; in ntfs_set_mode()
3272 const SID *gsid; in ntfs_set_mode()
3313 usid = (const SID*)&oldattr[le32_to_cpu(phead->owner)]; in ntfs_set_mode()
3315 gsid = (const SID*)&oldattr[le32_to_cpu(phead->group)]; in ntfs_set_mode()
3382 SID *sid; in ntfs_sd_add_everyone()
3391 sd_len = sizeof(SECURITY_DESCRIPTOR_ATTR) + 2 * (sizeof(SID) + 4) + in ntfs_sd_add_everyone()
3400 sid = (SID*)((u8*)sd + sizeof(SECURITY_DESCRIPTOR_ATTR)); in ntfs_sd_add_everyone()
3408 sid = (SID*)((u8*)sid + sizeof(SID) + 4); in ntfs_sd_add_everyone()
3416 acl = (ACL*)((u8*)sid + sizeof(SID) + 4); in ntfs_sd_add_everyone()
3648 const SID *usid; in ntfs_set_owner()
3649 const SID *gsid; in ntfs_set_owner()
3684 gsid = (const SID*) in ntfs_set_owner()
3689 usid = (const SID*) in ntfs_set_owner()
3776 const SID *usid; in ntfs_set_ownmod()
3777 const SID *gsid; in ntfs_set_ownmod()
3816 gsid = (const SID*) in ntfs_set_ownmod()
3821 usid = (const SID*) in ntfs_set_ownmod()
3885 const SID *usid; in build_inherited_id()
3886 const SID *gsid; in build_inherited_id()
3905 usid = ntfs_find_usid(scx->mapping[MAPUSERS], scx->uid, (SID*)&defusid); in build_inherited_id()
3906 gsid = ntfs_find_gsid(scx->mapping[MAPGROUPS], scx->gid, (SID*)&defgsid); in build_inherited_id()
3940 usid = (const SID*)&parentattr[offowner]; in build_inherited_id()
3947 gsid = (const SID*)&parentattr[offgroup]; in build_inherited_id()
4184 uid_t uid, gid_t gid, const SID *usid) in ntfs_do_default_mapping()
4188 SID *sid; in ntfs_do_default_mapping()
4194 sid = (SID*)ntfs_malloc(sidsz); in ntfs_do_default_mapping()
4267 const SID *usid;
4276 usid = (SID*)&securattr[le32_to_cpu(phead->owner)];
4388 0, 0, (const SID*)&defmap)) in ntfs_build_mapping()
4580 const SID *pusid; in feedsecurityattr()
4581 const SID *pgsid; in feedsecurityattr()
4615 pusid = (const SID*)&attr[offowner]; in feedsecurityattr()
4626 pgsid = (const SID*)&attr[offgroup]; in feedsecurityattr()
4733 const SID *powner; in mergesecurityattr()
4734 const SID *pgroup; in mergesecurityattr()
4829 powner = (const SID*)&newattr[offowner]; in mergesecurityattr()
4832 powner = (const SID*)&oldattr[offowner]; in mergesecurityattr()
4852 pgroup = (const SID*)&newattr[offgroup]; in mergesecurityattr()
4857 pgroup = (const SID*)&oldattr[offgroup]; in mergesecurityattr()
5242 const SID *usid; in ntfs_get_usid()
5248 usid = ntfs_find_usid(scapi->security.mapping[MAPUSERS], uid, (SID*)&defusid); in ntfs_get_usid()
5268 const SID *gsid; in ntfs_get_gsid()
5274 gsid = ntfs_find_gsid(scapi->security.mapping[MAPGROUPS], gid, (SID*)&defgsid); in ntfs_get_gsid()
5291 int ntfs_get_user(struct SECURITY_API *scapi, const SID *usid) in ntfs_get_user()
5317 int ntfs_get_group(struct SECURITY_API *scapi, const SID *gsid) in ntfs_get_group()