Lines Matching refs:smb_sid

20 static const struct smb_sid domain = {1, 4, {0, 0, 0, 0, 0, 5},
25 static const struct smb_sid creator_owner = {
28 static const struct smb_sid creator_group = {
32 static const struct smb_sid sid_everyone = {
35 static const struct smb_sid sid_authusers = {
39 static const struct smb_sid sid_unix_users = {1, 1, {0, 0, 0, 0, 0, 22},
43 static const struct smb_sid sid_unix_groups = { 1, 1, {0, 0, 0, 0, 0, 22},
53 static const struct smb_sid sid_unix_NFS_users = { 1, 2, {0, 0, 0, 0, 0, 5},
58 static const struct smb_sid sid_unix_NFS_groups = { 1, 2, {0, 0, 0, 0, 0, 5},
63 static const struct smb_sid sid_unix_NFS_mode = { 1, 2, {0, 0, 0, 0, 0, 5},
71 int compare_sids(const struct smb_sid *ctsid, const struct smb_sid *cwsid) in compare_sids()
116 static void smb_copy_sid(struct smb_sid *dst, const struct smb_sid *src) in smb_copy_sid()
194 const struct smb_sid *psid, int type, int flags, in fill_ace_for_sid()
221 void id_to_sid(unsigned int cid, uint sidtype, struct smb_sid *ssid) in id_to_sid()
258 struct smb_sid *psid, uint sidtype, in sid_to_id()
367 struct smb_sid *pownersid, struct smb_sid *pgrpsid, in parse_dacl()
429 offsetof(struct smb_sid, sub_auth); in parse_dacl()
584 struct smb_sid *sid; in set_posix_acl_entries_dacl()
595 sid = kmalloc(sizeof(struct smb_sid), GFP_KERNEL); in set_posix_acl_entries_dacl()
662 sid = kmalloc(sizeof(struct smb_sid), GFP_KERNEL); in set_posix_acl_entries_dacl()
696 const struct smb_sid *pownersid, in set_ntacl_dacl()
697 const struct smb_sid *pgrpsid, in set_ntacl_dacl()
739 const struct smb_sid *sid; in set_mode_dacl()
796 static int parse_sid(struct smb_sid *psid, char *end_of_acl) in parse_sid()
815 struct smb_sid *owner_sid_ptr, *group_sid_ptr; in parse_sec_desc()
827 owner_sid_ptr = (struct smb_sid *)((char *)pntsd + in parse_sec_desc()
829 group_sid_ptr = (struct smb_sid *)((char *)pntsd + in parse_sec_desc()
899 struct smb_sid *owner_sid_ptr, *group_sid_ptr; in build_sec_desc()
900 struct smb_sid *nowner_sid_ptr, *ngroup_sid_ptr; in build_sec_desc()
906 nowner_sid_ptr = kmalloc(sizeof(struct smb_sid), GFP_KERNEL); in build_sec_desc()
915 ngroup_sid_ptr = kmalloc(sizeof(struct smb_sid), GFP_KERNEL); in build_sec_desc()
933 owner_sid_ptr = (struct smb_sid *)((char *)pntsd + offset); in build_sec_desc()
940 group_sid_ptr = (struct smb_sid *)((char *)pntsd + offset); in build_sec_desc()
985 static void smb_set_ace(struct smb_ace *ace, const struct smb_sid *sid, u8 type, in smb_set_ace()
999 const struct smb_sid *psid, *creator = NULL; in smb_inherit_dacl()
1003 struct smb_sid owner_sid, group_sid; in smb_inherit_dacl()
1108 struct smb_sid *powner_sid = NULL, *pgroup_sid = NULL; in smb_inherit_dacl()
1112 powner_sid = (struct smb_sid *)((char *)parent_pntsd + in smb_inherit_dacl()
1117 pgroup_sid = (struct smb_sid *)((char *)parent_pntsd + in smb_inherit_dacl()
1140 struct smb_sid *owner_sid = (struct smb_sid *)((char *)pntsd + in smb_inherit_dacl()
1147 struct smb_sid *group_sid = (struct smb_sid *)((char *)pntsd + in smb_inherit_dacl()
1198 struct smb_sid sid; in smb_check_perm_dacl()
1433 memcpy(&server_conf.domain_sid, &domain, sizeof(struct smb_sid)); in ksmbd_init_domain()