Lines Matching refs:MEASURE
43 #define MEASURE 0x0001 /* same as IMA_MEASURE */ macro
166 {.action = MEASURE, .func = MMAP_CHECK, .mask = MAY_EXEC,
168 {.action = MEASURE, .func = BPRM_CHECK, .mask = MAY_EXEC,
170 {.action = MEASURE, .func = FILE_CHECK, .mask = MAY_READ,
173 {.action = MEASURE, .func = MODULE_CHECK, .flags = IMA_FUNC},
174 {.action = MEASURE, .func = FIRMWARE_CHECK, .flags = IMA_FUNC},
178 {.action = MEASURE, .func = MMAP_CHECK, .mask = MAY_EXEC,
180 {.action = MEASURE, .func = BPRM_CHECK, .mask = MAY_EXEC,
182 {.action = MEASURE, .func = FILE_CHECK, .mask = MAY_READ,
185 {.action = MEASURE, .func = FILE_CHECK, .mask = MAY_READ,
188 {.action = MEASURE, .func = MODULE_CHECK, .flags = IMA_FUNC},
189 {.action = MEASURE, .func = FIRMWARE_CHECK, .flags = IMA_FUNC},
190 {.action = MEASURE, .func = POLICY_CHECK, .flags = IMA_FUNC},
253 {.action = MEASURE, .func = CRITICAL_DATA, .flags = IMA_FUNC},
1249 if (entry->action != MEASURE && entry->flags & IMA_PCR) in ima_validate_rule()
1305 if (entry->action & ~(MEASURE | DONT_MEASURE)) in ima_validate_rule()
1316 if (entry->action & ~(MEASURE | DONT_MEASURE)) in ima_validate_rule()
1328 if (entry->action & ~(MEASURE | DONT_MEASURE)) in ima_validate_rule()
1446 entry->action = MEASURE; in ima_parse_rule()
1865 if (entry->action != MEASURE) { in ima_parse_rule()
1903 if (!result && entry->action == MEASURE && in ima_parse_rule()
2089 if (entry->action & MEASURE) in ima_policy_show()