Lines Matching refs:stat_buf
857 struct stat stat_buf;
872 statret = stat(socket_name, &stat_buf);
877 if ( ! (stat_buf.st_uid == 0 &&
878 stat_buf.st_gid == 0 &&
879 S_ISSOCK(stat_buf.st_mode) &&
880 (stat_buf.st_mode & ~S_IFMT) == 0600 )) {
887 statret = stat(socket_name, &stat_buf);
892 if ( ! (stat_buf.st_uid == 0 &&
893 stat_buf.st_gid == 0 &&
894 S_ISSOCK(stat_buf.st_mode) &&
895 (stat_buf.st_mode & ~S_IFMT) == 0666 )) {