/netbsd-6-1-5-RELEASE/usr.bin/error/ |
H A D | filter.c | 71 uid_t uid; local 80 uid = getuid(); 81 if ((passwdentry = getpwuid(uid)) == NULL) {
|
/netbsd-6-1-5-RELEASE/sys/fs/adosfs/ |
H A D | adosfs.h | 42 uid_t uid; /* uid that owns adosfs files */ member in struct:adosfs_args 98 uid_t uid; /* (d/f) uid of directory/file */ member in struct:anode 123 uid_t uid; /* uid of mounting user */ member in struct:adosfsmount
|
/netbsd-6-1-5-RELEASE/games/hack/ |
H A D | hack.end.c | 309 #define PERS_IS_UID /* delete for PERSMAX per name; now per uid */ 314 int uid; member in struct:toptenentry 327 int uid = getuid(); local 364 t0->uid = uid; 380 t1->date, &t1->uid, 401 t1->uid == t0->uid && 451 t1->date, t1->uid, 461 t1->uid ! 700 int uid = -1; local [all...] |
/netbsd-6-1-5-RELEASE/crypto/external/bsd/heimdal/dist/lib/kafs/ |
H A D | kafs.h | 113 int krb_afslog_uid (const char *cell, const char *realm, uid_t uid); 116 int krb_afslog_uid_home (const char *cell, const char *realm, uid_t uid, 160 uid_t uid); 169 uid_t uid,
|
/netbsd-6-1-5-RELEASE/external/bsd/am-utils/dist/amd/ |
H A D | ops_pcfs.c | 164 pcfs_args.uid = 0; /* default to root */ 168 pcfs_args.uid = pw->pw_uid; 170 pcfs_args.uid = atoi(str); /* atoi returns '0' if it failed */ 174 plog(XLOG_DEBUG, "mount_pcfs: uid=%d", (int) pcfs_args.uid);
|
/netbsd-6-1-5-RELEASE/external/bsd/iscsi/dist/src/osd/ |
H A D | osdfs.c | 176 static int entries_get(kdev_t dev, uint64_t uid, char **entries, uint32_t *num, uint64_t *size) { argument 180 if (osd_get_one_attr((void *)&dev, root_gid, uid, 0x30000000, 0x0, sizeof(struct inode), &osd_exec_via_scsi, &len, (void *) &inode)!=0) { 193 if (osd_read((void *)&dev, root_gid, uid, 0, *size, *entries, 0, &osd_exec_via_scsi)!=0) { 205 iscsi_err("directory 0x%llx corrupted (line %i)\n", uid, n); 210 iscsi_err("directory 0x%llx corrupted (line %i)\n", uid, n); 223 uint64_t uid = dir_ino; local 229 if (osd_get_one_attr((void *)&dev, root_gid, uid, 0x30000000, 0x0, sizeof(struct inode), &osd_exec_via_scsi, &len, (void *) &inode)!=0) { 238 if (osd_write((void *)&dev, root_gid, uid, inode.i_size, strlen(entry), entry, 0, &osd_exec_via_scsi)!=0) { 371 uint64_t uid = ino; local 383 if (osd_get_one_attr((void *)&dev, root_gid, uid, 409 uint64_t uid = ino; local 511 uint64_t uid = dir->i_ino; local 655 uint64_t uid; local 807 uint64_t uid = ino; local 899 uint64_t uid = ino; local 936 uint64_t uid = ino; local [all...] |
/netbsd-6-1-5-RELEASE/external/bsd/libarchive/dist/cpio/ |
H A D | cmdline.c | 76 { "numeric-uid-gid", 0, 'n' }, 275 * <username|uid> - Override user but not group 277 * <uid>: - Override user but not group 278 * <username|uid>:<groupname|gid> - Override both 281 * Where uid/gid are decimal representations and groupname/username 287 * Sets uid/gid return as appropriate, -1 indicates uid/gid not specified. 293 owner_parse(const char *spec, int *uid, int *gid) argument 298 *uid = -1; 335 *uid [all...] |
/netbsd-6-1-5-RELEASE/external/bsd/libarchive/dist/libarchive/test/ |
H A D | test_write_format_mtree.c | 35 uid_t uid; member in struct:__anon1614 76 archive_entry_set_uid(ae, entries[i].uid); 77 assert(entries[i].uid == archive_entry_uid(ae)); 107 o = "/set type=dir uid=1001 gid=1001 mode=755"; 109 o = "/set type=file uid=1001 gid=1001 mode=644"; 131 assertEqualInt(entries[i].uid, archive_entry_uid(ae));
|
/netbsd-6-1-5-RELEASE/external/bsd/openldap/dist/contrib/slapd-modules/nssov/ |
H A D | pam.c | 27 struct berval uid; member in struct:paminfo 112 if (!isvalidusername(&pi->uid)) { 114 pi->uid.bv_val,0,0); 121 /* cn=<service>+uid=<user>,cn=<host>,cn=pam,cn=auth */ 122 sdn.bv_len = pi->uid.bv_len + pi->svc.bv_len + hlen + 123 STRLENOF( "cn=+uid=,cn=,cn=pam,cn=auth" ); 125 sprintf(sdn.bv_val, "cn=%s+uid=%s,cn=%s,cn=pam,cn=auth", 126 pi->svc.bv_val, pi->uid.bv_val, global_host_bv.bv_val); 131 /* If no luck, do a basic uid search */ 133 nssov_uid2dn(op, ni, &pi->uid, 267 struct berval dn, uid, svc, ruser, rhost, tty; local 488 struct berval dn, uid, svc, tty, rhost, ruser; local [all...] |
/netbsd-6-1-5-RELEASE/external/bsd/top/dist/ |
H A D | machine.h | 106 int uid; /* only this uid (unless uid == -1) */ member in struct:process_select
|
/netbsd-6-1-5-RELEASE/external/gpl2/lvm2/dist/libdm/ioctl/ |
H A D | libdm-targets.h | 47 uid_t uid; member in struct:dm_task
|
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/ |
H A D | tree-dfa.c | 513 referenced_var_lookup (unsigned int uid) argument 517 in.uid = uid; 518 h = (tree) htab_find_with_hash (gimple_referenced_vars (cfun), &in, uid); 519 gcc_assert (h || uid == 0); 531 unsigned int uid = DECL_UID (to); local 533 in.uid = uid; 534 h = (tree) htab_find_with_hash (gimple_referenced_vars (cfun), &in, uid); 544 &in, uid, INSER 630 unsigned int uid = DECL_UID (var); local [all...] |
/netbsd-6-1-5-RELEASE/sbin/mount_tmpfs/ |
H A D | mount_tmpfs.c | 80 uid_t uid; local 94 uidset = 0; uid = 0; 132 uid = a_uid(optarg); 153 args->ta_root_uid = uidset ? uid : sb.st_uid;
|
/netbsd-6-1-5-RELEASE/external/ibm-public/postfix/dist/src/local/ |
H A D | include.c | 102 if (been_here(state.dup_filter, "include %ld %s", (long) usr_attr.uid, path)) 118 if (stat_as(path, &st, usr_attr.uid, usr_attr.gid) < 0) { 160 if (usr_attr.uid == 0) { 162 msg_warn("cannot find username for uid %ld", (long) st.st_uid); 201 if ((fp = FOPEN_AS(path, usr_attr.uid, usr_attr.gid)) == 0) {
|
/netbsd-6-1-5-RELEASE/usr.bin/chpass/ |
H A D | chpass.h | 52 extern uid_t uid;
|
/netbsd-6-1-5-RELEASE/sys/arch/arm/marvell/ |
H A D | mvsocreg.h | 42 #define UNITID2PHYS(uid) ((MVSOC_UNITID_ ## uid) << 16)
|
/netbsd-6-1-5-RELEASE/external/ibm-public/postfix/dist/src/virtual/ |
H A D | virtual.h | 46 uid_t uid; /* file/command access */ member in struct:USER_ATTR 55 usr_attr.uid = 0; usr_attr.gid = 0; usr_attr.mailbox = 0; \
|
/netbsd-6-1-5-RELEASE/usr.sbin/puffs/mount_9p/ |
H A D | nineproto.c | 60 ustr2uid(char *uid) argument 64 pw = getpwnam(uid); 84 uid2ustr(uid_t uid) argument 88 pw = getpwuid(uid); 123 char *uid, *gid; local 149 GETSTR(&uid, &v16); 162 vap->va_uid = ustr2uid(uid); 164 free(uid);
|
/netbsd-6-1-5-RELEASE/external/bsd/libarchive/dist/libarchive/ |
H A D | archive_write_disk_set_standard_lookup.c | 75 * use the uid/gid without the lookup. Or define your own custom functions 167 lookup_uid(void *private_data, const char *uname, uid_t uid) argument 173 /* If no uname, just use the uid provided. */ 175 return (uid); 213 uid = result->pw_uid; 223 uid = result->pw_uid; 227 /* TODO: do a uname->uid lookup for Windows. */ 231 b->id = uid; 233 return (uid);
|
/netbsd-6-1-5-RELEASE/external/bsd/openldap/dist/include/ac/ |
H A D | socket.h | 228 #define LUTIL_GETPEEREID( s, uid, gid, bv ) getpeereid( s, uid, gid ) 232 #define LUTIL_GETPEEREID( s, uid, gid, bv ) lutil_getpeereid( s, uid, gid, bv ) 235 #define LUTIL_GETPEEREID( s, uid, gid, bv ) lutil_getpeereid( s, uid, gid )
|
/netbsd-6-1-5-RELEASE/sys/compat/linux32/common/ |
H A D | linux32_uid16.c | 70 syscallarg(linux32_uid16_t) uid; 76 SCARG(&ua, uid) = LINUX32TOBSD_UID(SCARG(uap, uid)); 87 syscallarg(linux32_uid16_t) uid; 93 SCARG(&ua, uid) = LINUX32TOBSD_UID(SCARG(uap, uid)); 104 syscallarg(linux32_uid16_t) uid; 110 SCARG(&ua, uid) = LINUX32TOBSD_UID(SCARG(uap, uid));
|
/netbsd-6-1-5-RELEASE/sbin/fsdb/ |
H A D | fsdbutil.c | 100 uint32_t uid, gid; local 158 uid = iswap16(dp->dp1.di_ouid); 160 uid = iswap32(DIP(dp, uid)); 161 if ((pw = getpwuid(uid)) != NULL) 164 printf("OWNUID=%u ", uid);
|
/netbsd-6-1-5-RELEASE/sbin/mknod/ |
H A D | mknod.c | 94 uid_t uid = -1; local 151 uid = strtol(optarg + 1, &p, 10); 155 if (uid_from_user(optarg, &uid) == 0) 157 uid = strtol(optarg, &p, 10); 278 if ((uid != (uid_t)-1 || gid != (uid_t)-1) && chown(name, uid, gid) == -1) 280 warn("%s: uid/gid not changed", name);
|
/netbsd-6-1-5-RELEASE/usr.bin/write/ |
H A D | write.c | 78 uid_t myuid, uid; local 98 if (uid_from_user(argv[1], &uid) == -1) 103 ttyfd = term_chk(uid, argv[2], &msgsok, &atime, 0, saved_egid); 160 uid_t uid; local 162 if (uid_from_user(user, &uid) == -1) 174 nfd = term_chk(uid, ep->line, &msgsok, &atime, 0,
|
/netbsd-6-1-5-RELEASE/usr.sbin/mtree/ |
H A D | getid.c | 306 gi_getpwuid(uid_t uid) argument 312 rval = pwscan(1, uid, NULL); 355 pwscan(int search, uid_t uid, const char *name) argument 374 if (pwmatchline(search, uid, name)) 381 pwmatchline(int search, uid_t uid, const char *name) argument 396 if (!(cp = strsep(&bp, ":\n"))) /* uid */ 402 if (search && name == NULL && _pw_passwd.pw_uid != uid)
|