Lines Matching refs:rc
156 int rc;
159 rc = VE_FINGERPRINT_NONE;
165 return (rc);
167 rc = is_verified(stp);
168 if (rc != VE_NOT_CHECKED) {
169 return (rc);
189 rc = VE_VERIFIED;
191 rc = VE_FINGERPRINT_WRONG;
192 add_verify_status(stp, rc); /* remember */
195 return (rc);
206 int rc;
213 rc = VE_FINGERPRINT_NONE;
228 rc = load_manifest(buf, skip ? prefix : NULL,
234 return (rc);
260 strcmp(cp, ".rc") == 0)
354 int rc;
362 rc = Verifying ? VE_NOT_CHECKED : VE_NOT_VERIFYING;
363 ve_status_set(0, rc);
380 rc = is_verified(stp);
381 DEBUG_PRINTF(4,("verify_prep: is_verified()->%d\n", rc));
382 if (rc == VE_NOT_CHECKED) {
383 rc = find_manifest(filename);
385 ve_status_set(fd, rc);
387 return (rc);
426 int rc;
428 rc = verify_prep(fd, filename, off, &st, caller);
430 if (!rc)
438 if (rc != VE_FINGERPRINT_WRONG && loaded_manifests) {
455 if ((rc = verify_fd(fd, filename, off, &st)) >= 0) {
459 (rc == VE_FINGERPRINT_IGNORE) ? "Unv" : "V",
464 (rc == VE_FINGERPRINT_IGNORE) ? "Unv" : "V",
478 add_verify_status(&st, rc);
479 ve_status_set(fd, rc);
480 return (rc);
483 if (severity || verbose || rc == VE_FINGERPRINT_WRONG)
485 if (rc == VE_FINGERPRINT_UNKNOWN && severity < VE_MUST)
486 rc = VE_UNVERIFIED_OK;
487 else if (rc == VE_FINGERPRINT_NONE && severity < accept_no_fp)
488 rc = VE_UNVERIFIED_OK;
490 add_verify_status(&st, rc);
493 else if (rc != VE_FINGERPRINT_WRONG) {
503 if (rc == VE_FINGERPRINT_WRONG && severity > accept_no_fp)
505 ve_status_set(fd, rc);
506 return (rc);