Lines Matching refs:SID
142 extern const SID *nullsid;
221 int ntfs_sid_to_mbs_size(const SID *sid) in ntfs_sid_to_mbs_size()
288 char *ntfs_sid_to_mbs(const SID *sid, char *sid_str, size_t sid_str_size) in ntfs_sid_to_mbs()
2074 const SID *usid; /* owner of file/directory */ in ntfs_get_perm()
2075 const SID *gsid; /* group of file/directory */ in ntfs_get_perm()
2099 gsid = (const SID*)& in ntfs_get_perm()
2112 usid = (const SID*)& in ntfs_get_perm()
2176 const SID *usid; /* owner of file/directory */ in ntfs_get_posix_acl()
2177 const SID *gsid; /* group of file/directory */ in ntfs_get_posix_acl()
2199 gsid = (const SID*)& in ntfs_get_posix_acl()
2204 usid = (const SID*)& in ntfs_get_posix_acl()
2307 const SID *usid; /* owner of file/directory */ in ntfs_get_perm()
2308 const SID *gsid; /* group of file/directory */ in ntfs_get_perm()
2331 gsid = (const SID*)& in ntfs_get_perm()
2340 usid = (const SID*)& in ntfs_get_perm()
2443 const SID *usid; /* owner of file/directory */ in ntfs_get_owner_mode()
2444 const SID *gsid; /* group of file/directory */ in ntfs_get_owner_mode()
2477 gsid = (const SID*)& in ntfs_get_owner_mode()
2482 usid = (const SID*)& in ntfs_get_owner_mode()
2562 const SID *usid; in inherit_posix()
2563 const SID *gsid; in inherit_posix()
2587 gsid = (const SID*)& in inherit_posix()
2596 usid = (const SID*)& in inherit_posix()
2657 const SID *usid; in ntfs_alloc_securid()
2658 const SID *gsid; in ntfs_alloc_securid()
2689 usid = ntfs_find_usid(scx->mapping[MAPUSERS],uid,(SID*)&defusid); in ntfs_alloc_securid()
2690 gsid = ntfs_find_gsid(scx->mapping[MAPGROUPS],gid,(SID*)&defgsid); in ntfs_alloc_securid()
2735 const SID *usid; in ntfs_set_inherited_posix()
2736 const SID *gsid; in ntfs_set_inherited_posix()
2746 usid = ntfs_find_usid(scx->mapping[MAPUSERS],uid,(SID*)&defusid); in ntfs_set_inherited_posix()
2747 gsid = ntfs_find_gsid(scx->mapping[MAPGROUPS],gid,(SID*)&defgsid); in ntfs_set_inherited_posix()
2800 const SID *usid; in ntfs_alloc_securid()
2801 const SID *gsid; in ntfs_alloc_securid()
2828 usid = ntfs_find_usid(scx->mapping[MAPUSERS],uid,(SID*)&defusid); in ntfs_alloc_securid()
2829 gsid = ntfs_find_gsid(scx->mapping[MAPGROUPS],gid,(SID*)&defgsid); in ntfs_alloc_securid()
2882 const SID *usid; in ntfs_set_owner_mode()
2883 const SID *gsid; in ntfs_set_owner_mode()
2933 usid = ntfs_find_usid(scx->mapping[MAPUSERS],uid,(SID*)&defusid); in ntfs_set_owner_mode()
2934 gsid = ntfs_find_gsid(scx->mapping[MAPGROUPS],gid,(SID*)&defgsid); in ntfs_set_owner_mode()
3011 const SID *usid; in ntfs_allowed_as_owner()
3042 usid = (const SID*)&oldattr in ntfs_allowed_as_owner()
3082 const SID *usid; in ntfs_set_posix_acl()
3083 const SID *gsid; in ntfs_set_posix_acl()
3122 usid = (const SID*)&oldattr[le32_to_cpu(phead->owner)]; in ntfs_set_posix_acl()
3124 gsid = (const SID*)&oldattr[le32_to_cpu(phead->group)]; in ntfs_set_posix_acl()
3257 const SID *usid; in ntfs_set_mode()
3258 const SID *gsid; in ntfs_set_mode()
3299 usid = (const SID*)&oldattr[le32_to_cpu(phead->owner)]; in ntfs_set_mode()
3301 gsid = (const SID*)&oldattr[le32_to_cpu(phead->group)]; in ntfs_set_mode()
3368 SID *sid; in ntfs_sd_add_everyone()
3377 sd_len = sizeof(SECURITY_DESCRIPTOR_ATTR) + 2 * (sizeof(SID) + 4) + in ntfs_sd_add_everyone()
3386 sid = (SID*)((u8*)sd + sizeof(SECURITY_DESCRIPTOR_ATTR)); in ntfs_sd_add_everyone()
3394 sid = (SID*)((u8*)sid + sizeof(SID) + 4); in ntfs_sd_add_everyone()
3402 acl = (ACL*)((u8*)sid + sizeof(SID) + 4); in ntfs_sd_add_everyone()
3634 const SID *usid; in ntfs_set_owner()
3635 const SID *gsid; in ntfs_set_owner()
3670 gsid = (const SID*) in ntfs_set_owner()
3675 usid = (const SID*) in ntfs_set_owner()
3762 const SID *usid; in ntfs_set_ownmod()
3763 const SID *gsid; in ntfs_set_ownmod()
3802 gsid = (const SID*) in ntfs_set_ownmod()
3807 usid = (const SID*) in ntfs_set_ownmod()
3871 const SID *usid; in build_inherited_id()
3872 const SID *gsid; in build_inherited_id()
3891 usid = ntfs_find_usid(scx->mapping[MAPUSERS], scx->uid, (SID*)&defusid); in build_inherited_id()
3892 gsid = ntfs_find_gsid(scx->mapping[MAPGROUPS], scx->gid, (SID*)&defgsid); in build_inherited_id()
3926 usid = (const SID*)&parentattr[offowner]; in build_inherited_id()
3933 gsid = (const SID*)&parentattr[offgroup]; in build_inherited_id()
4170 uid_t uid, gid_t gid, const SID *usid) in ntfs_do_default_mapping()
4174 SID *sid; in ntfs_do_default_mapping()
4180 sid = (SID*)ntfs_malloc(sidsz); in ntfs_do_default_mapping()
4253 const SID *usid;
4262 usid = (SID*)&securattr[le32_to_cpu(phead->owner)];
4374 0, 0, (const SID*)&defmap)) in ntfs_build_mapping()
4566 const SID *pusid; in feedsecurityattr()
4567 const SID *pgsid; in feedsecurityattr()
4601 pusid = (const SID*)&attr[offowner]; in feedsecurityattr()
4612 pgsid = (const SID*)&attr[offgroup]; in feedsecurityattr()
4719 const SID *powner; in mergesecurityattr()
4720 const SID *pgroup; in mergesecurityattr()
4815 powner = (const SID*)&newattr[offowner]; in mergesecurityattr()
4818 powner = (const SID*)&oldattr[offowner]; in mergesecurityattr()
4838 pgroup = (const SID*)&newattr[offgroup]; in mergesecurityattr()
4843 pgroup = (const SID*)&oldattr[offgroup]; in mergesecurityattr()
5228 const SID *usid; in ntfs_get_usid()
5234 usid = ntfs_find_usid(scapi->security.mapping[MAPUSERS], uid, (SID*)&defusid); in ntfs_get_usid()
5254 const SID *gsid; in ntfs_get_gsid()
5260 gsid = ntfs_find_gsid(scapi->security.mapping[MAPGROUPS], gid, (SID*)&defgsid); in ntfs_get_gsid()
5277 int ntfs_get_user(struct SECURITY_API *scapi, const SID *usid) in ntfs_get_user()
5303 int ntfs_get_group(struct SECURITY_API *scapi, const SID *gsid) in ntfs_get_group()