Lines Matching defs:st
97 struct stat st;
164 if (stat(shell, &st) != 0) {
170 if (S_ISREG(st.st_mode) == 0 ||
171 (st.st_mode & (S_IXOTH|S_IXUSR|S_IXGRP)) == 0) {
371 struct stat st;
381 (stat(user_hostfile, &st) == 0) &&
382 ((st.st_uid != 0 && st.st_uid != pw->pw_uid) ||
383 (st.st_mode & 022) != 0)) {
432 struct stat st;
443 if (fstat(fileno(f), &st) < 0 ||
444 (st.st_uid != 0 && st.st_uid != uid) ||
445 (st.st_mode & 022) != 0) {
467 if (stat(buf, &st) < 0 ||
468 (st.st_uid != 0 && st.st_uid != uid) ||
469 (st.st_mode & 022) != 0) {
494 struct stat st;
505 if (fstat(fd, &st) < 0) {
509 if (!S_ISREG(st.st_mode)) {