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

/freebsd-10.3-release/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-10.3-release/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-10.3-release/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-10.3-release/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 -o pid,pgid | 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 -o pid,gid | grep "$$ " | awk '{print $2}' 2>/dev/null`
78 $dfilename $groupid >/dev/null 2>&1
/freebsd-10.3-release/contrib/amd/hlfsd/
H A Dstubs.c308 gid_t groupid = hlfs_gid + 1; /* anything not hlfs_gid */ local
317 if (getcreds(rqstp, &userid, &groupid, nfsxprt) < 0)
323 if (groupid == hlfs_gid) {
325 } else if (!(res.rlr_u.rlr_data_u = path_val = homedir(userid, groupid))) {
336 if (getcreds(rqstp, &userid, &groupid, nfsxprt) < 0) {
340 if (groupid == hlfs_gid) {
354 (long) userid, (long) groupid, (char *) res.rlr_u.rlr_data_u);
H A Dhomedir.c83 homedir(int userid, int groupid) argument
176 if ((old_groupid = setgid(groupid)) < 0) {
177 plog(XLOG_WARNING, "could not setgid to %d: %m", groupid);
/freebsd-10.3-release/usr.sbin/pw/
H A Dpw_user.c1180 char *gecos, *homedir, *skel, *walk, *userid, *groupid, *grname; local
1193 gecos = homedir = skel = userid = groupid = default_passwd = NULL;
1269 groupid = optarg;
1335 if (groupid != NULL) {
1336 if ((p = strtok(groupid, ", \t")) != NULL)

Completed in 99 milliseconds