Lines Matching defs:pid

1304 	if (wksid->pid == IDMAP_SENTINEL_PID) {
1313 res->id.idmap_id_u.uid = wksid->pid;
1316 res->id.idmap_id_u.gid = wksid->pid;
1508 uid_t pid;
1541 sql = sqlite_mprintf("SELECT pid, is_user, expiration, "
1547 "(pid >= 2147483648 OR "
1555 sql = sqlite_mprintf("SELECT pid, is_user, expiration, "
1561 "(pid >= 2147483648 OR "
1590 pid = strtoul(values[0], &end, 10);
1595 res->id.idmap_id_u.uid = pid;
1598 res->id.idmap_id_u.gid = pid;
1607 * ephemeral pid in the result so that we can use it
1612 IDMAP_ID_IS_EPHEMERAL(pid) && values[2] != NULL) {
1615 /* Store the ephemeral pid */
1973 posix_id_t *pid = NULL;
2012 pid = &req->id2.idmap_id_u.uid;
2035 pid,
2050 pid,
2331 * If AD lookup by unixname or pid
2749 * If we are done and there was an error then set fallback pid
2877 * Name service lookup by unixname to get pid
2930 * Name service lookup by pid to get unixname
2934 ns_lookup_bypid(uid_t pid, int is_user, char **unixname)
2947 if (getpwuid_r(pid, &pwd, buf, pwdbufsiz) == NULL) {
2959 if (getgrgid_r(pid, &grp, buf, grpbufsiz) == NULL) {
3282 uid_t *pid)
3296 *pid = state->result->ids.ids_val[key].id.
3665 * the same pid to be the destination in multiple entries
3668 "(sidprefix, rid, windomain, canon_winname, pid, unixname, "
3761 "pid >= 2147483648 AND is_user = %d;",
3817 "(sidprefix, rid, windomain, canon_winname, pid, unixname, "
3899 /* SQL to lookup the cache by pid or by unixname */
3906 "pid = %u AND u2w = 1 AND is_user = %d AND "
3907 "(pid >= 2147483648 OR "
3918 "(pid >= 2147483648 OR "
4666 /* Find pid */
4734 /* Get unixname if only pid is given. */
4751 * unixname/pid to get the corresponding winname.
4846 /* Get pid from name service */