Home
last modified time | relevance | path

Searched refs:sid_prefix (Results 1 – 9 of 9) sorted by relevance

/titanic_41/usr/src/uts/common/idmap/
H A Didmap_kapi.c71 const char **sid_prefix; member
425 kidmap_getuidbysid(zone_t *zone, const char *sid_prefix, uint32_t rid, in kidmap_getuidbysid() argument
436 if (sid_prefix == NULL || uid == NULL) in kidmap_getuidbysid()
441 if (kidmap_cache_lookup_uidbysid(&zs->cache, sid_prefix, rid, uid) in kidmap_getuidbysid()
447 mapping.id1.idmap_id_u.sid.prefix = (char *)sid_prefix; in kidmap_getuidbysid()
469 sid_prefix); in kidmap_getuidbysid()
502 kidmap_getgidbysid(zone_t *zone, const char *sid_prefix, uint32_t rid, in kidmap_getgidbysid() argument
513 if (sid_prefix == NULL || gid == NULL) in kidmap_getgidbysid()
518 if (kidmap_cache_lookup_gidbysid(&zs->cache, sid_prefix, rid, gid) in kidmap_getgidbysid()
524 mapping.id1.idmap_id_u.sid.prefix = (char *)sid_prefix; in kidmap_getgidbysid()
[all …]
H A Didmap_cache.c97 const char *sid_prefix; member
140 comp = strcmp(entry2->sid_prefix, entry1->sid_prefix); in kidmap_compare_sid()
168 comp = strcmp(entry2->sid_prefix, entry1->sid_prefix); in kidmap_compare_sid_prefix()
320 kidmap_cache_lookup_uidbysid(idmap_cache_t *cache, const char *sid_prefix, in kidmap_cache_lookup_uidbysid() argument
329 entry.sid_prefix = sid_prefix; in kidmap_cache_lookup_uidbysid()
350 kidmap_cache_lookup_gidbysid(idmap_cache_t *cache, const char *sid_prefix, in kidmap_cache_lookup_gidbysid() argument
359 entry.sid_prefix = sid_prefix; in kidmap_cache_lookup_gidbysid()
380 kidmap_cache_lookup_pidbysid(idmap_cache_t *cache, const char *sid_prefix, in kidmap_cache_lookup_pidbysid() argument
389 entry.sid_prefix = sid_prefix; in kidmap_cache_lookup_pidbysid()
418 kidmap_cache_lookup_sidbyuid(idmap_cache_t *cache, const char **sid_prefix, in kidmap_cache_lookup_sidbyuid() argument
[all …]
H A Dkidmap_priv.h45 const char *sid_prefix; member
59 const char *sid_prefix; member
110 kidmap_cache_lookup_uidbysid(idmap_cache_t *cache, const char *sid_prefix,
114 kidmap_cache_lookup_gidbysid(idmap_cache_t *cache, const char *sid_prefix,
118 kidmap_cache_lookup_pidbysid(idmap_cache_t *cache, const char *sid_prefix,
122 kidmap_cache_lookup_sidbyuid(idmap_cache_t *cache, const char **sid_prefix,
126 kidmap_cache_lookup_sidbygid(idmap_cache_t *cache, const char **sid_prefix,
131 kidmap_cache_add_sid2uid(idmap_cache_t *cache, const char *sid_prefix,
135 kidmap_cache_add_sid2gid(idmap_cache_t *cache, const char *sid_prefix,
139 kidmap_cache_add_sid2pid(idmap_cache_t *cache, const char *sid_prefix,
[all …]
/titanic_41/usr/src/lib/smbsrv/libfksmbsrv/common/sys/
H A Dkidmap.h84 kidmap_getuidbysid(zone_t *zone, const char *sid_prefix, uint32_t rid,
88 kidmap_getgidbysid(zone_t *zone, const char *sid_prefix, uint32_t rid,
92 kidmap_getpidbysid(zone_t *zone, const char *sid_prefix, uint32_t rid,
96 kidmap_getsidbyuid(zone_t *zone, uid_t uid, const char **sid_prefix,
100 kidmap_getsidbygid(zone_t *zone, gid_t gid, const char **sid_prefix,
121 const char *sid_prefix, uint32_t rid,
126 const char *sid_prefix, uint32_t rid,
131 const char *sid_prefix, uint32_t rid,
136 const char **sid_prefix, uint32_t *rid, idmap_stat *stat);
140 const char **sid_prefix, uint32_t *rid, idmap_stat *stat);
/titanic_41/usr/src/uts/common/sys/
H A Dkidmap.h71 kidmap_getuidbysid(zone_t *zone, const char *sid_prefix, uint32_t rid,
75 kidmap_getgidbysid(zone_t *zone, const char *sid_prefix, uint32_t rid,
79 kidmap_getpidbysid(zone_t *zone, const char *sid_prefix, uint32_t rid,
83 kidmap_getsidbyuid(zone_t *zone, uid_t uid, const char **sid_prefix,
87 kidmap_getsidbygid(zone_t *zone, gid_t gid, const char **sid_prefix,
108 const char *sid_prefix, uint32_t rid,
113 const char *sid_prefix, uint32_t rid,
118 const char *sid_prefix, uint32_t rid,
123 const char **sid_prefix, uint32_t *rid, idmap_stat *stat);
127 const char **sid_prefix, uint32_t *rid, idmap_stat *stat);
/titanic_41/usr/src/lib/libidmap/common/
H A Didmap_cache.h51 idmap_cache_lookup_uidbysid(const char *sid_prefix, idmap_rid_t rid,
55 idmap_cache_lookup_gidbysid(const char *sid_prefix, idmap_rid_t rid,
59 idmap_cache_lookup_pidbysid(const char *sid_prefix, idmap_rid_t rid,
63 idmap_cache_lookup_sidbyuid(char **sid_prefix, idmap_rid_t *rid,
67 idmap_cache_lookup_sidbygid(char **sid_prefix, idmap_rid_t *rid,
85 idmap_cache_add_sid2uid(const char *sid_prefix, idmap_rid_t rid, uid_t uid,
89 idmap_cache_add_sid2gid(const char *sid_prefix, idmap_rid_t rid, gid_t gid,
93 idmap_cache_add_sid2pid(const char *sid_prefix, idmap_rid_t rid, uid_t pid,
H A Didmap_cache.c94 const char *sid_prefix; member
109 const char *sid_prefix; member
201 comp = strcmp(entry2->sid_prefix, entry1->sid_prefix); in idmap_compare_sid()
355 free((char *)sid2uid_gid->sid_prefix); in idmap_cache_purge()
376 free((char *)uid2sid_winname->sid_prefix); in idmap_cache_purge()
401 free((char *)gid2sid_winname->sid_prefix); in idmap_cache_purge()
477 idmap_cache_lookup_uidbysid(const char *sid_prefix, in idmap_cache_lookup_uidbysid() argument
486 entry.sid_prefix = sid_prefix; in idmap_cache_lookup_uidbysid()
508 idmap_cache_lookup_gidbysid(const char *sid_prefix, in idmap_cache_lookup_gidbysid() argument
517 entry.sid_prefix = sid_prefix; in idmap_cache_lookup_gidbysid()
[all …]
/titanic_41/usr/src/uts/common/os/
H A Dsid.c196 const char *sid_prefix; in ksid_lookupbyuid() local
198 if (kidmap_getsidbyuid(zone, id, &sid_prefix, &res->ks_rid) in ksid_lookupbyuid()
202 res->ks_domain = ksid_lookupdomain(sid_prefix); in ksid_lookupbyuid()
212 const char *sid_prefix; in ksid_lookupbygid() local
214 if (kidmap_getsidbygid(zone, id, &sid_prefix, &res->ks_rid) in ksid_lookupbygid()
218 res->ks_domain = ksid_lookupdomain(sid_prefix); in ksid_lookupbygid()
/titanic_41/usr/src/common/smbclnt/
H A Dsmbfs_ntacl.c766 char *sid_prefix; in mkrq_idmap_sid2ux() local
772 sid_prefix = strbuf; in mkrq_idmap_sid2ux()
777 if (strcmp(sid_prefix, "S-1-1") == 0 && rid == 0) { in mkrq_idmap_sid2ux()
789 idms = I_getuidbysid(idmap_gh, sid_prefix, rid, in mkrq_idmap_sid2ux()
795 idms = I_getgidbysid(idmap_gh, sid_prefix, rid, in mkrq_idmap_sid2ux()
800 idms = I_getpidbysid(idmap_gh, sid_prefix, rid, in mkrq_idmap_sid2ux()
1161 smbfs_str2sid(const char *sid_prefix, uint32_t *ridp, i_ntsid_t **osidp) in smbfs_str2sid() argument
1173 if (sid_prefix == NULL) in smbfs_str2sid()
1176 p = sid_prefix; in smbfs_str2sid()