diff for duplicates of <20191106190116.2578-3-nramas@linux.microsoft.com> diff --git a/a/1.txt b/N1/1.txt index 62e6ecd..45e26e4 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -52,9 +52,9 @@ index f19a895ad7cd..4344b7354fc5 100644 { int i; -- if (func = KEXEC_CMDLINE) { -+ if ((func = KEXEC_CMDLINE) || (func = KEYRING_CHECK)) { - if ((rule->flags & IMA_FUNC) && (rule->func = func)) +- if (func == KEXEC_CMDLINE) { ++ if ((func == KEXEC_CMDLINE) || (func == KEYRING_CHECK)) { + if ((rule->flags & IMA_FUNC) && (rule->func == func)) return true; return false; -- diff --git a/a/content_digest b/N1/content_digest index 3ea3355..eecf049 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\020191106190116.2578-1-nramas@linux.microsoft.com\0" "From\0Lakshmi Ramasubramanian <nramas@linux.microsoft.com>\0" "Subject\0[PATCH v4 02/10] IMA: Added KEYRING_CHECK func in IMA policy to measure keys\0" - "Date\0Wed, 06 Nov 2019 19:01:08 +0000\0" + "Date\0Wed, 6 Nov 2019 11:01:08 -0800\0" "To\0zohar@linux.ibm.com" dhowells@redhat.com matthewgarrett@google.com @@ -67,12 +67,12 @@ " {\n" " \tint i;\n" " \n" - "-\tif (func = KEXEC_CMDLINE) {\n" - "+\tif ((func = KEXEC_CMDLINE) || (func = KEYRING_CHECK)) {\n" - " \t\tif ((rule->flags & IMA_FUNC) && (rule->func = func))\n" + "-\tif (func == KEXEC_CMDLINE) {\n" + "+\tif ((func == KEXEC_CMDLINE) || (func == KEYRING_CHECK)) {\n" + " \t\tif ((rule->flags & IMA_FUNC) && (rule->func == func))\n" " \t\t\treturn true;\n" " \t\treturn false;\n" "-- \n" 2.17.1 -92b2924d79eba73d6abdd4b72a8a526ec58c9ba1e8e37862e6e49c1c297e0866 +b245a27962ff0d6bf6d899288358788496180572f7c6e3b75f75b6c9d4a54402
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.