diff for duplicates of <20191023001818.3684-5-nramas@linux.microsoft.com> diff --git a/a/1.txt b/N1/1.txt index 34248c5..f417b18 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -161,11 +161,12 @@ index 1ce8b1701566..a262e289615b 100644 + entry = kzalloc(sizeof(*entry), GFP_KERNEL); + if (entry != NULL) { + entry->public_key = kzalloc(pk->keylen, GFP_KERNEL); -+ entry->key_description + kzalloc(key_description_len, GFP_KERNEL); ++ entry->key_description = ++ kzalloc(key_description_len, GFP_KERNEL); + } + -+ if ((entry = NULL) || (entry->public_key = NULL) || -+ (entry->key_description = NULL)) { ++ if ((entry == NULL) || (entry->public_key == NULL) || ++ (entry->key_description == NULL)) { + rc = -ENOMEM; + goto out; + } @@ -202,7 +203,7 @@ index 1ce8b1701566..a262e289615b 100644 + bool queued = false; + + func = keyring_policy_map(keyring); -+ if (func = NONE) ++ if (func == NONE) + return 0; + + mutex_lock(&ima_trusted_keys_mutex); diff --git a/a/content_digest b/N1/content_digest index 42d28c7..a1954dd 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\020191023001818.3684-1-nramas@linux.microsoft.com\0" "From\0Lakshmi Ramasubramanian <nramas@linux.microsoft.com>\0" "Subject\0[PATCH v1 4/6] KEYS: ima functions to queue and dequeue keys to measure\0" - "Date\0Wed, 23 Oct 2019 00:18:16 +0000\0" + "Date\0Tue, 22 Oct 2019 17:18:16 -0700\0" "To\0zohar@linux.ibm.com" dhowells@redhat.com casey@schaufler-ca.com @@ -177,11 +177,12 @@ "+\tentry = kzalloc(sizeof(*entry), GFP_KERNEL);\n" "+\tif (entry != NULL) {\n" "+\t\tentry->public_key = kzalloc(pk->keylen, GFP_KERNEL);\n" - "+\t\tentry->key_description +\t\t\tkzalloc(key_description_len, GFP_KERNEL);\n" + "+\t\tentry->key_description =\n" + "+\t\t\tkzalloc(key_description_len, GFP_KERNEL);\n" "+\t}\n" "+\n" - "+\tif ((entry = NULL) || (entry->public_key = NULL) ||\n" - "+\t (entry->key_description = NULL)) {\n" + "+\tif ((entry == NULL) || (entry->public_key == NULL) ||\n" + "+\t (entry->key_description == NULL)) {\n" "+\t\trc = -ENOMEM;\n" "+\t\tgoto out;\n" "+\t}\n" @@ -218,7 +219,7 @@ "+\tbool queued = false;\n" "+\n" "+\tfunc = keyring_policy_map(keyring);\n" - "+\tif (func = NONE)\n" + "+\tif (func == NONE)\n" "+\t\treturn 0;\n" "+\n" "+\tmutex_lock(&ima_trusted_keys_mutex);\n" @@ -254,4 +255,4 @@ "-- \n" 2.17.1 -680ad776d8ea1f829fbfb7cc8ac73b77ee61d5eeee3c89fef4409dc4495d6925 +98c94a2a563d945a8175aa57fb79452aac80f4d1617c1a3ca79d1809efc07f9f
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.