Lines Matching refs:sb
64 struct stat sb;
69 if (fstat(fd, &sb) != 0) {
75 if (!S_ISREG(sb.st_mode)) {
81 if ((sb.st_uid != root && sb.st_uid != arbitrator) ||
82 (sb.st_mode & (S_IWGRP|S_IWOTH)) != 0) {
108 struct stat sb;
119 if (stat(pathbuf, &sb) != 0) {
127 if (tip && !S_ISREG(sb.st_mode)) {
133 if ((sb.st_uid != root && sb.st_uid != arbitrator) ||
134 (sb.st_mode & (S_IWGRP|S_IWOTH)) != 0) {