[RFC PATCH v2 3/3] ima: mamespace audit status flags

2018-03-09 Thread Stefan Berger
From: Mehmet Kayaalp The iint cache stores whether the file is measured, appraised, audited etc. This patch moves the IMA_AUDITED flag into the per-namespace ns_status, enabling IMA audit mechanism to audit the same file each time it is accessed in a new namespace.

[RFC PATCH v2 3/3] ima: mamespace audit status flags

2018-03-09 Thread Stefan Berger
From: Mehmet Kayaalp The iint cache stores whether the file is measured, appraised, audited etc. This patch moves the IMA_AUDITED flag into the per-namespace ns_status, enabling IMA audit mechanism to audit the same file each time it is accessed in a new namespace. The ns_status is not looked