Home
last modified time | relevance | path

Searched refs:action (Results 1 – 2 of 2) sorted by relevance

/security/integrity/ima/
Dima_policy.c59 int action; member
89 {.action = DONT_MEASURE, .fsmagic = PROC_SUPER_MAGIC, .flags = IMA_FSMAGIC},
90 {.action = DONT_MEASURE, .fsmagic = SYSFS_MAGIC, .flags = IMA_FSMAGIC},
91 {.action = DONT_MEASURE, .fsmagic = DEBUGFS_MAGIC, .flags = IMA_FSMAGIC},
92 {.action = DONT_MEASURE, .fsmagic = TMPFS_MAGIC, .flags = IMA_FSMAGIC},
93 {.action = DONT_MEASURE, .fsmagic = DEVPTS_SUPER_MAGIC, .flags = IMA_FSMAGIC},
94 {.action = DONT_MEASURE, .fsmagic = BINFMTFS_MAGIC, .flags = IMA_FSMAGIC},
95 {.action = DONT_MEASURE, .fsmagic = SECURITYFS_MAGIC, .flags = IMA_FSMAGIC},
96 {.action = DONT_MEASURE, .fsmagic = SELINUX_MAGIC, .flags = IMA_FSMAGIC},
97 {.action = DONT_MEASURE, .fsmagic = CGROUP_SUPER_MAGIC,
[all …]
Dima_main.c180 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()
[all …]