summaryrefslogtreecommitdiffstats
path: root/meta-integrity/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'meta-integrity/README.md')
-rw-r--r--meta-integrity/README.md8
1 files changed, 6 insertions, 2 deletions
diff --git a/meta-integrity/README.md b/meta-integrity/README.md
index 1a37280..2f30e78 100644
--- a/meta-integrity/README.md
+++ b/meta-integrity/README.md
@@ -219,12 +219,16 @@ executing the file is no longer allowed:
219 -sh: /usr/bin/rpm: Permission denied 219 -sh: /usr/bin/rpm: Permission denied
220 220
221Enabling the audit kernel subsystem may help to debug appraisal 221Enabling the audit kernel subsystem may help to debug appraisal
222issues. Enable it by adding the meta-security-framework layer and 222issues. Enable it by adding a kernel configuration fragment and
223changing your local.conf: 223changing your local.conf:
224 SRC_URI:append:pn-linux-yocto = " file://audit.cfg" 224 SRC_URI:append:pn-linux-yocto = " file://audit.cfg"
225 CORE_IMAGE_EXTRA_INSTALL += "auditd" 225 CORE_IMAGE_EXTRA_INSTALL += "auditd"
226 226
227Then boot with "ima_appraise=log ima_appraise_tcb". 227Then boot with "ima_appraise=log ima_appraise_tcb integrity_audit=1".
228For example, for QEMU by changing variable QB_KERNEL_CMDLINE_APPEND
229in your local.conf:
230 QB_KERNEL_CMDLINE_APPEND:remove:pn-integrity-image-minimal = "ima_policy=tcb ima_appraise=fix"
231 QB_KERNEL_CMDLINE_APPEND:append:pn-integrity-image-minimal = " ima_appraise=log ima_appraise_tcb integrity_audit=1"
228 232
229Adding auditd is not strictly necessary but helps to capture a 233Adding auditd is not strictly necessary but helps to capture a
230more complete set of events in /var/log/audit/ and search in 234more complete set of events in /var/log/audit/ and search in