Lines Matching refs:status
131 enum integrity_status status) in ima_set_cache_status() argument
136 iint->ima_mmap_status = status; in ima_set_cache_status()
139 iint->ima_bprm_status = status; in ima_set_cache_status()
142 iint->ima_creds_status = status; in ima_set_cache_status()
146 iint->ima_file_status = status; in ima_set_cache_status()
150 iint->ima_read_status = status; in ima_set_cache_status()
280 enum integrity_status *status, const char **cause) in xattr_verify() argument
293 if (*status != INTEGRITY_PASS_IMMUTABLE) { in xattr_verify()
299 *status = INTEGRITY_FAIL; in xattr_verify()
319 *status = INTEGRITY_FAIL; in xattr_verify()
322 *status = INTEGRITY_PASS; in xattr_verify()
330 *status = INTEGRITY_FAIL; in xattr_verify()
337 *status = INTEGRITY_FAIL; in xattr_verify()
346 *status = INTEGRITY_UNKNOWN; in xattr_verify()
358 *status = INTEGRITY_FAIL; in xattr_verify()
360 *status = INTEGRITY_PASS; in xattr_verify()
369 *status = INTEGRITY_FAIL; in xattr_verify()
377 *status = INTEGRITY_FAIL; in xattr_verify()
387 *status = INTEGRITY_FAIL; in xattr_verify()
397 *status = INTEGRITY_FAIL; in xattr_verify()
399 *status = INTEGRITY_PASS; in xattr_verify()
404 *status = INTEGRITY_UNKNOWN; in xattr_verify()
420 enum integrity_status *status, const char **cause) in modsig_verify() argument
431 *status = INTEGRITY_FAIL; in modsig_verify()
433 *status = INTEGRITY_PASS; in modsig_verify()
502 enum integrity_status status = INTEGRITY_UNKNOWN; in ima_appraise_measurement() local
534 status = INTEGRITY_NOLABEL; in ima_appraise_measurement()
540 status = INTEGRITY_PASS; in ima_appraise_measurement()
544 status = evm_verifyxattr(dentry, XATTR_NAME_IMA, xattr_value, in ima_appraise_measurement()
546 switch (status) { in ima_appraise_measurement()
567 WARN_ONCE(true, "Unexpected integrity status %d\n", status); in ima_appraise_measurement()
571 rc = xattr_verify(func, iint, xattr_value, xattr_len, &status, in ima_appraise_measurement()
581 rc = modsig_verify(func, modsig, &status, &cause); in ima_appraise_measurement()
593 status = INTEGRITY_FAIL; in ima_appraise_measurement()
597 } else if (status != INTEGRITY_PASS) { in ima_appraise_measurement()
603 status = INTEGRITY_PASS; in ima_appraise_measurement()
612 status = INTEGRITY_PASS; in ima_appraise_measurement()
621 ima_set_cache_status(iint, func, status); in ima_appraise_measurement()
622 return status; in ima_appraise_measurement()