Searched refs:valid_policy (Results 1 – 3 of 3) sorted by relevance
39 static int valid_policy = 1; variable354 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()
199 static inline bool valid_policy(int policy) in valid_policy() function
7645 if (!valid_policy(policy)) in __sched_setscheduler()