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)
116 static void smb_copy_sid(struct smb_sid *dst, const struct smb_sid *src)
194 const struct smb_sid *psid, int type, int flags,
221 void id_to_sid(unsigned int cid, uint sidtype, struct smb_sid *ssid)
258 struct smb_sid *psid, uint sidtype,
367 struct smb_sid *pownersid, struct smb_sid *pgrpsid,
432 offsetof(struct smb_sid, sub_auth);
587 struct smb_sid *sid;
598 sid = kmalloc(sizeof(struct smb_sid), GFP_KERNEL);
665 sid = kmalloc(sizeof(struct smb_sid), GFP_KERNEL);
699 const struct smb_sid *pownersid,
700 const struct smb_sid *pgrpsid,
742 const struct smb_sid *sid;
799 static int parse_sid(struct smb_sid *psid, char *end_of_acl)
818 struct smb_sid *owner_sid_ptr, *group_sid_ptr;
830 owner_sid_ptr = (struct smb_sid *)((char *)pntsd +
832 group_sid_ptr = (struct smb_sid *)((char *)pntsd +
902 struct smb_sid *owner_sid_ptr, *group_sid_ptr;
903 struct smb_sid *nowner_sid_ptr, *ngroup_sid_ptr;
909 nowner_sid_ptr = kmalloc(sizeof(struct smb_sid), GFP_KERNEL);
918 ngroup_sid_ptr = kmalloc(sizeof(struct smb_sid), GFP_KERNEL);
936 owner_sid_ptr = (struct smb_sid *)((char *)pntsd + offset);
943 group_sid_ptr = (struct smb_sid *)((char *)pntsd + offset);
988 static void smb_set_ace(struct smb_ace *ace, const struct smb_sid *sid, u8 type,
1002 const struct smb_sid *psid, *creator = NULL;
1006 struct smb_sid owner_sid, group_sid;
1111 struct smb_sid *powner_sid = NULL, *pgroup_sid = NULL;
1116 powner_sid = (struct smb_sid *)((char *)parent_pntsd +
1121 pgroup_sid = (struct smb_sid *)((char *)parent_pntsd +
1166 struct smb_sid *owner_sid = (struct smb_sid *)((char *)pntsd +
1173 struct smb_sid *group_sid = (struct smb_sid *)((char *)pntsd +
1223 struct smb_sid sid;
1457 memcpy(&server_conf.domain_sid, &domain, sizeof(struct smb_sid));