diff options
author | Lakshmi Ramasubramanian <nramas@linux.microsoft.com> | 2020-01-23 02:32:04 +0100 |
---|---|---|
committer | Mimi Zohar <zohar@linux.ibm.com> | 2020-01-23 13:35:11 +0100 |
commit | 9f81a2eda488fef4c4e33a3965ae1759eb7db280 (patch) | |
tree | 822a66bb5abaf5dfcd3e224257ce5a97f3c3e7f1 /drivers/ide/siimage.c | |
parent | IMA: pre-allocate buffer to hold keyrings string (diff) | |
download | linux-9f81a2eda488fef4c4e33a3965ae1759eb7db280.tar.xz linux-9f81a2eda488fef4c4e33a3965ae1759eb7db280.zip |
IMA: Define workqueue for early boot key measurements
Measuring keys requires a custom IMA policy to be loaded. Keys created
or updated before a custom IMA policy is loaded should be queued and
will be processed after a custom policy is loaded.
This patch defines a workqueue for queuing keys when a custom IMA policy
has not yet been loaded. An intermediate Kconfig boolean option namely
IMA_QUEUE_EARLY_BOOT_KEYS is used to declare the workqueue functions.
A flag namely ima_process_keys is used to check if the key should be
queued or should be processed immediately.
Signed-off-by: Lakshmi Ramasubramanian <nramas@linux.microsoft.com>
Signed-off-by: Mimi Zohar <zohar@linux.ibm.com>
Diffstat (limited to 'drivers/ide/siimage.c')
0 files changed, 0 insertions, 0 deletions