Searched refs:uid (Results 176 - 200 of 547) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/cmd/pwck/
H A Dpwck.c71 uid_t uid; local
174 uid = strtol(str, &lastc, 10);
176 uid > MAXUID || errno == ERANGE)
/illumos-gate/usr/src/cmd/isns/isnsd/
H A Dadmintf.c1509 uint32_t uid; local
1521 ret = cache_lookup(&lc, &uid, cb_get_node_info);
1522 if (uid == 0) {
1538 ret = cache_lookup(&lc2, &uid, cb_get_entity_info);
1539 if (uid == 0) {
1569 ret = cache_lookup(&lc2, &uid, cb_get_pg_info);
1570 if (uid != 0) {
1572 lc2.curr_uid = uid;
1581 ret = cache_lookup(&lc3, &uid,
1627 uint32_t uid; local
1837 uint32_t uid = 0; local
1876 uint32_t uid = 0; local
1914 uint32_t uid = 0; local
1953 uint32_t uid = 0, n; local
2012 uint32_t uid = 0, dd_id; local
2075 uint32_t uid = 0, n; local
2134 uint32_t uid = 0, ddset_id; local
2201 uint32_t uid; local
2846 uint32_t uid; local
[all...]
H A Dobj.c665 uint32_t uid = attr->value.ui; local
666 return (uid);
676 * uid - the UID.
684 uint32_t uid
693 attr->value.ui = uid;
695 return (uid);
721 uint32_t uid; local
727 uid = get_obj_uid(obj);
732 if (lcp->curr_uid != 0 && uid >= lcp->curr_uid) {
748 * uid_p- points to uid fo
2432 reg_auth_src( isns_type_t type, uint32_t uid, uchar_t *src ) argument
2835 uint32_t uid; local
2899 uint32_t uid, *refp; local
2985 uint32_t uid; local
3148 uint32_t num, uid; local
3569 uint32_t uid; local
3664 uint32_t uid; local
[all...]
/illumos-gate/usr/src/cmd/sgs/rtld/amd64/
H A D_setup.c67 uid_t uid = (uid_t)-1, euid = (uid_t)-1; local
127 uid = (uid_t)auxv->a_un.a_val;
238 _execname, _argv, uid, euid, gid, egid, NULL, auxflags,
/illumos-gate/usr/src/cmd/sgs/rtld/i386/
H A D_setup.c72 uid_t uid = (uid_t)-1, euid = (uid_t)-1; local
132 uid = (uid_t)auxv->a_un.a_val;
238 _execname, _argv, uid, euid, gid, egid, NULL, auxflags,
/illumos-gate/usr/src/cmd/sgs/rtld/sparc/
H A D_setup.c75 uid_t uid = (uid_t)-1, euid = (uid_t)-1; local
143 uid = (uid_t)auxv->a_un.a_val;
242 _execname, _argv, uid, euid, gid, egid,
/illumos-gate/usr/src/cmd/sgs/rtld/sparcv9/
H A D_setup.c72 uid_t uid = (uid_t)-1, euid = (uid_t)-1; local
132 uid = (uid_t)auxv->a_un.a_val;
230 _execname, _argv, uid, euid, gid, egid, NULL, auxflags,
/illumos-gate/usr/src/cmd/lastcomm/
H A Dlc_utils.c277 getname(uid_t uid) argument
282 if ((pw = getpwuid(uid)) == NULL) {
283 (void) sprintf(uidname, "%u", uid);
/illumos-gate/usr/src/uts/common/gssapi/
H A Dgssapi_ext.h146 uid_t *, /* uid out */
155 uid_t *, /* uid out */
163 * ids from a UNIX uid.
167 const uid_t, /* entity UNIX uid */
223 uid_t uid);
233 uid_t uid);
241 uid_t uid);
/illumos-gate/usr/src/cmd/lp/lib/secure/
H A Dsecure.c89 secp->uid = (uid_t)atol(buf);
128 secp->uid > MAXUID
183 (void)fdprintf(fd, "%u\n", secbufp->uid);
/illumos-gate/usr/src/lib/libnsl/common/
H A Ddaemon_utils.c175 _create_daemon_lock(const char *name, uid_t uid, gid_t gid) argument
183 ret = fchown(fd, uid, gid);
/illumos-gate/usr/src/cmd/ypcmd/mknetid/
H A Dmknetid.c32 * sun.<uid>@<domainname> <uid>:<gid1>,<gid2>,...
167 int uid, gid; local
180 uid = Atoi(name);
181 put_d(uid);
183 if (uid == 0) {
246 int uid, gid; local
257 check_getname(lp, name, WHITE, COLON, ""); /* but get uid */
258 uid = Atoi(name);
259 user2netname(name, uid, domai
[all...]
/illumos-gate/usr/src/lib/brand/solaris10/s10_brand/common/
H A Ds10_deleted.c223 int fd, const char *name, uid_t uid, gid_t gid, int flag)
226 fd, name, uid, gid, flag));
230 s10_chown(sysret_t *rval, const char *name, uid_t uid, gid_t gid) argument
233 AT_FDCWD, name, uid, gid, 0));
237 s10_lchown(sysret_t *rval, const char *name, uid_t uid, gid_t gid) argument
240 AT_FDCWD, name, uid, gid, AT_SYMLINK_NOFOLLOW));
244 s10_fchown(sysret_t *rval, int filedes, uid_t uid, gid_t gid) argument
247 filedes, NULL, uid, gid, 0));
222 s10_fchownat(sysret_t *rval, int fd, const char *name, uid_t uid, gid_t gid, int flag) argument
/illumos-gate/usr/src/cmd/ptools/ptree/
H A Dptree.c56 uid_t uid; member in struct:ps
230 p->uid = info.pr_uid;
296 uid_t uid; local
304 uid = (uid_t)-1;
316 uid = pw->pw_uid;
326 * For uid matches, we never include pid 0 and only
329 if (p->pid == pid || (p->uid == uid && p->pid != 0 &&
341 if (uid == (uid_t)-1)
/illumos-gate/usr/src/cmd/hal/tools/
H A Dhal-is-caller-privileged.c77 permission_denied_privilege (const char *privilege, const char *uid) argument
81 fprintf (stderr, "%s refused uid %s\n", privilege, uid);
H A Dhal-storage-closetray.c64 invalid_closetray_option (const char *option, const char *uid) argument
67 fprintf (stderr, "The option '%s' is not allowed for uid=%s\n", option, uid);
/illumos-gate/usr/src/uts/common/fs/ufs/
H A Dquota_ufs.c134 "!quota_ufs: over hard disk limit (pid %d, uid %d, inum %d, fs %s)\n";
136 "!quota_ufs: Warning: over disk limit (pid %d, uid %d, inum %d, fs %s)\n";
138 "!quota_ufs: over disk and time limit (pid %d, uid %d, inum %d, fs %s)\n";
140 "!quota_ufs: Warning: quota overflow (pid %d, uid %d, inum %d, fs %s)\n";
304 * Skip checks for uid 0 owned files.
306 * to be 0; but there are no quotas for uid 0 so
419 chkiq(struct ufsvfs *ufsvfsp, int change, struct inode *ip, uid_t uid, argument
426 "!quota_ufs: over file hard limit (pid %d, uid %d, fs %s)\n";
428 "!quota_ufs: Warning: too many files (pid %d, uid %d, fs %s)\n";
430 "!quota_ufs: over file and time limit (pid %d, uid
[all...]
/illumos-gate/usr/src/uts/common/inet/ipf/
H A Dip_lookup.c139 int ip_lookup_ioctl(data, cmd, mode, uid, ctx, ifs)
142 int mode, uid;
195 err = ip_lookup_iterate(data, uid, ctx, ifs);
546 int ip_lookup_iterate(data, uid, ctx, ifs)
548 int uid;
578 token = ipf_findtoken(iter.ili_key, uid, ctx, ifs);
634 int ip_lookup_ioctl(data, cmd, mode, uid, ifs)
637 int mode, uid;
/illumos-gate/usr/src/uts/common/sys/
H A Dptms.h114 extern int ptms_minor_valid(minor_t ptmin, uid_t *uid, gid_t *gid);
116 extern void ptms_set_owner(minor_t ptmin, uid_t uid, gid_t gid);
151 * PT_OWNER: Sets uid and gid for slave device. It returns 0 on success.
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/
H A Ddisp1.c60 if ((file_prefix = _alloc_files(count, (char *)0, md->uid, md->gid))) {
129 rp->secure->uid = md->uid;
134 pw = getpwuid(md->uid);
141 md->uid);
183 if (seteuid(md->uid) != 0) {
195 note("seteuid back to uid=%d "
203 note("setegid back to uid=%d "
358 else if (!md->admin && md->uid != rp->secure->uid)
[all...]
/illumos-gate/usr/src/cmd/lp/lib/msgs/
H A Dmconnect.c132 md->uid = getuid();
156 md->uid = getuid();
/illumos-gate/usr/src/cmd/newtask/
H A Dnewtask.c102 uid_t uid; local
158 uid = getuid();
159 if ((pw = match_user(uid, projname, 1)) == NULL) {
656 match_user(uid_t uid, char *projname, int is_my_uid) argument
667 * for the uid of the calling process, the login name is a
672 (pw = getpwnam(tmp_name)) == NULL || (pw->pw_uid != uid) ||
679 * the current uid in the password file.
682 if (((pw = getpwuid(uid)) == NULL) || pw->pw_name == NULL) {
684 "for uid %d"), uid);
[all...]
/illumos-gate/usr/src/uts/common/xen/io/
H A Dxpvtap.c150 uint_t *uid);
152 blkif_request_t *req, uint_t uid);
154 blkif_response_t *resp, uint_t *uid);
155 static void xpvtap_user_request_unmap(xpvtap_state_t *state, uint_t uid);
1084 uint_t uid; local
1136 e = xpvtap_user_request_map(state, &req, &uid);
1148 e = xpvtap_user_request_push(state, &req, uid);
1163 b = xpvtap_user_response_get(state, &resp, &uid);
1172 xpvtap_user_request_unmap(state, uid);
1187 uint_t *uid)
1186 xpvtap_user_request_map(xpvtap_state_t *state, blkif_request_t *req, uint_t *uid) argument
1262 xpvtap_user_request_push(xpvtap_state_t *state, blkif_request_t *req, uint_t uid) argument
1295 xpvtap_user_request_unmap(xpvtap_state_t *state, uint_t uid) argument
1340 xpvtap_user_response_get(xpvtap_state_t *state, blkif_response_t *resp, uint_t *uid) argument
[all...]
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/mech/
H A Dimport_name.c131 uid_t uid; local
155 uid = *(uid_t *) input_name_buffer->value;
157 if (k5_getpwuid_r(uid, &pwx, pwbuf, sizeof(pwbuf), &pw) == 0)
162 uid = atoi(tmp);
/illumos-gate/usr/src/lib/libbc/inc/include/sys/
H A Dstropts.h153 unsigned short uid; member in struct:strrecvfd

Completed in 74 milliseconds

1234567891011>>