/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs_sys.c | 222 case NFS_REVAUTH: { /* revoke the cached credentials for the uid */ 231 STRUCT_FGET(nra, uid), CRED(), NULL, get_udatamodel());
|
H A D | nfs3_xdr.c | 509 na->uid = IXDR_GET_U_INT32(ptr); 527 IXDR_PUT_U_INT32(ptr, na->uid); 547 xdr_u_int(xdrs, &na->uid) && 1000 if (!xdr_bool(xdrs, &objp->uid.set_it)) 1002 if (objp->uid.set_it) 1003 if (!xdr_u_int(xdrs, &objp->uid.uid))
|
H A D | nfs4_xdr.c | 764 * owner/group and if so there is no need to call into the uid/gid 765 * mapping code. While the uid/gid interfaces have their own cache 771 uid_t uid; member in struct:ug_cache 806 pug->uid = pug->gid = 0; 1214 vap->va_uid = pug->uid; 1217 uid_t uid; local 1221 error = nfs_idmap_str_uid(&ov, &uid, FALSE); 1238 vap->va_uid = uid; 1241 pug->uid = uid; 1823 uid_t uid; local [all...] |
/illumos-gate/usr/src/uts/common/io/aac/ |
H A D | aac.h | 196 uint32_t uid; /* container uid */ member in struct:aac_container
|
H A D | aac.c | 3396 aac_get_container_uid(struct aac_softstate *softs, uint32_t cid, uint32_t *uid) argument 3413 *uid = ddi_get32(acc, &ct->CTCommand.param[1]); 3426 uint32_t uid; local 3429 rval_uid = aac_get_container_uid(softs, cid, &uid); 3441 "query container %d uid failed", cid); 3445 ddi_put32(acc, &mir->Status, uid); 3476 uint32_t uid; local 3481 uid = ddi_get32(acc, &mir->Status); 3483 if (dvp->uid != uid) { 3844 uint32_t uid; local [all...] |
/illumos-gate/usr/src/stand/lib/fs/nfs/ |
H A D | nfs3_xdr.c | 54 if (!xdr_u_int(xdrs, &objp->uid))
|
/illumos-gate/usr/src/uts/common/rpc/sec/ |
H A D | sec_svc.c | 185 if (crsetugid(cr, ucred->uid, ucred->gid) != 0 ||
|
/illumos-gate/usr/src/cmd/lp/lib/papi/ |
H A D | job.c | 214 uid_t uid = getuid(); local 218 if ((pw = getpwuid(uid)) != NULL) 221 if ((uid == 0) || (uid == 71)) { /* root/lp can forge this */
|
/illumos-gate/usr/src/uts/common/rpc/sec_gss/ |
H A D | svc_rpcsec_gss.c | 579 &client_data->u_cred.uid, 594 client_data->u_cred.uid, 1185 (int *)&gss_parms->qop_rcvd, client_data->u_cred.uid)) { 1406 check_verf(struct rpc_msg *msg, gss_ctx_id_t context, int *qop_state, uid_t uid) argument 1489 /* XXX uid ? */
|
/illumos-gate/usr/src/lib/libsec/common/ |
H A D | acltext.c | 89 pruname(uid_t uid, char *uidp, size_t buflen, int noresolve) argument 94 passwdp = getpwuid(uid); 96 /* could not get passwd information: display uid instead */ 97 (void) snprintf(uidp, buflen, "%u", uid); 204 /* no need to display uid */ 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/libvscan/common/ |
H A D | libvscan.c | 1460 uid_t uid; local 1462 uid = getuid(); 1464 if ((pw = getpwuid(uid)) == NULL)
|
/illumos-gate/usr/src/lib/libnwam/common/ |
H A D | libnwam_util.c | 867 uid_t uid = getuid(); local 868 return (uid == UID_NETADM || uid == 0);
|
/illumos-gate/usr/src/lib/libbsm/common/ |
H A D | adt_token.c | 855 uid_t uid; local 860 uid = ((union convert *)p_data)->tuid; 873 (void) au_write(event->ae_event_handle, au_to_user(uid, username));
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ |
H A D | rlogin.c | 279 uid_t uid; local 300 "rlogin must be set-uid root\n")); 463 pwd = getpwuid(uid = getuid()); 466 "password entry for user id %d."), uid);
|
/illumos-gate/usr/src/cmd/auditreduce/ |
H A D | option.c | 595 proc_user(char *optstr, uid_t *uid) argument 601 *uid = (uid_t)atoi(optstr); 609 *uid = usr->pw_uid;
|
/illumos-gate/usr/src/cmd/backup/restore/ |
H A D | dirs.c | 45 uid_t uid; member in struct:modeinfo 756 if (chown(cp, node.uid, node.gid) < 0 && !complained_chown) { 886 node.uid =
|
H A D | tape.c | 749 uid_t uid; local 763 uid = curfile.dip->di_suid == UID_LONG ? 829 /* 1254700: set uid/gid (previously missing) */ 830 if (lchown(rname, uid, gid) < 0 && !complained_lchown) { 884 if (chown(rname, uid, gid) < 0 && !complained_chown) { 942 if (fchown(ofile, uid, gid) < 0 && !complained_chown) {
|
/illumos-gate/usr/src/cmd/hal/hald/ |
H A D | util.c | 1057 HAL_DEBUG ((" uid = '%s'", line_elements[1])); 1088 const char *service, int uid) 1097 hal_device_property_set_int (root, "info.claimed.uid", uid); 1101 hal_device_property_remove (root, "info.claimed.uid"); 1110 hal_util_branch_claim (store, d, claimed, service, uid); 1087 hal_util_branch_claim(HalDeviceStore *store, HalDevice *root, dbus_bool_t claimed, const char *service, int uid) argument
|
/illumos-gate/usr/src/uts/common/inet/ipf/ |
H A D | ip_auth.c | 355 int fr_auth_ioctl(data, cmd, mode, uid, ctx, ifs) 358 int mode,uid; 386 token = ipf_findtoken(IPFGENITER_AUTH, uid, ctx, ifs);
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | core.c | 303 * If the real uid is changing, keep the per-user process 337 uid_t uid; local 362 (uid = crgetuid(credp)) != crgetruid(credp) || 363 uid != crgetsuid(credp) || 404 * perhaps a set-uid root process that s/he started, 489 case 'u': /* effective uid */
|
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/ |
H A D | exec.c | 563 procuid = request->secure->uid; 988 procuid = request->secure->uid; 1104 procuid = request->secure->uid;
|
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/ |
H A D | smb_pwdutil.c | 307 smb_pwd_getpwuid(uid_t uid, smb_passwd_t *smbpw) argument 315 return (smb_pwd_ops.pwop_getpwuid(uid, smbpw)); 332 if (uid == smbpw->pw_uid) { 1052 "for uid=%u (%d)", smbpw.pw_uid, idm_stat);
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | zfs_dir.c | 1071 uid_t uid; local 1085 if ((uid = crgetuid(cr)) == downer || uid == fowner ||
|
/illumos-gate/usr/src/cmd/ndmpd/tlm/ |
H A D | tlm_restore_writer.c | 1462 NDMP_LOG(LOG_DEBUG, "xattr_hdr: %s size %d mode %06o uid %d gid %d", 2087 uid_t uid; local 2098 NDMP_LOG(LOG_DEBUG, "set_attr: %s uid %d gid %d uname %s gname %s " 2102 uid = st->st_uid; 2104 NDMP_LOG(LOG_DEBUG, "set_attr: new uid %d old %d", 2105 pwd->pw_uid, uid); 2106 uid = pwd->pw_uid; 2116 erc = lchown(name, uid, gid); 2120 "Could not set uid or/and gid for file %s.", name);
|
/illumos-gate/usr/src/cmd/praudit/ |
H A D | format.c | 2014 pa_print_uid(pr_context_t *context, uid_t uid, int status, int flag) argument 2025 if ((pw = getpwuid(uid)) == NULL) { 2037 uval.int32_val = uid; 2046 * pa_pw_uid() : Issues pr_adr_u_int32 to reads uid from input stream 2057 uint32_t uid; local 2062 if (pr_adr_u_int32(context, &uid, 1) != 0) 2063 /* cannot retrieve uid */ 2066 return (pa_print_uid(context, uid, status, flag)); 2102 * pa_gr_uid() : Issues pr_adr_u_int32 to reads group uid from input stream 2128 * pa_pw_uid_gr_gid() : Issues pr_adr_u_int32 to reads uid o [all...] |