Home
last modified time | relevance | path

Searched refs:st_uid (Results 51 – 75 of 431) sorted by relevance

12345678910>>...18

/netbsd/lib/libutil/
H A Dsecure_path.c64 else if (sb.st_uid != 0) in secure_path()
/netbsd/external/gpl2/diffutils/dist/src/
H A Dsystem.h398 && (s)->st_uid == (t)->st_uid \
/netbsd/usr.bin/at/
H A Dat.c456 || (buf.st_uid != real_uid && real_uid != 0) in list_jobs()
485 pw = getpwuid(buf.st_uid); in list_jobs()
533 if (buf.st_uid != real_uid && real_uid != 0) in process_jobs()
/netbsd/bin/cp/
H A Dutils.c282 && fs->st_mode & (S_ISUID | S_ISGID) && fs->st_uid == myuid) { in copy_file()
378 if (fd ? fchown(fd, fs->st_uid, fs->st_gid) : in setfile()
379 lchown(to.p_path, fs->st_uid, fs->st_gid)) { in setfile()
/netbsd/crypto/dist/ipsec-tools/src/racoon/
H A Dsafefile.c67 if (s.st_uid != me) {
/netbsd/sys/compat/common/
H A Dvfs_syscalls_50.c99 ost->st_uid = st->st_uid; in cvtstat()
H A Dvfs_syscalls_12.c93 ost->st_uid = st->st_uid; in compat_12_stat_conv()
/netbsd/sys/compat/linux32/common/
H A Dlinux32_stat.c95 st32->lst_uid = st->st_uid; in bsd_to_linux32_stat()
122 st32->lst_uid = st->st_uid; in bsd_to_linux32_stat64()
/netbsd/external/gpl3/gdb/dist/gnulib/import/
H A Dstat-w32.c309 buf->st_uid = 0; in _gl_fstat_by_handle()
375 buf->st_uid = 0; in _gl_fstat_by_handle()
/netbsd/external/bsd/am-utils/dist/amd/
H A Dinfo_exec.c367 if (sb.st_uid != 0) { in exec_check_perm()
368 plog(XLOG_ERROR, "map \"%s\" owned by uid %u (must be 0)", map, (u_int) sb.st_uid); in exec_check_perm()
/netbsd/crypto/external/bsd/openssh/dist/
H A Dsftp-usergroup.c170 if (ruser_name(stp->st_uid) != NULL) in collect_ids_from_glob()
172 id = (u_int)stp->st_uid; in collect_ids_from_glob()
/netbsd/external/ibm-public/postfix/dist/src/util/
H A Ddict_cidr.c313 dict_cidr->dict.owner.uid = st.st_uid; in dict_cidr_open()
314 dict_cidr->dict.owner.status = (st.st_uid != 0); in dict_cidr_open()
H A Ddict.c513 dict->owner.uid = st.st_uid; in dict_load_fp()
514 dict->owner.status = (st.st_uid != 0); in dict_load_fp()
/netbsd/external/gpl3/gdb.old/dist/gnulib/import/
H A Dstat-w32.c309 buf->st_uid = 0; in _gl_fstat_by_handle()
375 buf->st_uid = 0; in _gl_fstat_by_handle()
/netbsd/usr.sbin/makefs/
H A Dwalk.c560 dirnode->inode->st.st_uid, specnode->st_uid); in apply_specentry()
561 dirnode->inode->st.st_uid = specnode->st_uid; in apply_specentry()
/netbsd/sys/compat/netbsd32/
H A Dnetbsd32.h777 uid_t st_uid; /* user ID of the file's owner */ member
798 uint16_t st_uid; /* user ID of the file's owner */ member
816 uid_t st_uid; /* user ID of the file's owner */ member
838 uid_t st_uid; /* user ID of the file's owner */ member
859 uid_t st_uid; /* user ID of the file's owner */ member
/netbsd/external/bsd/cron/dist/
H A Ddatabase.c292 if (statbuf->st_uid != ROOT_UID && (pw == NULL || in process_crontab()
293 statbuf->st_uid != pw->pw_uid || strcmp(uname, pw->pw_name) != 0)) { in process_crontab()
/netbsd/external/bsd/nvi/dist/ex/
H A Dex_init.c361 if (!(rootown && sbp->st_uid == 0) && in exrc_isok()
362 !(rootid && euid == 0) && sbp->st_uid != euid) { in exrc_isok()
/netbsd/bin/mv/
H A Dmv.c203 user_from_uid(sb.st_uid, 0), in do_move()
351 if (fchown(to_fd, sbp->st_uid, sbp->st_gid)) { in fastcopy()
/netbsd/external/mit/libuv/dist/src/
H A Dfs-poll.c267 && a->st_uid == b->st_uid in statbuf_eq()
/netbsd/bin/pax/
H A Dsel_subs.c193 pt = usrtb[((unsigned)arcn->sb.st_uid) % USR_TB_SZ]; in usr_match()
195 if (pt->uid == arcn->sb.st_uid) in usr_match()
/netbsd/usr.bin/find/
H A Dls.c74 LOGIN_NAME_MAX, user_from_uid(sb->st_uid, 0), LOGIN_NAME_MAX, in printlong()
/netbsd/distrib/utils/tls/
H A Dtls.c115 printf("%4d ", st.st_uid); in show_long()
/netbsd/external/gpl2/gettext/dist/gettext-tools/gnulib-lib/
H A Dcopy-file.c109 chown (dest_filename, statbuf.st_uid, statbuf.st_gid); in copy_file_preserving()
/netbsd/usr.bin/stat/
H A Dstat.c757 small = (sizeof(st->st_uid) == 4); in format1()
758 data = st->st_uid; in format1()
759 if ((pw = getpwuid(st->st_uid)) != NULL) in format1()
762 snprintf(sid, sizeof(sid), "(%ld)", (long)st->st_uid); in format1()

12345678910>>...18