The C maximum line length is 80 characters. ÂThe subject line is evenI'll update the subject line for the patches - limit to max 50 chars.
less than that (~50). ÂThe Subject line here could be "ima: add
support to limit measuring keys".
Will update.
On Mon, 2019-11-11 at 11:32 -0800, Lakshmi Ramasubramanian wrote:
IMA policy needs to support measuring only those keys linked to
a specific set of keyrings.
Patch descriptions should be written in the imperative. ÂFor example,
"Limit measuring keys to those keys being loaded onto a specific
keyring."
This patch defines a new IMA policy option namely "keyrings=" that
can be used to specify a set of keyrings. If this option is specified
in the policy for func=KEYRING_CHECK then only the keys linked to
the keyrings given in "keyrings=" option are measured.
This description does not seem to match the code, which for some
reason isn't included in this patch, nor in 3/10. ÂPlease
combine/squash patches 2 & 3. ÂMissing from the combined patch is the
keyring matching code in ima_match_rules().