Home
last modified time | relevance | path

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

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