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

1234567891011>>

/freebsd-current/contrib/nvi/cl/
H A Dcl_term.c328 clp->tgw = sb.st_mode & S_IWGRP ? TGW_SET : TGW_UNSET;
332 if (chmod(tty, sb.st_mode | S_IWGRP) < 0) {
339 if (chmod(tty, sb.st_mode & ~S_IWGRP) < 0) {
/freebsd-current/usr.bin/mail/
H A Dlex.c86 if (S_ISDIR(stb.st_mode) || !S_ISREG(stb.st_mode)) {
88 errno = S_ISDIR(stb.st_mode) ? EISDIR : EINVAL;
/freebsd-current/sys/kern/
H A Dsys_procdesc.c534 sb->st_mode = S_IFREG | S_IRWXU;
536 sb->st_mode = S_IFREG;
541 sb->st_mode = S_IFREG;
/freebsd-current/contrib/elftoolchain/libelf/
H A Dlibelf_open.c140 mode = sb.st_mode;
/freebsd-current/contrib/capsicum-test/
H A Dcapsicum-test-main.cc122 assert(S_ISDIR(info.st_mode));
/freebsd-current/contrib/netbsd-tests/fs/tmpfs/
H A Dt_setattr.sh146 [ ${st_mode} -eq 40000 ] || af_fail "mode was not set"
H A Dt_create.sh72 test ${st_mode} = 0100644 || atf_fail "Incorrect mode"
/freebsd-current/crypto/heimdal/lib/hx509/
H A Dks_dir.c73 if (!S_ISDIR(sb.st_mode)) {
/freebsd-current/contrib/netbsd-tests/include/
H A Dt_paths.c179 m = st.st_mode;
/freebsd-current/contrib/netbsd-tests/lib/libc/sys/
H A Dt_mkfifo.c255 if (S_ISFIFO(st.st_mode) == 0)
/freebsd-current/tools/test/stress2/lib/
H A Dmain.c195 } else if ((sb.st_mode & S_IRWXU) == 0)
/freebsd-current/tools/test/stress2/misc/
H A Dsyzkaller13.sh148 if (S_ISDIR(st.st_mode)) {
H A Drename8.sh125 if (!S_ISDIR(sb.st_mode))
/freebsd-current/crypto/openssh/
H A Dsftp-realpath.c168 if (S_ISLNK(sb.st_mode)) {
/freebsd-current/sys/contrib/openzfs/cmd/zed/
H A Dzed_conf.c377 if (!S_ISREG(st.st_mode)) {
389 if (!(st.st_mode & S_IXUSR)) {
395 if ((st.st_mode & S_IWGRP) && !zcp->do_force) {
401 if ((st.st_mode & S_IWOTH) && !zcp->do_force) {
/freebsd-current/contrib/ntp/sntp/libopts/
H A Dtext_mmap.c220 if (! S_ISREG(sb.st_mode)) {
/freebsd-current/sbin/veriexec/
H A Dmanifest_parser.y276 if (!(st.st_mode & (S_IXUSR|S_IXGRP|S_IXOTH))) {
/freebsd-current/tools/tools/zfsboottest/
H A Dzfsboottest.c64 if (S_ISCHR(sb.st_mode) && ioctl(fd, DIOCGMEDIASIZE, &sb.st_size) != 0)
/freebsd-current/usr.sbin/fifolog/lib/
H A Dfifolog_int.c74 if (!S_ISREG(st.st_mode))
/freebsd-current/usr.sbin/ppp/
H A Dtcp.c173 if (fstat(p->fd, &st) != -1 && (st.st_mode & S_IFSOCK)) {
/freebsd-current/sys/arm64/linux/
H A Dlinux.h129 l_uint st_mode; member in struct:l_newstat
/freebsd-current/sys/amd64/linux/
H A Dlinux.h137 l_uint st_mode; member in struct:l_newstat
/freebsd-current/usr.bin/talk/
H A Dinit_disp.c62 if (!(sb.st_mode & S_IWGRP))
/freebsd-current/usr.sbin/fstyp/
H A Dfstyp.c158 if (S_ISREG(sb.st_mode))
/freebsd-current/usr.bin/grep/
H A Dfile.c187 if (fstat(f->fd, &st) == -1 || !S_ISREG(st.st_mode))

Completed in 242 milliseconds

1234567891011>>