/netbsd/tests/fs/tmpfs/ |
H A D | t_create.sh | 70 test ${st_uid} -eq $(id -u) || atf_fail "Incorrect uid" 78 [ ${st_uid} -eq $(id -u ${user}) ] || atf_fail "Incorrect owner" 83 [ ${st_uid} -eq $(id -u ${user}) ] || atf_fail "Incorrect owner" 88 [ ${st_uid} -eq $(id -u ${user}) ] || atf_fail "Incorrect owner" 93 [ ${st_uid} -eq $(id -u ${user}) ] || atf_fail "Incorrect owner"
|
H A D | t_mkdir.sh | 105 [ ${st_uid} -eq $(id -u ${user}) ] || atf_fail "Incorrect owner" 110 [ ${st_uid} -eq $(id -u ${user}) ] || atf_fail "Incorrect owner" 115 [ ${st_uid} -eq $(id -u ${user}) ] || atf_fail "Incorrect owner" 120 [ ${st_uid} -eq $(id -u ${user}) ] || atf_fail "Incorrect owner"
|
H A D | t_setattr.sh | 45 [ ${st_uid} -eq 1234 ] || atf_fail "uid was not set" 79 [ ${st_uid} -eq ${ost_uid} ] || atf_fail "uid was modified" 113 [ ${st_uid} -eq 1234 ] || atf_fail "uid was not modified"
|
/netbsd/external/bsd/openpam/dist/lib/libpam/ |
H A D | openpam_check_owner_perms.c | 81 if ((sb.st_uid != root && sb.st_uid != arbitrator) || in openpam_check_desc_owner_perms() 133 if ((sb.st_uid != root && sb.st_uid != arbitrator) || in openpam_check_path_owner_perms()
|
/netbsd/etc/rc.d/ |
H A D | random_seed | 72 st_uid="$3" # should be "0" for root 75 if [ "$st_uid" != "0" ]; then 76 message "Bad owner ${st_uid}"
|
/netbsd/external/ibm-public/postfix/dist/src/global/ |
H A D | mail_open_ok.c | 104 msg_warn("%s: uid %ld: not a regular file", *path, (long) statp->st_uid); in mail_open_ok() 123 (long) statp->st_uid, (int) statp->st_nlink); in mail_open_ok() 126 (long) statp->st_uid, (int) statp->st_nlink); in mail_open_ok()
|
H A D | dynamicmaps.c | 141 if (st.st_uid != 0 || (st.st_mode & (S_IWGRP | S_IWOTH)) != 0) { in dymap_dict_lookup() 197 if (st.st_uid != 0 || (st.st_mode & (S_IWGRP | S_IWOTH)) != 0) in dymap_mkmap_lookup() 268 if (st.st_uid != 0 || (st.st_mode & (S_IWGRP | S_IWOTH)) != 0) { in dymap_read_conf()
|
/netbsd/sys/compat/sys/ |
H A D | stat.h | 50 uint16_t st_uid; /* user ID of the file's owner */ member 69 uid_t st_uid; /* user ID of the file's owner */ member 103 uid_t st_uid; /* user ID of the file's owner */ member 145 uid_t st_uid; /* user ID of the file's owner */ member
|
/netbsd/external/ibm-public/postfix/dist/src/pickup/ |
H A D | pickup.c | 201 (long) info->st.st_uid, type); in file_read_error() 362 info->id, (long) info->st.st_uid); in pickup_copy() 371 ((info)->st.st_uid == var_owner_uid && ((info)->st.st_mode & S_IROTH) == 0) in pickup_copy() 375 (int) info->st.st_uid, info_log_addr_form_sender(info->sender), in pickup_copy() 380 (int) info->st.st_uid, info_log_addr_form_sender(info->sender)); in pickup_copy() 390 var_myhostname, var_mail_name, (long) info->st.st_uid); in pickup_copy()
|
/netbsd/sys/compat/aoutm68k/ |
H A D | aoutm68k_stat.h | 47 u_int16_t st_uid; /* user ID of the file's owner */ member 67 uid_t st_uid; /* user ID of the file's owner */ member 88 uid_t st_uid; /* user ID of the file's owner */ member
|
H A D | aoutm68k_stat.c | 242 ast->st_uid = st->st_uid; in aoutm68k_stat43_convert() 272 ast->st_uid = st->st_uid; in aoutm68k_stat12_convert() 301 ast->st_uid = st->st_uid; in aoutm68k_stat13_convert()
|
/netbsd/crypto/external/bsd/openssh/dist/ |
H A D | auth-rhosts.c | 268 ((st.st_uid != 0 && st.st_uid != pw->pw_uid) || in auth_rhosts2() 298 ((st.st_uid != 0 && st.st_uid != pw->pw_uid) || in auth_rhosts2()
|
H A D | sftp-common.c | 78 a->uid = st->st_uid; in stat_to_attrib() 96 st->st_uid = a->uid; in attrib_to_stat() 230 snprintf(ubuf, sizeof ubuf, "%u", (u_int)st->st_uid); in ls_file() 239 user = user_from_uid(st->st_uid, 0); in ls_file()
|
H A D | sshpty.c | 161 if (st.st_uid != pw->pw_uid || st.st_gid != gid) { in pty_setowner() 164 (st.st_uid == pw->pw_uid || st.st_uid == 0)) in pty_setowner()
|
/netbsd/usr.sbin/mtree/ |
H A D | specspec.c | 80 printf(" uid=%d", n->st_uid); in shownode() 82 pw = getpwuid(n->st_uid); in shownode() 84 printf(" uid=%d", n->st_uid); in shownode() 168 if (FF(n1, n2, F_UID, st_uid)) in compare_nodes() 170 if (FF(n1, n2, F_UNAME, st_uid)) in compare_nodes()
|
H A D | compare.c | 214 (lchown(p->fts_accpath, p->fts_statp->st_uid, in compare() 230 (was_unlinked || s->st_uid != p->fts_statp->st_uid)) { in compare() 234 tab, (u_long)s->st_uid, (u_long)p->fts_statp->st_uid); in compare() 236 if (lchown(p->fts_accpath, s->st_uid, -1)) in compare()
|
/netbsd/external/bsd/libarchive/dist/libarchive/test/ |
H A D | test_write_disk_perms.c | 220 failure("dir_owner: st.st_uid=%d", st.st_uid); in DEFINE_TEST() 221 assertEqualInt(st.st_uid, original_uid); in DEFINE_TEST() 234 failure("dir_owner: st.st_uid=%d", st.st_uid); in DEFINE_TEST() 235 assertEqualInt(st.st_uid, original_uid); in DEFINE_TEST() 480 st.st_uid, getuid()); in DEFINE_TEST() 483 assertEqualInt(st.st_uid, getuid()); in DEFINE_TEST()
|
/netbsd/bin/pax/ |
H A D | file_subs.c | 169 if (nodirs || chk_path(arcn->name,arcn->sb.st_uid,arcn->sb.st_gid) < 0) { in file_creat() 242 res = set_ids(tmp_name, arcn->sb.st_uid, arcn->sb.st_gid); in file_close() 440 if (chk_path(from, to_sb->st_uid, to_sb->st_gid) == 0) in mk_link() 570 chk_path(nm, arcn->sb.st_uid, in node_creat() 589 res = set_ids(nm, arcn->sb.st_uid, arcn->sb.st_gid); in node_creat() 722 chk_path(char *name, uid_t st_uid, gid_t st_gid) in chk_path() argument 775 (void)set_ids(name, st_uid, st_gid); in chk_path()
|
H A D | cpio.c | 303 arcn->sb.st_uid = (uid_t)asc_u32(hd->c_uid, sizeof(hd->c_uid), OCT); in cpio_rd() 442 u32_asc((uintmax_t)arcn->sb.st_uid, hd->c_uid, sizeof(hd->c_uid), in cpio_wr() 583 arcn->sb.st_uid = (uid_t)asc_u32(hd->c_uid, sizeof(hd->c_uid), HEX); in vcpio_rd() 758 u32_asc((uintmax_t)arcn->sb.st_uid, hd->c_uid, sizeof(hd->c_uid), in vcpio_wr() 882 arcn->sb.st_uid = (uid_t)(RSHRT_EXT(hd->h_uid)); in bcpio_rd() 897 arcn->sb.st_uid = (uid_t)(SHRT_EXT(hd->h_uid)); in bcpio_rd() 1062 hd->h_uid[0] = CHR_WR_2(arcn->sb.st_uid); in bcpio_wr() 1063 hd->h_uid[1] = CHR_WR_3(arcn->sb.st_uid); in bcpio_wr() 1064 if (arcn->sb.st_uid != (uid_t)(SHRT_EXT(hd->h_uid))) in bcpio_wr()
|
/netbsd/external/ibm-public/postfix/dist/src/local/ |
H A D | dotforward.c | 245 } else if (st.st_uid != 0 && st.st_uid != usr_attr.uid) { in deliver_dotforward() 247 STR(path), (long) st.st_uid); in deliver_dotforward()
|
/netbsd/share/examples/refuse/dbfs/ |
H A D | dbfs.c | 76 st->st_uid = dbst.st_uid; in dbfs_getattr() 168 st->f_owner = dbst.st_uid; in dbfs_statfs()
|
/netbsd/libexec/atrun/ |
H A D | atrun.c | 227 (lbuf.st_uid != buf.st_uid) || (lbuf.st_gid != buf.st_gid) || in run_file() 494 batch_uid = buf.st_uid; in main() 500 run_file(dirent->d_name, buf.st_uid, in main()
|
/netbsd/external/ibm-public/postfix/dist/src/util/ |
H A D | dict_cdb.c | 217 dict_cdbq->dict.owner.uid = st.st_uid; in dict_cdbq_open() 218 dict_cdbq->dict.owner.status = (st.st_uid != 0); in dict_cdbq_open() 412 dict_cdbm->dict.owner.uid = st1.st_uid; in dict_cdbm_open() 413 dict_cdbm->dict.owner.status = (st1.st_uid != 0); in dict_cdbm_open()
|
/netbsd/tests/fs/umapfs/ |
H A D | t_basic.c | 58 if (sb.st_uid != uid) in testuidgid() 60 path, uid, sb.st_uid); in testuidgid()
|
/netbsd/tests/lib/libc/c063/ |
H A D | t_fchownat.c | 93 ATF_REQUIRE(st.st_uid == uid); in ATF_TC_BODY() 120 ATF_REQUIRE(st.st_uid == uid); in ATF_TC_BODY() 232 ATF_REQUIRE(st.st_uid == uid); in ATF_TC_BODY()
|