/illumos-gate/usr/src/uts/common/io/ib/mgt/ibmf/ |
H A D | ibmf_recv.c | 441 ib_gid_t gid; local 478 gid.gid_prefix = b2h64(ib_grh->SGID.gid_prefix); 479 gid.gid_guid = b2h64(ib_grh->SGID.gid_guid); 508 mad_hdr->MgmtClass, mad_hdr->R_Method, lid, &gid, grhpresent, 518 mad_hdr->R_Method, lid, &gid, grhpresent, rmpp_hdr,
|
/illumos-gate/usr/src/uts/common/sys/ib/ |
H A D | ib_types.h | 74 ib_ucast_gid_t ucast_gid; /* unicast gid */ 75 ib_mcast_gid_t mcast_gid; /* multicast gid */ 76 } gid; member in struct:ib_gid_s 79 #define gid_prefix gid.ucast_gid.ugid_prefix 80 #define gid_guid gid.ucast_gid.ugid_guid 82 #define mgid_prefix gid.mcast_gid.mcast_gid_prefix 83 #define mgid_bytes gid.mcast_gid.mcast_gid_bytes
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | ipc_impl.h | 59 gid32_t gid; /* owner's group id */ member in struct:ipc_perm32
|
H A D | stropts.h | 400 o_gid_t gid; member in struct:o_strrecvfd 411 gid_t gid; member in struct:k_strrecvfd 429 gid_t gid; member in struct:strrecvfd
|
/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_acl.c | 469 * Batch all the uid/gid in given ZFS ACL to get their corresponding SIDs. 735 gid_t gid; local 742 gid = group_sid->ks_id; 777 smb_ace_inherit(dir_zace, new_zace, is_dir, uid, gid); 799 uid, gid); 820 smb_ace_inherit(dir_zace, new_zace, is_dir, uid, gid); 1190 smb_ace_inherit(ace_t *dir_zace, ace_t *zace, int is_dir, uid_t uid, gid_t gid) argument 1214 zace->a_who = gid;
|
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/ |
H A D | smb_domain.c | 387 gid_t gid; local 398 gid = (grp == NULL) ? 3 : grp->gr_gid; 402 (void) fchown(fileno(fp), uid, gid); local
|
/illumos-gate/usr/src/lib/librestart/common/ |
H A D | librestart.h | 274 gid_t gid, egid; member in struct:method_context
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/mech/ |
H A D | init_sec_context.c | 1090 safechown(const char *src, uid_t uid, gid_t gid, int mode); 1586 gid_t gid = getgid(); local 1641 code = safechown(ccache_name_buf, uid, gid, -1);
|
/illumos-gate/usr/src/lib/libsec/common/ |
H A D | acltext.c | 105 prgname(gid_t gid, char *gidp, size_t buflen, int noresolve) argument 110 groupp = getgrgid(gid); 112 /* could not get group information: display gid instead */ 113 (void) snprintf(gidp, buflen, "%u", gid); 713 * entry_type:uid^gid^name:perms[:id] 718 * The max length of a uid^gid^name entry (in theory) is 8, hence we use, 854 * entry_type:uid^gid^name:perms[:flags]:<allow|deny>[:id][,] 858 * The max length of a uid^gid^name entry (in theory) is 8,
|
/illumos-gate/usr/src/lib/libsmbfs/smb/ |
H A D | ctx.c | 872 smb_parse_owner(char *pair, uid_t *uid, gid_t *gid) argument 882 if (*cp && gid) { 884 *gid = gr.gr_gid;
|
/illumos-gate/usr/src/lib/libdevinfo/ |
H A D | devinfo_devperm.c | 87 setdevaccess(char *dev, uid_t uid, gid_t gid, mode_t mode, argument 94 if (chown(dev, uid, gid) == -1) { 106 if (chown(dev, uid, gid) == -1) { 122 err = acl_strip(dev, uid, gid, mode); 160 logindevperm(const char *ttyn, uid_t uid, gid_t gid, void (*errmsg)(char *)) argument 256 } else if (dir_dev_acc("/", &device[1], uid, gid, mode, 429 dir_dev_acc(char *path, char *left_to_do, uid_t uid, gid_t gid, mode_t mode, argument 486 uid, gid, mode, errmsg)) { 553 uid, gid, mode, line, errmsg)) { 574 di_devperm_login(const char *ttyn, uid_t uid, gid_t gid, argument [all...] |
/illumos-gate/usr/src/grub/grub-0.97/stage2/ |
H A D | iso9660.h | 175 iso_32bit_t gid; member in struct:rock_ridge::__anon2191::PX
|
/illumos-gate/usr/src/cmd/nscd/ |
H A D | nscd_selfcred.c | 804 /* set the uid/gid as assigned by the main nscd */ 806 set2gid = f->gid; 898 gid_t gid) 913 "(uid = %d, gid = %d)\n", doorfd, cslot, uid, gid); 917 f.gid = gid; 975 /* get door client's effective uid and effective gid */ 982 (me, "child uid = %d, gid = %d\n", set2uid, set2gid); 1017 (me, "waiting for door (slot = %d, uid = %d, gid 893 selfcred_fork( void *buf, int doorfd, int cslot, uid_t uid, gid_t gid) argument [all...] |
/illumos-gate/usr/src/cmd/cpio/ |
H A D | cpio.h | 251 char gid[8]; member in struct:b_block::bar_header 279 gid_t st_gid; /* actual gid */
|
/illumos-gate/usr/src/cmd/sgs/ar/common/ |
H A D | file.c | 726 const char *name, time_t timestamp, uid_t uid, gid_t gid, mode_t mode, 733 EC_WORD(timestamp), EC_WORD(uid), EC_WORD(gid), EC_WORD(mode), 725 write_member_header(const char *filename, int fd, int is_elf, const char *name, time_t timestamp, uid_t uid, gid_t gid, mode_t mode, size_t size) argument
|
/illumos-gate/usr/src/cmd/allocate/ |
H A D | allocate3.c | 701 gid_t gid = getgid(); local 709 if ((error = _newdac(*file, uid, gid, mode)) != 0) { 722 if ((error = _newdac(zpath->path[i], uid, gid,
|
/illumos-gate/usr/src/cmd/fs.d/ufs/ff/ |
H A D | ff.c | 78 gid_t gid; member in struct:ilist 436 ilist[i].gid = ip->di_gid; 446 ilist[nxfile++].gid = ip->di_gid; 515 (void) printf("mode %-6o uid %-5ld gid %-5ld ino ", 516 ilist[k].mode, ilist[k].uid, ilist[k].gid);
|
/illumos-gate/usr/src/cmd/su/ |
H A D | su.c | 183 gid_t gid; local 426 gid = pwd.pw_gid; 437 if (setgid(gid) == -1) { 444 if (initgroups(nptr, gid) == -1) { 808 /* since proc uid/gid not yet updated */
|
/illumos-gate/usr/src/cmd/tip/ |
H A D | tip.h | 251 int gid, egid; /* real and effective group id's */ variable
|
/illumos-gate/usr/src/ucbcmd/ls/ |
H A D | ls.c | 779 int val; /* the uid or gid of this entry */ 828 getgroup(gid_t gid) argument 833 c = findincache(&groups, gid); 835 if ((gr = getgrgid(gid)) != NULL) { 838 (void) sprintf(&c->name[0], "%-8lu ", gid);
|
/illumos-gate/usr/src/uts/common/io/ib/adapters/hermon/ |
H A D | hermon_misc.c | 65 static int hermon_mgid_is_valid(ib_gid_t gid); 720 hermon_mcg_attach(hermon_state_t *state, hermon_qphdl_t qp, ib_gid_t gid, argument 753 if (hermon_mgid_is_valid(gid) == 0) { 765 status = hermon_mgid_hash_cmd_post(state, gid.gid_prefix, gid.gid_guid, 802 end_indx = hermon_mcg_walk_mgid_hash(state, mgid_hash, gid, NULL); 813 hermon_mcg_setup_new_hdr(mcg, mcg_entry, gid, NULL); 895 if ((mcg->mcg_mgid_h == gid.gid_prefix) && 896 (mcg->mcg_mgid_l == gid.gid_guid)) { 1014 hermon_mcg_setup_new_hdr(newmcg, mcg_entry, gid, rsr 1143 hermon_mcg_detach(hermon_state_t *state, hermon_qphdl_t qp, ib_gid_t gid, ib_lid_t lid) argument 1730 hermon_mgid_is_valid(ib_gid_t gid) argument [all...] |
/illumos-gate/usr/src/uts/common/sys/fs/ |
H A D | hsfs_node.h | 50 gid_t gid; /* owner's group id */ member in struct:hs_direntry 139 gid_t vol_gid; /* gid of volume */
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | privlib.c | 478 __init_daemon_priv(int flags, uid_t uid, gid_t gid, ...) argument 489 va_start(pa, gid); 510 if (gid != (gid_t)-1 && setgid(gid) != 0)
|
/illumos-gate/usr/src/lib/libidmap/common/ |
H A D | idmap_api.c | 1056 * gid - POSIX GID if stat = 0 1062 int flag, gid_t *gid, idmap_stat *stat) 1064 return (idmap_getext_gidbysid(gh, sidprefix, rid, flag, gid, 1079 * gid - POSIX GID if stat = 0 1086 int flag, gid_t *gid, idmap_info *info, idmap_stat *stat) 1095 if (gid == NULL || sidprefix == NULL) 1100 retcode = idmap_cache_lookup_gidbysid(sidprefix, rid, gid); 1124 gh->retlist[gh->next].gid = gid; 1225 gh->retlist[gh->next].gid 1061 idmap_get_gidbysid(idmap_get_handle_t *gh, char *sidprefix, idmap_rid_t rid, int flag, gid_t *gid, idmap_stat *stat) argument 1085 idmap_getext_gidbysid(idmap_get_handle_t *gh, char *sidprefix, idmap_rid_t rid, int flag, gid_t *gid, idmap_info *info, idmap_stat *stat) argument 1348 idmap_get_sidbygid(idmap_get_handle_t *gh, gid_t gid, int flag, char **sidprefix, idmap_rid_t *rid, idmap_stat *stat) argument 1372 idmap_getext_sidbygid(idmap_get_handle_t *gh, gid_t gid, int flag, char **sidprefix, idmap_rid_t *rid, idmap_info *info, idmap_stat *stat) argument 2142 idmap_getgidbywinname(const char *name, const char *domain, int flag, gid_t *gid) argument 2262 idmap_getwinnamebygid(gid_t gid, int flag, char **name, char **domain) argument [all...] |
/illumos-gate/usr/src/cmd/mv/ |
H A D | mv.c | 1395 chg_mode(char *target, uid_t uid, gid_t gid, mode_t mode) argument 1404 if (chown(target, uid, gid) != 0) {
|