Lines Matching refs:lstat
327 if (lstat("/var/run", &sb) != 0 || !(S_ISDIR(sb.st_mode))) {
2550 if (lstat(DoorFileName, &buf) < 0) {
2553 DPRINT3(5, "open_door(%u): lstat() of %s "
2583 if (lstat(OLD_DOORFILE, &buf) == 0) {
2584 DPRINT2(5, "open_door(%u): lstat() of %s "
2741 if (lstat(OLD_PIDFILE, &buf) == 0) {
2742 DPRINT2(5, "open_door(%u): lstat() of %s "
4412 if (lstat(DoorFileName, &sb) == 0 && !S_ISDIR(sb.st_mode)) {
4429 if (lstat(OLD_DOORFILE, &sb) == 0 && !S_ISDIR(sb.st_mode)) {
4458 if (lstat(PidFileName, &sb) == 0 && !S_ISDIR(sb.st_mode)) {
4475 if (lstat(OLD_PIDFILE, &sb) == 0 && !S_ISDIR(sb.st_mode)) {