• Home
  • Raw
  • Download

Lines Matching refs:fileinfo

90   struct stat		fileinfo;	/* File information */  in _cupsFileCheck()  local
115 if (stat(filename, &fileinfo)) in _cupsFileCheck()
134 if (!S_ISDIR(fileinfo.st_mode)) in _cupsFileCheck()
139 if (!S_ISREG(fileinfo.st_mode)) in _cupsFileCheck()
169 if (fileinfo.st_uid || /* 1. Must be owned by root */ in _cupsFileCheck()
170 (fileinfo.st_mode & S_IWGRP) || /* 2. Must not be writable by group */ in _cupsFileCheck()
171 (fileinfo.st_mode & S_ISUID) || /* 3. Must not be setuid */ in _cupsFileCheck()
172 (fileinfo.st_mode & S_IWOTH)) /* 4. Must not be writable by others */ in _cupsFileCheck()
195 if (stat(temp, &fileinfo)) in _cupsFileCheck()
208 if (fileinfo.st_uid || /* 1. Must be owned by root */ in _cupsFileCheck()
209 (fileinfo.st_mode & S_IWGRP) || /* 2. Must not be writable by group */ in _cupsFileCheck()
210 (fileinfo.st_mode & S_ISUID) || /* 3. Must not be setuid */ in _cupsFileCheck()
211 (fileinfo.st_mode & S_IWOTH)) /* 4. Must not be writable by others */ in _cupsFileCheck()
236 filename, fileinfo.st_mode, (int)fileinfo.st_uid, in _cupsFileCheck()
237 (int)fileinfo.st_gid); in _cupsFileCheck()
242 filename, fileinfo.st_mode, (int)fileinfo.st_uid, in _cupsFileCheck()
243 (int)fileinfo.st_gid); in _cupsFileCheck()
264 filename, fileinfo.st_mode, (int)fileinfo.st_uid, in _cupsFileCheck()
265 (int)fileinfo.st_gid); in _cupsFileCheck()
271 filename, fileinfo.st_mode, (int)fileinfo.st_uid, in _cupsFileCheck()
272 (int)fileinfo.st_gid); in _cupsFileCheck()
2600 struct stat fileinfo; /* File information */ in cups_open() local
2618 if (fstat(fd, &fileinfo)) in cups_open()
2624 if (fileinfo.st_nlink != 1) in cups_open()
2632 if (fileinfo.st_mode & _S_IFDIR) in cups_open()
2634 if (S_ISDIR(fileinfo.st_mode)) in cups_open()
2654 fileinfo.st_dev != linkinfo.st_dev || in cups_open()
2655 fileinfo.st_ino != linkinfo.st_ino || in cups_open()
2657 fileinfo.st_gen != linkinfo.st_gen || in cups_open()
2659 fileinfo.st_nlink != linkinfo.st_nlink || in cups_open()
2660 fileinfo.st_mode != linkinfo.st_mode) in cups_open()