Lines Matching refs:sb2
259 struct stat sb1, sb2;
288 ret = fstat(fd, &sb2);
298 if (sb1.st_dev != sb2.st_dev || sb1.st_ino != sb2.st_ino) {
306 if (sb2.st_nlink != 0) {
406 struct stat sb1, sb2;
452 ret = fstat(fd, &sb2);
459 if (!S_ISREG(sb2.st_mode)) {
467 (sb1.st_dev != sb2.st_dev || sb1.st_ino != sb2.st_ino)) {
477 if (ret || sb1.st_dev != sb2.st_dev ||
478 sb3.st_dev != sb2.st_dev || sb3.st_ino != sb2.st_ino) {
501 if (sb2.st_nlink != 1) {
518 if (sb2.st_uid != geteuid()) {
519 krb5_set_error_message(context, EPERM, N_("Refuses to open cache files not own by myself FILE:%s (owned by %d)", ""), filename, (int)sb2.st_uid);
523 if ((sb2.st_mode & 077) != 0) {
930 struct stat sb1, sb2;
1005 fstat(fd, &sb2) == -1)
1007 if (sb1.st_dev != sb2.st_dev || sb1.st_ino != sb2.st_ino)