Lines Matching refs:sb
61 struct stat sb;
66 if (fstat(fd, &sb) != 0) {
72 if (!S_ISREG(sb.st_mode)) {
78 if ((sb.st_uid != root && sb.st_uid != arbitrator) ||
79 (sb.st_mode & (S_IWGRP|S_IWOTH)) != 0) {
105 struct stat sb;
115 if (stat(pathbuf, &sb) != 0) {
123 if (tip && !S_ISREG(sb.st_mode)) {
129 if ((sb.st_uid != root && sb.st_uid != arbitrator) ||
130 (sb.st_mode & (S_IWGRP|S_IWOTH)) != 0) {