/illumos-gate/usr/src/boot/include/isofs/cd9660/ |
H A D | cd9660_rrip.h | 48 char uid [ISODCL ( 20, 27)]; /* 733 */ member in struct:__anon11
|
/illumos-gate/usr/src/boot/sys/boot/userboot/userboot/ |
H A D | host.c | 98 int uid; local 102 CALLBACK(stat, f->f_fsdata, &mode, &uid, &gid, &size); 104 sb->st_uid = uid;
|
/illumos-gate/usr/src/boot/sys/sys/ |
H A D | mount.h | 271 #define MNT_EXPORTANON 0x0000000000000400ULL /* anon uid mapping for all */ 427 uid_t ex_root; /* mapping for root uid */ 442 uid_t ex_root; /* mapping for root uid */ 608 typedef int vfs_quotactl_t(struct mount *mp, int cmds, uid_t uid, void *arg);
|
/illumos-gate/usr/src/cmd/acct/ |
H A D | acctdusg.c | 55 char validuser; /* set if the uid exists */ 62 static struct disk *usglist[MAXUSERS]; /* holds data on disk usg by uid */ 138 hash_insert(uid_t uid) argument 141 int key = HASHKEY(uid); 148 curdisk->dsk_uid = uid; 157 * return the disk entry for given uid. return NULL if not found. 160 hash_find(uid_t uid) argument 164 for (curdisk = usglist[HASHKEY(uid)]; 166 if (curdisk->dsk_uid == uid) { 245 * Files with unknown uid shoul [all...] |
H A D | accton.c | 53 uid_t uid; local 55 uid = getuid(); 57 perror("cannot determine adm's uid"), exit(1); 60 if (uid == ROOT || uid == admuid) {
|
H A D | acctprc1.c | 37 * 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/acct/lib/ |
H A D | uidtonam.c | 31 * convert uid to login name; interface to getpwuid that keeps up to USIZE1 52 uidtonam(uid) 53 uid_t uid; 60 if (uid == up->uuid) 63 if ((pp = getpwuid(uid)) == NULL) 67 up->uuid = uid;
|
/illumos-gate/usr/src/cmd/allocate/ |
H A D | add_allocatable.c | 68 uid_t uid; local 118 uid = getuid(); 119 if ((getpwuid_r(uid, &pwd, pwbuf, sizeof (pwbuf))) == NULL) {
|
H A D | allocate.c | 73 use[3] = gettext("list_devices [-s] [-U uid] [-z zonename] " 75 use[4] = gettext("list_devices [-s] [-U uid] [-z zonename] " 105 "[-s] [-U uid] -l|-n|-u [device]"); 107 "[-s] [-U uid] [-l|-n|-u] -c dev-class"); 259 uid_t uid; local 541 uid = atoi(optarg); 580 uid = pw_ent.pw_uid; 582 if (getpwuid_r(uid, &pw_ent, pw_buf, sizeof (pw_buf)) == NULL) { 584 gettext("Invalid user ID -- %d -- \n"), uid); 587 uid [all...] |
H A D | allocate.h | 93 extern int allocate(int optflg, uid_t uid, char *device, char *zonename); 94 extern int deallocate(int optflg, uid_t uid, char *device, char *zonename); 95 extern int list_devices(int optflg, uid_t uid, char *device, char *zonename);
|
H A D | allocate3.c | 130 _is_local(uid_t uid) argument 135 statbuf.st_uid == uid) 142 * Checks if the user with the specified uid has the specified authorization 145 _is_authorized(char *auths, uid_t uid) argument 158 if (getpwuid_r(uid, &pw_ent, pw_buf, sizeof (pw_buf)) == NULL) 180 _is_dev_authorized(devalloc_t *da, uid_t uid) argument 190 return (_is_authorized(auth_list, uid)); 191 if (_is_local(uid)) { 201 ares = _is_authorized(auth_list, uid); 303 _list_device(int optflag, uid_t uid, devalloc_ argument 488 list_devices(int optflag, uid_t uid, char *device, char *zonename) argument 696 mk_alloc(devmap_t *list, uid_t uid, struct zone_path *zpath) argument 891 exec_clean(int optflag, char *devname, char *path, uid_t uid, char *zonename, char *clean_arg) argument 999 _deallocate_dev(int optflag, devalloc_t *da, devmap_t *dm_in, uid_t uid, char *zonename, int *lock_fd) argument 1149 _allocate_dev(int optflag, uid_t uid, devalloc_t *da, char *zonename, int *lock_fd) argument 1353 allocate(int optflag, uid_t uid, char *device, char *zonename) argument 1431 deallocate(int optflag, uid_t uid, char *device, char *zonename) argument 1591 _check_label(devalloc_t *da, char *zonename, uid_t uid, int flag) argument [all...] |
/illumos-gate/usr/src/cmd/auditconfig/ |
H A D | auditconfig.c | 2280 uid_t uid; local 2283 uid = atoi(user); 2284 if ((pwd = getpwuid(uid)) == NULL) {
|
/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;
|
H A D | token.c | 528 * ace who adr_u_int32 (uid/gid) 552 * uid adr_int32 566 int32_t uid; local 569 adrm_int32(adr, &uid, 1); 576 if (m_usere == uid) 589 (obj_owner == uid)) 599 * uid adr_int32 613 int32_t uid; local 616 adrm_int32(adr, &uid, 1); 623 if (m_usere == uid) 660 int32_t uid; local 839 int32_t uid, gid, cuid, cgid, mode, seq; local 1815 uid_t uid; local 1876 int32_t uid; local 1900 int32_t uid; local [all...] |
/illumos-gate/usr/src/cmd/backup/lib/ |
H A D | byteorder.c | 270 uid32_t uid; local 282 uid = (uid32_t)(acl[i].acl_who); 283 if (!complained && ((uid_t)uid) != acl[i].acl_who) { 296 swabst("1l", (uchar_t *)&(uid)); /* uid32_t */
|
/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/bart/ |
H A D | compare.c | 43 char *mode, char *acl, char *mtime, char *uid, char *gid, char *contents, 230 char *acl, char *mtime, char *uid, char *gid, char *contents, char *devnode, 244 get_token(line, &pos, line_len, uid, MISC_SIZE); 229 parse_line(char *line, char *fname, char *type, char *size, char *mode, char *acl, char *mtime, char *uid, char *gid, char *contents, char *devnode, char *dest) argument
|
/illumos-gate/usr/src/cmd/bnu/ |
H A D | account.c | 48 char uid[MODSTR]; /* user id */ member in struct:acData 110 acptr->uid, FS, 201 sprintf(acptr->uid,"%ld",(long) passent->pw_uid); 264 copyText(acptr->uid, sizeof(acptr->uid), NOTAVAIL);
|
H A D | expfile.c | 51 uid_t uid; local 64 if ((user[0]=='\0') || (gninfo(user, &uid, file) != 0)){
|
H A D | getpwinfo.c | 36 * get passwd file info for logname or uid 37 * uid -> uid # 43 * FAIL -> failure (logname and uid not found) 46 guinfo(uid, name) 47 uid_t uid; 56 if (pwd != NULL && pwd->pw_uid == uid) 61 if ((pwd = getpwuid(uid)) == NULL) { 63 /* can not find uid in passwd file */ 75 * uid [all...] |
/illumos-gate/usr/src/cmd/cdrw/ |
H A D | util.c | 254 check_auth(uid_t uid) argument 259 pw = getpwuid(uid);
|
H A D | util.h | 75 int check_auth(uid_t uid);
|
/illumos-gate/usr/src/cmd/chown/ |
H A D | chown.c | 37 * chown [-fhR] uid[:gid] file ... 38 * chown -R [-f] [-H|-L|-P] uid[:gid] file ... 62 static uid_t uid = (uid_t)-1; variable 236 if (sid_to_id(argv[0], B_TRUE, &uid)) { 242 uid = pwd->pw_uid; 246 uid = (uid_t)strtoul(argv[0], NULL, 10); 279 LCHOWN(argv[c], uid, gid); 308 uid, gid); 326 CHOWN(argv[c], uid, gid); 333 CHOWN(argv[c], uid, gi 376 chownr(char *dir, uid_t uid, gid_t gid) argument [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/common/ |
H A D | store_forw_creds.c | 53 uid_t uid; local 60 uid = getuid(); 103 (void) seteuid(uid);
|