/illumos-gate/usr/src/uts/common/os/ |
H A D | procset.c | 783 uid_t uid; local 816 uid = crgetuid(pp->p_cred); 818 return (uid);
|
/illumos-gate/usr/src/uts/common/rpc/sec/ |
H A D | svcauthdes.c | 413 uid_t uid; /* cached uid */ member in struct:bsdcred 471 cred->uid = i_uid; 480 if (crsetugid(cr, cred->uid, cred->gid) != 0 ||
|
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/ |
H A D | smb_domain.c | 386 uid_t uid; local 397 uid = (pwd == NULL) ? 0 : pwd->pw_uid; 402 (void) fchown(fileno(fp), uid, gid); local
|
/illumos-gate/usr/src/uts/common/syscall/ |
H A D | utssys.c | 352 uid_t uid; local 366 uid = crgetruid(prp->p_cred); 606 fu_data->fud_user[pcnt].fu_uid = uid;
|
/illumos-gate/usr/src/cmd/passwd/ |
H A D | passwd.c | 176 static uid_t uid; variable 255 uid = getuid(); /* get the user id */ 277 struct passwd *pass = getpwuid(uid); 1198 if (uid != 0) { 1549 } else if (pass->pw_uid != uid) { 1551 event->adt_passwd.uid = pass->pw_uid;
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/rdist/ |
H A D | server.c | 349 log(lfp, "%s: no password entry for uid %d \n", 1168 uid_t uid, gid; local 1172 * by default, set uid of file to the uid of the person running 1175 uid = getuid(); 1185 uid = atoi(owner + 1); 1194 uid = pw->pw_uid; 1197 uid = pw->pw_uid; 1219 if (chown(file, uid, gid) < 0 ||
|
/illumos-gate/usr/src/lib/libast/common/misc/ |
H A D | fastfind.c | 176 int uid; local 204 uid = geteuid(); 233 if (!stat(fp->encode.file, &st) && st.st_uid == uid && (st.st_mode & S_IWUSR)) 244 else if (st.st_uid == uid && (st.st_mode & S_IWUSR)) 257 if (!stat(fp->encode.file, &st) && st.st_uid == uid && (st.st_mode & S_IWUSR)) 275 !stat(fp->encode.temp, &st) && st.st_uid == uid && (st.st_mode & S_IWUSR))
|
/illumos-gate/usr/src/cmd/ndmpd/tlm/ |
H A D | tlm_backup_reader.c | 303 NDMP_LOG(LOG_DEBUG, "xattr_hdr: %s size %d mode %06o uid %d gid %d", 359 uid_t uid; local 385 if ((ulong_t)(uid = attr->st_uid) > (ulong_t)OCTAL7CHAR) 386 uid = UID_NOBODY; 414 "%06o ", uid); 457 "%06o ", uid); 542 uid);
|
/illumos-gate/usr/src/lib/libresolv2/include/ |
H A D | port_after.h | 377 __posix_getpwuid_r(uid_t uid, struct passwd *pwptr, 383 getpwuid_r(uid_t uid, struct passwd *pwptr,
|
/illumos-gate/usr/src/lib/libsldap/common/ |
H A D | ns_reads.c | 1860 sortattr = "cn uid"; 2692 /* Try old "cn uid" server side sort */ 4133 __ns_ldap_uid2dn(const char *uid, argument 4148 if ((uid == NULL) || (uid[0] == '\0')) 4151 while (uid[i] != '\0') { 4152 if (uid[i] == '=') { 4153 *userDN = strdup(uid); 4159 while ((uid[i] != '\0') && (isdigit(uid[ [all...] |
/illumos-gate/usr/src/lib/libpkg/common/ |
H A D | pkglib.h | 485 extern struct passwd *cpwuid(uid_t uid); 489 extern struct passwd *clpwuid(uid_t uid);
|
/illumos-gate/usr/src/cmd/fs.d/autofs/ |
H A D | autod_xdr.c | 257 if (!xdr_u_int(xdrs, (uint_t *)&objp->uid)) 342 if (!xdr_u_int(xdrs, (uint_t *)&objp->uid))
|
H A D | ns_fnreaddir.c | 179 int *cache_time, uid_t uid) 195 init_ctx = _fn_ctx_handle_from_initial_with_uid(uid, 0, status); 178 getmapkeys_fn(const char *map, struct dir_entry **entries_p, int *error, int *cache_time, uid_t uid) argument
|
/illumos-gate/usr/src/cmd/hal/tools/ |
H A D | hal-storage-shared.c | 243 permission_denied_privilege (const char *privilege, const char *uid) argument 246 fprintf (stderr, "%s refused uid %s\n", privilege, uid); 292 printf ("invoked by uid = %s\n", invoked_by_uid); 368 printf (" uid = '%s'\n", line_elements[1]); 420 * We allow uid 0 to actually ensure that Unmount(options=["lazy"], "/dev/blah") works from addon-storage. 522 syslog (LOG_INFO, "unmounted %s from '%s' on behalf of uid %s", device, mount_point_to_unmount, invoked_by_uid); 556 printf ("invoked by uid = %s\n", invoked_by_uid);
|
/illumos-gate/usr/src/cmd/isns/isnsd/ |
H A D | sched.c | 427 ((ev_t *)ev)->uid, 615 ((ev_t *)p)->uid);
|
/illumos-gate/usr/src/uts/common/fs/autofs/ |
H A D | auto_xdr.c | 282 if (!xdr_u_int(xdrs, (uint_t *)&objp->uid)) 354 if (!xdr_u_int(xdrs, (uint_t *)&objp->uid))
|
/illumos-gate/usr/src/uts/common/rpcsvc/ |
H A D | idmap_prot.x | 187 case IDMAP_UID: uint32_t uid;
|
/illumos-gate/usr/src/cmd/lp/lib/papi/ |
H A D | lpsched-jobs.c | 130 uid_t uid = getuid(); local 136 if ((pw = getpwuid(uid)) != NULL)
|
/illumos-gate/usr/src/uts/i86pc/io/acpi_drv/ |
H A D | acpi_drv.c | 757 cmn_err(lev, "%s.%s: %s", devp->hid, devp->uid, 803 err = nvlist_add_string(attr_list, PWRCTL_DEV_UID, devp->uid); 846 ev, devp->hid, devp->uid, val); 1548 p->uid[0] = 0; 1550 (void) strlcpy(p->uid, info->UniqueId.String, ID_LEN); 1678 p->hid, p->uid); 2103 p->uid[0] = 0; 2105 (void) strlcpy(p->uid, info->UniqueId.String, ID_LEN);
|
/illumos-gate/usr/src/cmd/idmap/idmapd/ |
H A D | idmapd.c | 354 /* create directories as root and chown to daemon uid */ 615 if (id->idmap_id_u.uid != IDMAP_SENTINEL_PID) { 617 (int64_t)id->idmap_id_u.uid);
|
/illumos-gate/usr/src/lib/libcmd/common/ |
H A D | cp.c | 163 int uid; /* caller uid */ member in struct:State_s 459 st.st_uid != state->uid ? "``not owner''" : 686 state->uid = geteuid(); 920 state->perm = state->uid ? S_IPERM : (S_IPERM & ~S_ISVTX);
|
/illumos-gate/usr/src/cmd/csh/ |
H A D | sh.c | 162 uid = getuid(); 354 if (!batch && (uid != geteuid() || getgid() != getegid())) { 402 uid == 0 ? S_SHARPSP /* "# " */ : S_PERSENTSP /* "% " */); 677 (stb.st_uid != uid && stb.st_gid != getgid())) {
|
/illumos-gate/usr/src/cmd/sendmail/db/btree/ |
H A D | bt_open.c | 270 memcpy(meta->uid, dbp->fileid, DB_FILE_ID_LEN);
|
/illumos-gate/usr/src/cmd/cmd-inet/lib/ipmgmtd/ |
H A D | ipmgmt_door.c | 117 uid_t uid; local 126 uid = ucred_getruid(cred); 127 if ((int)uid < 0) { 132 if (getpwuid_r(uid, &pwd, buf, sizeof (buf)) ==
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ |
H A D | finger.c | 174 int AlreadyPrinted(uid_t uid); 730 * the entry is indexed by the uid, so this can only be done if 731 * the uid is known (which it isn't in quick mode) 1348 * return true iff we've already printed project/plan for this uid; 1349 * if not, enter this uid into table (so this function has a side-effect.) 1356 AlreadyPrinted(uid_t uid) argument 1361 if (PlanPrinted[i] == uid) 1365 PlanPrinted[i] = uid;
|