Home
last modified time | relevance | path

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

/linux-6.6.21/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()
/linux-6.6.21/kernel/sched/
Dsched.h199 static inline bool valid_policy(int policy) in valid_policy() function
Dcore.c7645 if (!valid_policy(policy)) in __sched_setscheduler()