Searched refs:uid (Results 226 - 250 of 547) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/cmd/lp/lib/msgs/
H A Dmlisten.c331 md->uid = recbuf.uid;
338 md->admin = (md->uid == 0 || md->uid == Lp_Uid);
342 if ((pw = getpwuid(md->uid)) != NULL)
H A Dllib-llpmsg61 uid_t uid; /* Clients UID */
/illumos-gate/usr/src/cmd/fs.d/nfs/nfsmapid/
H A Dnfsmapid_server.c103 result.u_res.uid = UID_NOBODY;
112 * part might be an encoded uid, so do a final check.
118 result.u_res.uid = UID_NOBODY;
130 result.u_res.uid = UID_NOBODY;
134 result.u_res.uid = (uid_t)id;
149 rc = idmap_getuidbywinname(user, domain, 0, &result.u_res.uid);
152 result.u_res.uid = UID_NOBODY;
172 result.u_res.uid = UID_NOBODY;
179 result.u_res.uid = pwd.pw_uid;
196 uid_t uid local
[all...]
/illumos-gate/usr/src/lib/libdevinfo/
H A Ddevinfo_devperm.c87 setdevaccess(char *dev, uid_t uid, gid_t gid, mode_t mode, argument
94 if (chown(dev, uid, gid) == -1) {
106 if (chown(dev, uid, gid) == -1) {
122 err = acl_strip(dev, uid, gid, mode);
160 logindevperm(const char *ttyn, uid_t uid, gid_t gid, void (*errmsg)(char *)) argument
256 } else if (dir_dev_acc("/", &device[1], uid, gid, mode,
392 is_login_user(uid_t uid) argument
399 if ((getpwuid_r(uid, &pwd, pwd_buf, NSS_BUFLEN_PASSWD, &ppwd) != 0) ||
429 dir_dev_acc(char *path, char *left_to_do, uid_t uid, gid_t gid, mode_t mode, argument
486 uid, gi
574 di_devperm_login(const char *ttyn, uid_t uid, gid_t gid, void (*errmsg)(char *)) argument
[all...]
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs_auth.c293 cred_t *cr, uid_t *uid, gid_t *gid, uint_t *ngids, gid_t **gids)
297 access = nfsauth_access(exi, req, cr, uid, gid, ngids, gids);
632 uid_t uid; local
704 p->auth_clnt_cred, &uid, &gid, &ngids, &gids);
728 p->auth_srv_uid = uid;
821 cred_t *cr, uid_t *uid, gid_t *gid, uint_t *ngids, gid_t **gids)
1008 if (uid != NULL)
1009 *uid = tmpuid;
1052 if (uid != NULL)
1053 *uid
292 nfsauth4_access(struct exportinfo *exi, vnode_t *vp, struct svc_req *req, cred_t *cr, uid_t *uid, gid_t *gid, uint_t *ngids, gid_t **gids) argument
820 nfsauth_cache_get(struct exportinfo *exi, struct svc_req *req, int flavor, cred_t *cr, uid_t *uid, gid_t *gid, uint_t *ngids, gid_t **gids) argument
1206 nfsauth_access(struct exportinfo *exi, struct svc_req *req, cred_t *cr, uid_t *uid, gid_t *gid, uint_t *ngids, gid_t **gids) argument
[all...]
/illumos-gate/usr/src/uts/common/io/drm/
H A Ddrm_ioctl.c219 client.uid = client32.uid;
233 client.uid = pt->uid;
246 client32.uid = (uint32_t)client.uid;
/illumos-gate/usr/src/cmd/passmgmt/
H A Dpassmgmt.c71 #define NEED_DEF_UID 020 /* need default uid */
117 uid_t low; /* low bound for this uid block */
118 uid_t high; /* high bound for this uid block */
143 * uid. Each uid_blk represent a range of uid(s) that are currently
336 passwd_st.pw_uid = -1; /* no uid */
469 /* The uid */
512 /* Override unique uid */
769 /* Default uid needed ? */
775 /* create the head of the uid numbe
1448 add_uid(uid_t uid) argument
[all...]
/illumos-gate/usr/src/cmd/keyserv/
H A Dchkey.c635 nra.uid = getuid();
1037 uid_t uid; local
1084 if (!__getnetnamebyuid(netname, uid = getuid())) {
1085 fprintf(stderr, "%s: cannot generate netname for uid %d\n",
1086 program_name, uid);
1110 uid = getuid();
1114 if ((pw = getpwuid(uid)) == NULL) {
1117 program_name, uid);
1122 seteuid(uid);
1138 if ((uid
[all...]
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dzfs_replay.c58 uint64_t uid, uint64_t gid, uint64_t rdev, uint64_t nodeid)
64 vap->va_uid = (uid_t)(IS_EPHEMERAL(uid)) ? -1 : uid;
139 zfs_replay_domain_cnt(uint64_t uid, uint64_t gid) argument
145 uid_idx = FUID_INDEX(uid);
170 * Set the uid/gid in the fuid_info structure.
173 zfs_replay_fuid_ugid(zfs_fuid_info_t *fuid_infop, uint64_t uid, uint64_t gid) argument
179 if (IS_EPHEMERAL(uid))
180 fuid_infop->z_fuid_owner = uid;
190 zfs_replay_fuid_domain(void *buf, void **end, uint64_t uid, uint64_ argument
57 zfs_init_vattr(vattr_t *vap, uint64_t mask, uint64_t mode, uint64_t uid, uint64_t gid, uint64_t rdev, uint64_t nodeid) argument
217 zfs_replay_fuids(void *start, void **end, int idcnt, int domcnt, uint64_t uid, uint64_t gid) argument
[all...]
/illumos-gate/usr/src/lib/libidmap/common/
H A Didmap_api.c858 idmap_id_u.uid;
962 * uid - POSIX UID if stat = 0
968 int flag, uid_t *uid, idmap_stat *stat)
970 return (idmap_getext_uidbysid(gh, sidprefix, rid, flag, uid,
984 * uid - POSIX UID if stat = 0
992 int flag, uid_t *uid, idmap_info *info, idmap_stat *stat)
1000 if (uid == NULL || sidprefix == NULL)
1005 retcode = idmap_cache_lookup_uidbysid(sidprefix, rid, uid);
1029 gh->retlist[gh->next].uid = uid;
967 idmap_get_uidbysid(idmap_get_handle_t *gh, char *sidprefix, idmap_rid_t rid, int flag, uid_t *uid, idmap_stat *stat) argument
991 idmap_getext_uidbysid(idmap_get_handle_t *gh, char *sidprefix, idmap_rid_t rid, int flag, uid_t *uid, idmap_info *info, idmap_stat *stat) argument
1257 idmap_get_sidbyuid(idmap_get_handle_t *gh, uid_t uid, int flag, char **sidprefix, idmap_rid_t *rid, idmap_stat *stat) argument
1281 idmap_getext_sidbyuid(idmap_get_handle_t *gh, uid_t uid, int flag, char **sidprefix, idmap_rid_t *rid, idmap_info *info, idmap_stat *stat) argument
2107 idmap_getuidbywinname(const char *name, const char *domain, int flag, uid_t *uid) argument
2252 idmap_getwinnamebyuid(uid_t uid, int flag, char **name, char **domain) argument
[all...]
H A Didmap_impl.h64 uid_t *uid; member in struct:idmap_get_res
/illumos-gate/usr/src/cmd/idmap/idmapd/
H A Ddbutils.c1313 res->id.idmap_id_u.uid = wksid->pid;
1344 wksid = find_wksid_by_pid(req->id1.idmap_id_u.uid, is_user);
1595 res->id.idmap_id_u.uid = pid;
1914 * Similarly, we use req->id2.idmap_id_u.uid to return
1917 * the query always puts the result in req->id2.idmap_id_u.uid,
1955 req->id2.idmap_id_u.uid = IDMAP_SENTINEL_PID;
2012 pid = &req->id2.idmap_id_u.uid;
2108 assert(req->id1.idmap_id_u.uid !=
2126 qs, req->id1.idmap_id_u.uid, is_user,
2222 posix_id = req->id2.idmap_id_u.uid;
3215 uid_t uid; local
3237 uid_t uid; local
[all...]
/illumos-gate/usr/src/lib/pam_modules/krb5/
H A Dutils.c48 * To get the uid from the passwd entry for specified user
52 get_pw_uid(char *user, uid_t *uid) argument
61 *uid = sp.pw_uid;
/illumos-gate/usr/src/cmd/lvm/rpc.metad/
H A Dmetad_init.c140 uid_t uid
148 if ((pwp = getpwuid(uid)) == NULL)
/illumos-gate/usr/src/cmd/cdrw/
H A Dutil.c254 check_auth(uid_t uid) argument
259 pw = getpwuid(uid);
/illumos-gate/usr/src/cmd/gss/gsscred/
H A Dgsscred_utils.c32 * Manages mapping between a security principal name and unix uid
241 * GSS entry point for retrieving user uid mappings.
245 gss_getGssCredEntry(const gss_buffer_t expName, uid_t *uid) argument
304 return (file_getGssCredUid(&expNameHexDesc, uid));
/illumos-gate/usr/src/cmd/hal/tools/
H A Dhal-storage-eject.c66 invalid_eject_option (const char *option, const char *uid) argument
69 fprintf (stderr, "The option '%s' is not allowed for uid=%s\n", option, uid);
H A Dhal-storage-unmount.c68 invalid_unmount_option (const char *option, const char *uid) argument
71 fprintf (stderr, "The option '%s' is not allowed for uid=%s\n", option, uid);
/illumos-gate/usr/src/uts/common/ipp/flowacct/
H A Dflowacct_impl.h125 uid_t uid; member in struct:flow_item_s
158 uid_t uid; member in struct:header
/illumos-gate/usr/src/cmd/utmp_update/
H A Dutmp_update.c34 * This program runs set uid root on behalf of
313 int uid; local
328 uid = pwd->pw_uid;
339 if (ruid != uid) {
340 dprintf3("Bad uid: user %s = %d uid = %d \n",
341 entryx->ut_user, uid, getuid());
/illumos-gate/usr/src/head/rpcsvc/
H A Dnfs_acl.x34 typedef int uid;
42 uid id;
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/plugins/
H A Dpppoe.c48 static int (*old_check_options)(uid_t uid);
88 pppoe_check_options(uid_t uid) argument
102 (void) seteuid(uid);
138 return ((*old_check_options)(uid));
/illumos-gate/usr/src/cmd/mailx/
H A Dinit.c154 uid_t uid; /* The invoker's user id */ variable
/illumos-gate/usr/src/cmd/sendmail/db/log/
H A Dlog_rec.c212 argp->uid.data, argp->name.data, argp->ftype, argp->id));
222 __log_do_open(lp, uid, name, ftype, ndx)
224 u_int8_t *uid;
238 if (memcmp(uid, dbp->fileid, DB_FILE_ID_LEN) != 0) {
/illumos-gate/usr/src/cmd/fs.d/nfs/lib/
H A Dwebnfs.x123 unsigned uid; /* owner user id */
258 wnl_uid3 uid;

Completed in 118 milliseconds

1234567891011>>