Searched defs:uid (Results 126 - 150 of 388) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/lib/gss_mechs/mech_dh/backend/mech/
H A Ddh_gssapi.h113 uid_t uid; /* The uid of this principal */ member in struct:dh_cred_id_desc
307 /* Principal to uid mapping */
310 const gss_name_t pname, uid_t *uid);
H A Dname.c165 * do_uid_nametype converts a uid to a gss_name_t pointed to by output
168 do_uid_nametype(OM_uint32 *minor, uid_t uid, gss_name_t *output) argument
172 if (!user2netname(netname, uid, NULL)) {
275 * We use getpwnam_r to convert the name to uid. Note it is
465 uid_t uid; local
468 uid = *(uid_t *)input->value;
470 /* uid = htonl(uid); No, this should be the local orfering */
471 return (do_uid_nametype(minor, uid, output));
508 /* Convert the name to a uid */
509 uid_t uid = (uid_t)strtol(name, &p, 0); local
[all...]
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dkuserok.c73 safechown(const char *src, uid_t uid, gid_t gid, int mode);
105 * under uid
205 * local uid via the gss cred table. Return TRUE if the uid was found in the
209 krb5_gsscred(krb5_principal principal, uid_t *uid) argument
230 * Get the uid mapping from the gsscred table.
235 uid, 0, 0, 0, 0);
277 uid_t uid; local
294 * with the uid mappings done for gssd).
305 if (krb5_gsscred(principal, &uid)) {
[all...]
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/profile/
H A Dprof_file.c221 uid_t uid; local
225 uid = getuid();
226 if (!k5_getpwuid_r(uid, &pwx, pwbuf, sizeof(pwbuf), &pw)
253 /* Check that current uid has read access. */
/illumos-gate/usr/src/lib/libexacct/demo/
H A Dexdump.c82 { EXD_PROC_UID, "uid" },
157 { EXD_FLOW_UID, "uid" },
300 uid_t uid = o->eo_item.ei_uint32; local
302 (void) printf("%-15u", uid);
305 if ((pwd = getpwuid(uid)) != NULL)
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dauth_sys.c85 authsys_create(const char *machname, const uid_t uid, const gid_t gid, argument
122 aup.aup_uid = uid;
172 uid_t uid; local
182 uid = geteuid();
190 return (authsys_create(machname, uid, gid, len, gids));
197 * authsys_create_default() is using the effective uid.
198 * authsys_create_ruid() is using the real uid.
207 uid_t uid; local
219 uid = getuid();
228 res = authsys_create(machname, uid, gi
[all...]
/illumos-gate/usr/src/lib/libpkg/common/
H A Dncgrpw.c338 cpwuid(uid_t uid) argument
359 if ((itemp = lookup_cache(pwuid_cache, &uid, len)) == Null_Item) {
362 if ((pwd = clpwuid(uid)) != NULL ||
363 (pwd = getpwuid(uid)) != NULL) {
383 (void) memmove(itemp->key, &uid, len);
710 clpwuid(uid_t uid) argument
727 if (pw->pw_uid == uid) {
/illumos-gate/usr/src/lib/libbc/inc/include/sys/
H A Dstropts.h153 unsigned short uid; member in struct:strrecvfd
/illumos-gate/usr/src/lib/libbsm/common/
H A Daudit_cron.c85 * or atjob uid.
285 uid_t uid,
360 aug_save_uid(uid);
362 aug_save_euid(uid);
440 audit_cron_create_anc_file(char *name, char *path, char *uname, uid_t uid) argument
469 ai.ai_auid = uid;
282 audit_cron_session( char *name, char *path, uid_t uid, gid_t gid, char *at_jobname) argument
/illumos-gate/usr/src/lib/libcmd/common/
H A Dchgrp.c116 typedef struct Key_s /* uid/gid key */
118 int uid; /* uid */ member in struct:Key_s
122 typedef struct Map_s /* uid/gid map */
137 #define OPT_UID (1<<6) /* have uid */
139 #define OPT_VERBOSE (1<<8) /* have uid */
150 lchown(const char* path, uid_t uid, gid_t gid) argument
158 * parse uid and gid from s
169 key->uid = key->gid = NOID;
190 key->uid
226 int uid; local
[all...]
H A Dcksum.c138 uid_t uid; /* caller uid */ member in struct:State_s
243 (st->st_uid != state->uid && ((st->st_mode & S_ISUID) || (st->st_mode & S_IRUSR) && !(st->st_mode & (S_IRGRP|S_IROTH)) || (st->st_mode & S_IXUSR) && !(st->st_mode & (S_IXGRP|S_IXOTH)))) ? fmtuid(st->st_uid) : "-",
265 int uid; local
284 uid = -1;
288 uid = struid(e);
329 if (uid < 0 || uid == st.st_uid)
330 uid = -1;
336 error(2, "%s: uid shoul
[all...]
/illumos-gate/usr/src/lib/libipmi/common/
H A Dipmi_user.c106 ipmi_get_user_access(ipmi_handle_t *ihp, uint8_t channel, uint8_t uid) argument
112 req.igua_uid = uid;
142 ipmi_get_user_name(ipmi_handle_t *ihp, uint8_t uid) argument
149 cmd.ic_data = &uid;
150 cmd.ic_dlen = sizeof (uid);
307 ipmi_user_lookup_id(ipmi_handle_t *ihp, uint8_t uid) argument
311 cb.uic_uid = uid;
325 ipmi_user_set_password(ipmi_handle_t *ihp, uint8_t uid, const char *passwd) argument
330 req.isup_uid = uid;
/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/cmd/vi/port/
H A Dexpreserve.c278 fprintf(stderr, gettext("Unable to get uid for user.\n"));
395 * Notify user uid that his file fname has been saved.
398 notify(int uid, unsigned char *fname, int flag, int cryflag) argument
403 struct passwd *pp = getpwuid(uid);
/illumos-gate/usr/src/cmd/projects/
H A Dprojects.c295 uid_t uid; local
334 uid = getuid();
335 if ((pwd = getpwuid(uid)) == NULL) {
/illumos-gate/usr/src/cmd/prstat/
H A Dprtable.c65 pwd_getname(uid_t uid, char *name, size_t length, int noresolve, argument
71 if (noresolve || (pwd = getpwuid(uid)) == NULL) {
72 n = snprintf(NULL, 0, "%u", uid);
75 width - 1, uid, '*');
77 (void) snprintf(name, length, "%u", uid);
93 uid_t *uid; local
101 uid = &tbl->n_list[tbl->n_nent++];
104 *uid = Atoi(name);
106 *uid = pwd_getid(name);
111 has_uid(uidtbl_t *tbl, uid_t uid) argument
[all...]
/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/cmd-inet/usr.lib/ilbd/
H A Dilbd_main.c596 uid_t uid; local
628 if ((uid = ucred_getruid(cli->cli_peer_ucredp)) == (uid_t)-1) {
637 if (getpwuid_r(uid, &cli->cli_pw, cli->cli_pw_buf,
968 * the daemon switches to "daemon" uid. This is similar to what
979 * Now lets switch ilbd as uid = daemon, gid = daemon with a
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_nfs.c559 int fltype, mode, nlinks, uid, gid, size, blksz; local
565 uid = getxdr_long();
580 nlinks, uid, gid, rdev);
/illumos-gate/usr/src/cmd/cron/
H A Datrm.c188 * if argv is a username, compare his/her uid to
189 * the uid of the owner of the file......
376 getname(uid_t uid) argument
381 if ((pwdinfo = getpwuid(uid)) == 0)
/illumos-gate/usr/src/cmd/filesync/
H A Daction.c393 uid_t uid; local
436 uid = sp->f_uid; /* owner of the new file */
445 * modes, uid and gid. If the file already exists, it will
455 if (dp->f_uid != uid)
468 if (uid != my_uid)
687 dp->f_uid = uid;
/illumos-gate/usr/src/cmd/fs.d/autofs/
H A Dns_fnreaddir.c179 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/acct/
H A Dacctprc1.c37 * sorted by uid/name; it is used to make better guesses at login names
55 struct urec { /* 1 for each distinct uid/name */
56 uid_t ur_uid; /* sorted by uid/name */
158 * return ptr to name corresponding to uid
162 getname(uid_t uid, dev_t tty, time_t start) argument
166 if ((p = getnamc(uid, tty, start)) != NULL)
168 return (uidtonam(uid));
241 * corresponding to uid, return ptr to the name.
243 * for any urec having same uid as uid, searc
250 getnamc(uid_t uid, dev_t tty, time_t start) argument
[all...]
/illumos-gate/usr/src/cmd/allocate/
H A Dadd_allocatable.c68 uid_t uid; local
118 uid = getuid();
119 if ((getpwuid_r(uid, &pwd, pwbuf, sizeof (pwbuf))) == NULL) {
/illumos-gate/usr/src/cmd/cmd-inet/lib/nwamd/
H A Ddoor_if.c540 uid_t uid; local
556 uid = ucred_getruid(ucr);
558 if ((pwd = getpwuid(uid)) == NULL) {

Completed in 349 milliseconds

1234567891011>>