Searched refs:st_mode (Results 201 - 225 of 568) sorted by relevance

1234567891011>>

/freebsd-11-stable/contrib/netbsd-tests/fs/tmpfs/
H A Dt_create.sh72 test ${st_mode} = 0100644 || atf_fail "Incorrect mode"
H A Dt_setattr.sh146 [ ${st_mode} -eq 40000 ] || af_fail "mode was not set"
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/sys/
H A Dt_mkfifo.c255 if (S_ISFIFO(st.st_mode) == 0)
/freebsd-11-stable/contrib/elftoolchain/libelf/
H A Dlibelf_open.c140 mode = sb.st_mode;
/freebsd-11-stable/contrib/libarchive/libarchive/
H A Darchive_read_open_fd.c96 if (S_ISREG(st.st_mode)) {
/freebsd-11-stable/bin/pax/
H A Dar_io.c170 if (S_ISDIR(arsb.st_mode)) {
179 if (S_ISCHR(arsb.st_mode))
181 else if (S_ISBLK(arsb.st_mode))
329 if (can_unlnk && (fstat(arfd, &arsb) == 0) && (S_ISREG(arsb.st_mode)) &&
/freebsd-11-stable/bin/sh/
H A Dexec.c383 if (!S_ISREG(statb.st_mode))
394 if ((statb.st_mode & 0100) == 0)
397 if ((statb.st_mode & 010) == 0)
400 if ((statb.st_mode & 01) == 0)
H A Dmain.c303 if ((stat(fullname, &statb) == 0) && S_ISREG(statb.st_mode)) {
/freebsd-11-stable/libexec/rbootd/
H A Dparseconf.c342 (statb.st_mode & S_IFMT) != S_IFREG)
/freebsd-11-stable/libexec/talkd/
H A Dannounce.c75 if (stat(full_tty, &stbuf) < 0 || (stbuf.st_mode&020) == 0)
/freebsd-11-stable/sbin/badsect/
H A Dbadsect.c111 (devstat.st_mode & IFMT) == IFCHR)
/freebsd-11-stable/crypto/openssh/openbsd-compat/
H A Drealpath.c171 if (S_ISLNK(sb.st_mode)) {
/freebsd-11-stable/crypto/heimdal/lib/hx509/
H A Dks_dir.c73 if (!S_ISDIR(sb.st_mode)) {
/freebsd-11-stable/contrib/ntp/sntp/libopts/
H A Dtext_mmap.c216 if (! S_ISREG(sb.st_mode)) {
/freebsd-11-stable/usr.bin/ktrace/
H A Dktrace.c155 if (!(S_ISREG(sb.st_mode)))
/freebsd-11-stable/usr.bin/talk/
H A Dinit_disp.c66 if (!(sb.st_mode & S_IWGRP))
/freebsd-11-stable/usr.sbin/lpr/lpr/
H A Dlpr.c322 if (userid && stat(buf, &stb) == 0 && (stb.st_mode & LFM_QUEUE_DIS))
428 if (S_ISLNK(statb1.st_mode))
717 if ((statb.st_mode & S_IFMT) == S_IFDIR) {
777 if (stats.st_mode & S_ISVTX) {
/freebsd-11-stable/contrib/netbsd-tests/include/
H A Dt_paths.c179 m = st.st_mode;
/freebsd-11-stable/sbin/mount/
H A Dgetmntopts.c133 if (!S_ISDIR(sb.st_mode)) {
/freebsd-11-stable/usr.sbin/fstyp/
H A Dfstyp.c149 if (S_ISREG(sb.st_mode))
/freebsd-11-stable/usr.sbin/fifolog/lib/
H A Dfifolog_int.c76 if (!S_ISREG(st.st_mode))
/freebsd-11-stable/usr.bin/uuencode/
H A Duuencode.c110 mode = sb.st_mode & RWX;
/freebsd-11-stable/usr.sbin/pw/
H A Dpw.c151 if (!S_ISDIR(st.st_mode))
/freebsd-11-stable/usr.bin/unzip/
H A Dunzip.c320 if (S_ISDIR(sb.st_mode))
358 if (S_ISDIR(sb.st_mode)) {
604 if ((S_ISREG(sb.st_mode) || S_ISLNK(sb.st_mode)) &&
/freebsd-11-stable/usr.sbin/ppp/
H A Dtcp.c175 if (fstat(p->fd, &st) != -1 && (st.st_mode & S_IFSOCK)) {

Completed in 255 milliseconds

1234567891011>>