Home
last modified time | relevance | path

Searched refs:valid_policy (Results 1 – 1 of 1) sorted by relevance

/security/integrity/ima/
Dima_fs.c41 static int valid_policy = 1; variable
353 valid_policy = 0; in ima_write_policy()
410 const char *cause = valid_policy ? "completed" : "failed"; in ima_release_policy()
415 if (valid_policy && ima_check_policy() < 0) { in ima_release_policy()
417 valid_policy = 0; in ima_release_policy()
422 "policy_update", cause, !valid_policy, 0); in ima_release_policy()
424 if (!valid_policy) { in ima_release_policy()
426 valid_policy = 1; in ima_release_policy()