Lines Matching refs:action
180 int rc = 0, action, must_appraise = 0; in process_measurement() local
194 action = ima_get_action(inode, mask, func, &pcr); in process_measurement()
197 if (!action && !violation_check) in process_measurement()
200 must_appraise = action & IMA_APPRAISE; in process_measurement()
203 if (action & IMA_FILE_APPRAISE) in process_measurement()
208 if (action) { in process_measurement()
215 ima_rdwr_violation_check(file, iint, action & IMA_MEASURE, in process_measurement()
222 if (!action) in process_measurement()
241 iint->flags |= action; in process_measurement()
242 action &= IMA_DO_MASK; in process_measurement()
243 action &= ~((iint->flags & (IMA_DONE_MASK ^ IMA_MEASURED)) >> 1); in process_measurement()
246 if ((action & IMA_MEASURE) && (iint->measured_pcrs & (0x1 << pcr))) in process_measurement()
247 action ^= IMA_MEASURE; in process_measurement()
250 if (!action) { in process_measurement()
257 if ((action & IMA_APPRAISE_SUBMASK) || in process_measurement()
271 if (action & IMA_MEASURE) in process_measurement()
274 if (rc == 0 && (action & IMA_APPRAISE_SUBMASK)) { in process_measurement()
280 if (action & IMA_AUDIT) in process_measurement()