Home
last modified time | relevance | path

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

/security/integrity/ima/
Dima_fs.c39 static int valid_policy = 1; variable
354 valid_policy = 0; in ima_write_policy()
412 const char *cause = valid_policy ? "completed" : "failed"; in ima_release_policy()
417 if (valid_policy && ima_check_policy() < 0) { in ima_release_policy()
419 valid_policy = 0; in ima_release_policy()
424 "policy_update", cause, !valid_policy, 0); in ima_release_policy()
426 if (!valid_policy) { in ima_release_policy()
428 valid_policy = 1; in ima_release_policy()