Searched refs:groupid (Results 1 - 11 of 11) sorted by relevance

/freebsd-11-stable/libexec/mknetid/
H A Dhash.h37 gid_t groupid; member in struct:grouplist
H A Dmknetid.c231 if (glist->groupid != i)
232 printf(",%lu", (u_long)glist->groupid);
H A Dhash.c143 tmp->groupid = gid;
/freebsd-11-stable/contrib/apr/user/unix/
H A Dgroupinfo.c33 APR_DECLARE(apr_status_t) apr_gid_name_get(char **groupname, apr_gid_t groupid,
44 rv = getgrgid_r(groupid, &grp, grbuf, sizeof(grbuf), &gr);
53 if ((gr = getgrgid(groupid)) == NULL) {
61 APR_DECLARE(apr_status_t) apr_gid_get(apr_gid_t *groupid,
85 *groupid = gr->gr_gid;
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/scripting/
H A Dtst.egid.ksh78 #Get the groupid of the calling process using ps
80 groupid=`ps -x -o pid,egid | grep "$$ " | awk '{print $2}' 2>/dev/null`
86 #Pass groupid as argument to .d file
87 $dfilename $groupid >/dev/null 2>&1
H A Dtst.gid.ksh72 groupid=`ps -x -o pid,gid | grep "$$ " | awk '{print $2}' 2>/dev/null`
78 $dfilename $groupid >/dev/null 2>&1
/freebsd-11-stable/contrib/apr/include/
H A Dapr_user.h60 * Get the userid (and groupid) of the calling process
62 * @param groupid Returns the user's group id
67 apr_gid_t *groupid,
81 * Get the userid (and groupid) for the specified username
83 * @param groupid Returns the user's group id
88 APR_DECLARE(apr_status_t) apr_uid_get(apr_uid_t *userid, apr_gid_t *groupid,
117 * Get the group name for a specified groupid
119 * @param groupid The groupid
124 apr_gid_t groupid, apr_pool_
[all...]
/freebsd-11-stable/contrib/amd/hlfsd/
H A Dstubs.c303 gid_t groupid = hlfs_gid + 1; /* anything not hlfs_gid */ local
312 if (getcreds(rqstp, &userid, &groupid, nfsxprt) < 0)
318 if (groupid == hlfs_gid) {
320 } else if (!(res.rlr_u.rlr_data_u = path_val = homedir(userid, groupid))) {
331 if (getcreds(rqstp, &userid, &groupid, nfsxprt) < 0) {
335 if (groupid == hlfs_gid) {
348 (long) userid, (long) groupid, (char *) res.rlr_u.rlr_data_u);
H A Dhomedir.c79 homedir(int userid, int groupid) argument
173 if ((old_groupid = setgid(groupid)) < 0) {
174 plog(XLOG_WARNING, "could not setgid to %d: %m", groupid);
/freebsd-11-stable/usr.sbin/pw/
H A Dpw_user.c1191 char *gecos, *homedir, *skel, *walk, *userid, *groupid, *grname; local
1204 gecos = homedir = skel = userid = groupid = default_passwd = NULL;
1287 groupid = optarg;
1353 if (groupid != NULL) {
1354 if ((p = strtok(groupid, ", \t")) != NULL)
/freebsd-11-stable/sys/dev/iwm/
H A Dif_iwmreg.h6010 iwm_cmd_id(uint8_t opcode, uint8_t groupid, uint8_t version) argument
6012 return opcode + (groupid << 8) + (version << 16);

Completed in 305 milliseconds