| /mirbsd/src/libexec/login_token/ |
| D | tokendb.c | 170 struct stat statb; in tokendb_open() local 182 if (stat(tt->db, &statb) < 0) { in tokendb_open() 187 if (statb.st_uid != 0 || statb.st_gid != grp->gr_gid) { in tokendb_open() 193 "Group was %u", tt->db, statb.st_uid, statb.st_gid); in tokendb_open() 199 if ((statb.st_mode & 0777) != 0640) { in tokendb_open() 205 tt->db, statb.st_mode); in tokendb_open()
|
| /mirbsd/src/lib/libc/gen/ |
| D | getusershell.c | 92 struct stat statb; in initshells() local 102 if (fstat(fileno(fp), &statb) == -1) { in initshells() 106 if ((strings = malloc((u_int)statb.st_size)) == NULL) { in initshells() 110 shells = calloc((unsigned)statb.st_size / 3, sizeof (char *)); in initshells()
|
| /mirbsd/src/usr.bin/mail/ |
| D | edit.c | 148 struct stat statb; in run_editor() local 169 if (fstat(fileno(nf), &statb) < 0) in run_editor() 172 modtime = statb.st_mtime; in run_editor() 201 if (stat(tempname, &statb) < 0) { in run_editor() 205 if (modtime == statb.st_mtime) { in run_editor()
|
| D | quit.c | 411 struct stat statb; in edstop() local 440 if (stat(mailname, &statb) >= 0 && statb.st_size > mailsize) { in edstop()
|
| /mirbsd/src/libexec/talkd/ |
| D | process.c | 216 struct stat statb; in find_user() local 222 if (stat(ftty, &statb) == 0) { in find_user() 223 if (!(statb.st_mode & S_IWGRP)) { in find_user() 226 } else if (now - statb.st_atime < idle) { in find_user() 227 idle = now - statb.st_atime; in find_user()
|
| /mirbsd/src/usr.sbin/lpr/lpr/ |
| D | lpr.c | 104 static struct stat statb; variable 345 statb.st_dev, statb.st_ino); in main() 586 if (fstat(fd, &statb) < 0) { in test() 590 if (S_ISDIR(statb.st_mode)) { in test() 594 if (!S_ISREG(statb.st_mode)) { in test() 598 if (statb.st_size == 0) { in test()
|
| /mirbsd/src/usr.sbin/rbootd/ |
| D | parseconf.c | 311 struct stat statb; in GetBootFiles() local 340 if (stat(dp->d_name, &statb) < 0 || in GetBootFiles() 341 (statb.st_mode & S_IFMT) != S_IFREG) in GetBootFiles()
|
| /mirbsd/src/usr.sbin/lpr/common_source/ |
| D | displayq.c | 101 struct stat statb; in displayq() local 148 ret = stat(LO, &statb); in displayq() 151 if (statb.st_mode & S_IXUSR) { in displayq() 165 if (statb.st_mode & S_IXGRP) { in displayq()
|
| /mirbsd/src/bin/mksh/ |
| D | histrap.c | 327 struct stat statb; in c_fc() local 338 if (stat(tf->tffn, &statb) < 0) in c_fc() 340 else if ((off_t)statb.st_size > MKSH_MAXHISTFSIZE) { in c_fc() 342 "file", (unsigned long)statb.st_size); in c_fc() 345 n = (size_t)statb.st_size + 1; in c_fc()
|
| D | eval.c | 1511 stat(Xstring(*xs, xp), &statb) < 0 ? -1 : 1)) in globit() 1512 struct stat lstatb, statb; in globit() local 1526 stat_check() < 0 || !S_ISDIR(statb.st_mode))) in globit() 1537 S_ISDIR(statb.st_mode)))) { in globit()
|
| D | main.c | 1318 struct stat statb; in can_seek() local 1320 return (fstat(fd, &statb) == 0 && !S_ISREG(statb.st_mode) ? in can_seek()
|
| D | exec.c | 1299 struct stat statb; in iosetup() local 1331 (stat(cp, &statb) < 0 || S_ISREG(statb.st_mode))) in iosetup()
|
| D | var.c | 1259 struct stat statb; in setspec() local 1264 stat(s, &statb) == 0 && S_ISDIR(statb.st_mode)) in setspec()
|
| D | edit.c | 407 struct stat statb; in x_file_glob() local 421 stat(words[0], &statb) < 0) || in x_file_glob()
|
| /mirbsd/src/sbin/fsck_ext2fs/ |
| D | setup.c | 69 struct stat statb; in setup() local 77 if (stat(dev, &statb) < 0) { in setup() 81 if (!S_ISCHR(statb.st_mode)) { in setup()
|
| /mirbsd/src/sbin/fsck_ffs/ |
| D | setup.c | 73 struct stat statb; in setup() local 81 if (stat(dev, &statb) < 0) { in setup() 85 if (!S_ISCHR(statb.st_mode)) { in setup()
|
| /mirbsd/src/sys/dev/isa/ |
| D | if_eg.c | 186 egreadPCBstat(sc, statb) in egreadPCBstat() argument 188 u_char statb; 200 if ((bus_space_read_1(bst, bsh, EG_STATUS) & EG_PCB_STAT) == statb)
|
| /mirbsd/src/gnu/usr.bin/cvs/diff/ |
| D | diff3.c | 274 struct stat statb; local 420 if (stat (file[i], &statb) < 0) 425 else if (S_ISDIR(statb.st_mode))
|
| /mirbsd/src/usr.sbin/httpd/src/modules/standard/ |
| D | mod_negotiation.c | 1517 struct stat statb; in find_content_length() local 1523 if (stat(fullname, &statb) >= 0) { in find_content_length() 1525 variant->bytes = (float) statb.st_size; in find_content_length()
|
| /mirbsd/src/gnu/usr.sbin/sendmail/sendmail/ |
| D | readcf.c | 107 struct stat statb; local 142 if (fstat(sm_io_getinfo(cf, SM_IO_WHAT_FD, NULL), &statb) < 0) 148 if (!S_ISREG(statb.st_mode)) 154 if (OpMode != MD_TEST && bitset(S_IWGRP|S_IWOTH, statb.st_mode))
|
| D | queue.c | 5964 struct stat statb; local 5972 if (lstat(name, &statb) < 0) 5974 if (stat(name, &statb) < 0) 5983 if (S_ISLNK(statb.st_mode)) 5990 if (stat(name, &statb) < 0) 6000 if (!S_ISDIR(statb.st_mode))
|