/netbsd-6-1-5-RELEASE/distrib/utils/libhack/ |
H A D | getpwent.c | 139 getpwuid(uid_t uid) argument 142 return getpwuid_r(uid, &_pw_passwd, pwline, sizeof(pwline), 147 getpwuid_r(uid_t uid, struct passwd *pwres, char *buf, size_t bufsiz, argument 154 rval = !pwscan(1, uid, NULL, pwres, buf, bufsiz); 206 pwscan(int search, uid_t uid, const char *name, struct passwd *pwd, char *buf, argument 226 if (pwmatchline(search, uid, name, pwd, buf)) 233 pwmatchline(int search, uid_t uid, const char *name, struct passwd *pwd, argument 249 if (!(cp = strsep(&bp, ":\n"))) /* uid */ 255 if (search && name == NULL && pwd->pw_uid != uid)
|
/netbsd-6-1-5-RELEASE/external/bsd/am-utils/dist/hlfsd/ |
H A D | hlfsd.h | 70 * uid field is u_int. Then it failed to compile on some linux systems 116 uid_t uid; /* XXX: with or without UID_OFFSET? */ member in struct:uid2home_t 126 uid_t uid; /* XXX: with or without UID_OFFSET? */ member in struct:username2uid_t
|
/netbsd-6-1-5-RELEASE/external/bsd/libarchive/dist/cpio/test/ |
H A D | test_format_newc.c | 76 int uid = -1; local 84 uid = getuid(); 151 if (uid < 0) 152 uid = from_hex(e + 22, 8); 153 assertEqualInt(from_hex(e + 22, 8), uid); /* uid */ 186 assertEqualInt(from_hex(e + 22, 8), uid); /* uid */ 219 assertEqualInt(from_hex(e + 22, 8), uid); /* uid */ [all...] |
/netbsd-6-1-5-RELEASE/lib/libc/compat/gen/ |
H A D | compat_lastlogx.c | 87 getlastlogx(uid_t uid, struct lastlogx *ll) argument 90 return __getlastlogx13(llfile, uid, ll);
|
/netbsd-6-1-5-RELEASE/external/ibm-public/postfix/dist/src/local/ |
H A D | mailbox.c | 157 spool_uid = usr_attr.uid; 160 spool_uid = usr_attr.uid; 166 if (spool_uid == usr_attr.uid) { 170 chown_uid = usr_attr.uid; 193 if (spool_uid != usr_attr.uid || spool_gid != usr_attr.gid) 194 set_eugid(usr_attr.uid, usr_attr.gid); 199 } else if (var_strict_mbox_owner && st.st_uid != usr_attr.uid) { 210 if (spool_uid != usr_attr.uid || spool_gid != usr_attr.gid)
|
/netbsd-6-1-5-RELEASE/usr.sbin/sa/ |
H A D | usrdb.c | 144 uid_t uid; local 147 uid = ci->ci_uid; 148 key.data = &uid; 149 key.size = sizeof(uid); 153 warn("get key %d from user accounting stats", uid); 158 if (newui.ui_uid != uid) { 160 newui.ui_uid, uid); 179 warn("add key %d to user accounting stats", uid);
|
/netbsd-6-1-5-RELEASE/crypto/external/bsd/heimdal/dist/lib/ipc/ |
H A D | common.c | 46 uid_t uid; member in struct:heim_icred 61 return cred->uid; 84 _heim_ipc_create_cred(uid_t uid, gid_t gid, pid_t pid, pid_t session, heim_icred *cred) argument 89 (*cred)->uid = uid;
|
/netbsd-6-1-5-RELEASE/external/bsd/libbind/dist/irs/ |
H A D | getpwent.c | 70 getpwuid(uid_t uid) { argument 73 return (getpwuid_p(uid, net_data)); 134 getpwuid_p(uid_t uid, struct net_data *net_data) { argument 140 net_data->pw_last->pw_uid == uid) 142 net_data->pw_last = (*pw->byuid)(pw, uid);
|
/netbsd-6-1-5-RELEASE/regress/sys/kern/sysvsem/ |
H A D | semtest.c | 269 uid_t uid = geteuid(); local 272 printf("PERM: uid %d, gid %d, cuid %d, cgid %d, mode 0%o\n", 273 sp->sem_perm.uid, sp->sem_perm.gid, 286 if (sp->sem_perm.uid != uid || sp->sem_perm.cuid != uid) 287 errx(1, "uid mismatch");
|
/netbsd-6-1-5-RELEASE/regress/sys/kern/sysvshm/ |
H A D | shmtest.c | 234 uid_t uid = geteuid(); local 237 printf("PERM: uid %d, gid %d, cuid %d, cgid %d, mode 0%o\n", 238 sp->shm_perm.uid, sp->shm_perm.gid, 254 if (sp->shm_perm.uid != uid || sp->shm_perm.cuid != uid) 255 errx(1, "uid mismatch");
|
/netbsd-6-1-5-RELEASE/external/ibm-public/postfix/dist/src/global/ |
H A D | mypwd.c | 11 /* struct mypasswd *mypwuid(uid) 12 /* uid_t uid; 68 * The private cache. One for lookups by name, one for lookups by uid, and 105 struct mypasswd *mypwuid(uid_t uid) argument 114 if (last_pwd->pw_uid != uid) { 129 binhash_find(mypwcache_uid, (char *) &uid, sizeof(uid))) == 0) { 130 if ((pwd = getpwuid(uid)) == 0) 197 * Test program. Look up a couple users and/or uid values and see if the 212 msg_fatal("usage: %s name or uid [all...] |
/netbsd-6-1-5-RELEASE/usr.bin/newgrp/ |
H A D | newgrp.c | 69 uid_t uid; local 75 uid = getuid(); 76 pwd = getpwuid(uid); 128 if (setusercontext(lc, pwd, uid, flags) == -1) 168 if (setusercontext(lc, pwd, uid, LOGIN_SETENV | LOGIN_SETPATH) == -1)
|
/netbsd-6-1-5-RELEASE/usr.sbin/lpr/lpr/ |
H A D | lpr.c | 117 uid_t uid, euid; variable 132 uid = getuid(); 133 seteuid(uid); 307 seteuid(uid); 368 seteuid(uid); 371 seteuid(uid); 381 seteuid(uid); 409 seteuid(uid); 503 seteuid(uid); 554 seteuid(uid); [all...] |
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/gcc/ |
H A D | tree-ssa-dse.c | 105 static unsigned max_stmt_uid; /* Maximal uid of a statement. Uids to phi 109 /* Returns uid of statement STMT. */ 117 return stmt_ann (stmt)->uid; 123 record_voperand_set (bitmap global, bitmap *local, unsigned int uid) argument 132 bitmap_set_bit (*local, uid); 133 bitmap_set_bit (global, uid); 298 record_voperand_set (dse_gd->stores, &bd->stores, ann->uid); 361 record_voperand_set (dse_gd->stores, &bd->stores, ann->uid); 416 stmt_ann (bsi_stmt (bsi))->uid = max_stmt_uid++;
|
/netbsd-6-1-5-RELEASE/lib/libpuffs/ |
H A D | creds.c | 100 puffs_cred_isuid(const struct puffs_cred *pcr, uid_t uid) argument 104 return UUCCRED(pkcr) && pkcr->pkcr_uuc.cr_uid == uid; 162 puffs_access(enum vtype type, mode_t file_mode, uid_t uid, gid_t gid, argument 181 if (puffs_cred_isuid(pcr, uid)) { 249 puffs_access_times(uid_t uid, gid_t gid, mode_t mode, int va_utimes_null, argument 253 if (!puffs_cred_isuid(pcr, uid) && !puffs_cred_isjuggernaut(pcr) 255 || puffs_access(VNON, mode, uid, gid, PUFFS_VWRITE, pcr) != 0))
|
/netbsd-6-1-5-RELEASE/games/robots/ |
H A D | score.c | 124 uint32_t uid; local 133 uid = getuid(); 137 if ((scp->s_uid == uid && ++numscores == max_uid)) { 141 scp->s_uid = uid; 150 Top[MAXSCORES-1].s_uid = uid; 176 if (!done_show && scp->s_uid == uid && scp->s_score == Score) 181 if (!done_show && scp->s_uid == uid && scp->s_score == Score) {
|
/netbsd-6-1-5-RELEASE/usr.sbin/lpr/common_source/ |
H A D | rmjob.c | 73 extern uid_t uid, euid; /* real and effective user id's */ 111 seteuid(uid); 122 seteuid(uid); 159 seteuid(uid); 194 seteuid(uid); 216 seteuid(uid); 246 seteuid(uid);
|
H A D | displayq.c | 72 extern uid_t uid, euid; 115 seteuid(uid); 120 seteuid(uid); 128 seteuid(uid); 147 seteuid(uid); 165 seteuid(uid); 185 seteuid(uid); 311 seteuid(uid); 439 seteuid(uid);
|
/netbsd-6-1-5-RELEASE/bin/pax/ |
H A D | sel_subs.c | 85 * check if this file matches a specified uid, gid or time range 103 * Routines to handle user selection of files based on the file uid/gid. To 104 * add an entry, the user supplies either the name or the uid/gid starting with 121 uid_t uid; local 145 tty_warn(1, "Unable to find uid for user: %s", str); 148 uid = (uid_t)pw->pw_uid; 150 uid = (uid_t)strtoul(str+1, NULL, 10); 156 indx = ((unsigned)uid) % USR_TB_SZ; 159 if (pt->uid == uid) [all...] |
/netbsd-6-1-5-RELEASE/external/bsd/openldap/dist/contrib/slapd-modules/nssov/ |
H A D | passwd.c | 29 * MUST ( cn $ uid $ uidNumber $ gidNumber $ homeDirectory ) 38 BER_BVC("uid"), 113 int nssov_dn2uid(Operation *op,nssov_info *ni,struct berval *dn,struct berval *uid) argument 122 /* try to look up uid within DN string */ 133 ber_dupbv_x( uid, &bv, op->o_tmpmemctx ); 136 /* look up the uid from the entry itself */ 141 ber_dupbv_x(uid, &a->a_vals[0], op->o_tmpmemctx); 165 int nssov_uid2dn(Operation *op,nssov_info *ni,struct berval *uid,struct berval *dn) argument 176 if (!isvalidusername(uid)) 179 nssov_filter_byid(mi,UID_KEY,uid, 372 uid_t uid; local [all...] |
/netbsd-6-1-5-RELEASE/external/bsd/openldap/dist/tests/scripts/ |
H A D | test024-unique | 74 dn: uid=dave,ou=users,o=unique 76 uid: dave 99 dn: uid=bill,ou=users,o=unique 101 uid: bill 215 dn: uid=bill,ou=users,o=unique 217 uid: bill 272 dn: uid=bill,ou=users,o=unique 274 uid: bill 332 dn: uid=bill,ou=users,o=unique 334 uid [all...] |
/netbsd-6-1-5-RELEASE/sbin/mount_ados/ |
H A D | mount_ados.c | 93 args.uid = a_uid(optarg); 145 args.uid = sb.st_uid; 158 printf("uid=%d, gid=%d, mask=0%o\n", args.uid, args.gid,
|
/netbsd-6-1-5-RELEASE/sbin/mount_filecore/ |
H A D | mount_filecore.c | 127 args.uid = 0; 145 args.uid = a_uid(optarg); 201 printf("uid=%d, gid=%d, flags=%s\n", args.uid, args.gid, buf); 210 "usage: mount_filecore [-afnR] [-g gid] [-o options] [-u uid] special node\n");
|
/netbsd-6-1-5-RELEASE/sbin/mount_ntfs/ |
H A D | mount_ntfs.c | 94 args->uid = a_uid(optarg); 139 args->uid = sb.st_uid; 163 printf("uid=%d, gid=%d, mode=0%o, flags=%s\n", args.uid,
|
/netbsd-6-1-5-RELEASE/usr.sbin/rpc.pcnfsd/ |
H A D | pcnfsd_v1.c | 86 r.uid = (int) -2; 93 if (check_cache(uname, pw, &r.uid, &r.gid)) { 113 r.uid = p->pw_uid;
|