Lines Matching defs:mode
691 atf_fs_eaccess(const atf_fs_path_t *p, int mode)
697 PRE(mode & atf_fs_access_f || mode & atf_fs_access_r ||
698 mode & atf_fs_access_w || mode & atf_fs_access_x);
710 if (mode & atf_fs_access_f)
715 if (!ok && !(mode & atf_fs_access_x)) {
727 ok = ((mode & atf_fs_access_r) && (st.st_mode & S_IRUSR)) ||
728 ((mode & atf_fs_access_w) && (st.st_mode & S_IWUSR)) ||
729 ((mode & atf_fs_access_x) && (st.st_mode & S_IXUSR));
732 ok = ((mode & atf_fs_access_r) && (st.st_mode & S_IRGRP)) ||
733 ((mode & atf_fs_access_w) && (st.st_mode & S_IWGRP)) ||
734 ((mode & atf_fs_access_x) && (st.st_mode & S_IXGRP));
738 ok = ((mode & atf_fs_access_r) && (st.st_mode & S_IROTH)) ||
739 ((mode & atf_fs_access_w) && (st.st_mode & S_IWOTH)) ||
740 ((mode & atf_fs_access_x) && (st.st_mode & S_IXOTH));