On Wed, 2020-08-12 at 12:31 -0700, Tushar Sugandhi wrote:Thanks for the feedback Mimi. Will do.
There would be several candidate kernel components suitable for IMA
measurement. Not all of them would be enlightened for IMA measurement.
Also, system administrators may not want to measure data for all of
them, even when they are enlightened for IMA measurements. An IMA policy
specific to various kernel components is needed to measure their
respective critical data.
Add a new IMA policy CRITICAL_DATA+data_sources to support measuring
various critical kernel components. This policy would enable the
system administrators to limit the measurement to the components,
if the components are enlightened for IMA measurement.
"enlightened", really? Please find a different term, maybe something
like "supported".
Thanks for the feedback Mimi.
Before posting a patch set, please look at the patches line by line,
like anyone reviewing the code needs to do. Please minimize code
change. Unnecessary formatting changes are unacceptible. For
example, like the "#define", below, or in 3/3 the
"process_buffer_measurement()" change from void to int.This was also intentional, and was reviewed internally.
scripts/Lindent isn't as prevalent as it used to be, but it's stillThanks for the pointer. We'll use scripts/Lindent going forward.
included in Documentation/process/coding-style.rst. Use it as a guide.
Mimi