diff for duplicates of <1574880741.4793.292.camel@linux.ibm.com> diff --git a/a/1.txt b/N1/1.txt index 0086280..ab7d246 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -17,7 +17,8 @@ > + * @rule: a pointer to a rule > + * @keyring: name of the keyring to match against the measure rule > + * -> + * If the measure action for KEY_CHECK does not specify keyrings> + * option then return true (Measure all keys). +> + * If the measure action for KEY_CHECK does not specify keyrings= +> + * option then return true (Measure all keys). > + * Else, return true if the given keyring name is present in > + * the keyrings= option. False, otherwise. @@ -58,7 +59,7 @@ style.rst. > + * If yes, we have a whole string match. > + */ > + p += strlen(keyring); -> + if (*p = '|' || *p = '\0') +> + if (*p == '|' || *p == '\0') > + return true; > + } > + diff --git a/a/content_digest b/N1/content_digest index 5803a7c..89e4c04 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -2,7 +2,7 @@ "ref\020191127015654.3744-6-nramas@linux.microsoft.com\0" "From\0Mimi Zohar <zohar@linux.ibm.com>\0" "Subject\0Re: [PATCH v9 5/6] IMA: Add support to limit measuring keys\0" - "Date\0Wed, 27 Nov 2019 18:52:21 +0000\0" + "Date\0Wed, 27 Nov 2019 13:52:21 -0500\0" "To\0Lakshmi Ramasubramanian <nramas@linux.microsoft.com>" " linux-integrity@vger.kernel.org\0" "Cc\0eric.snowberg@oracle.com" @@ -33,7 +33,8 @@ "> + * @rule: a pointer to a rule\n" "> + * @keyring: name of the keyring to match against the measure rule\n" "> + *\n" - "> + * If the measure action for KEY_CHECK does not specify keyrings> + * option then return true (Measure all keys).\n" + "> + * If the measure action for KEY_CHECK does not specify keyrings=\n" + "> + * option then return true (Measure all keys).\n" "> + * Else, return true if the given keyring name is present in\n" "> + * the keyrings= option. False, otherwise.\n" "\n" @@ -74,7 +75,7 @@ "> +\t\t * If yes, we have a whole string match.\n" "> +\t\t */\n" "> +\t\tp += strlen(keyring);\n" - "> +\t\tif (*p = '|' || *p = '\\0')\n" + "> +\t\tif (*p == '|' || *p == '\\0')\n" "> +\t\t\treturn true;\n" "> +\t}\n" "> +\n" @@ -88,4 +89,4 @@ "> +}\n" > + -ee3699e8a5ab892a04d132a1349d2fa8c40f40bfcd8a10829ed708dea3bddd7a +b090bdbd7c80be252b334d261d54c6fd3fd0d91ab718800ff715333b04b157ed
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.