All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <20190611062817.18412-8-bauerman@linux.ibm.com>

diff --git a/a/1.txt b/N1/1.txt
index f2bfad9..98b9aeb 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -139,10 +139,10 @@ index fd9b01881d17..06ae4b7b3676 100644
 +++ b/security/integrity/ima/ima_policy.c
 @@ -1049,6 +1049,10 @@ static int ima_parse_rule(char *rule, struct ima_rule_entry *entry)
  			ima_log_string(ab, "appraise_type", args[0].from);
- 			if ((strcmp(args[0].from, "imasig")) = 0)
+ 			if ((strcmp(args[0].from, "imasig")) == 0)
  				entry->flags |= IMA_DIGSIG_REQUIRED;
 +			else if (ima_hook_supports_modsig(entry->func) &&
-+				 strcmp(args[0].from, "imasig|modsig") = 0)
++				 strcmp(args[0].from, "imasig|modsig") == 0)
 +				entry->flags |= IMA_DIGSIG_REQUIRED |
 +						IMA_MODSIG_ALLOWED;
  			else
diff --git a/a/content_digest b/N1/content_digest
index d261778..0f14b0b 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -1,7 +1,7 @@
  "ref\020190611062817.18412-1-bauerman@linux.ibm.com\0"
  "From\0Thiago Jung Bauermann <bauerman@linux.ibm.com>\0"
  "Subject\0[PATCH v11 07/13] ima: Add modsig appraise_type option for module-style appended signatures\0"
- "Date\0Tue, 11 Jun 2019 06:28:11 +0000\0"
+ "Date\0Tue, 11 Jun 2019 03:28:11 -0300\0"
  "To\0linux-integrity@vger.kernel.org\0"
  "Cc\0linux-security-module@vger.kernel.org"
   keyrings@vger.kernel.org
@@ -165,10 +165,10 @@
  "+++ b/security/integrity/ima/ima_policy.c\n"
  "@@ -1049,6 +1049,10 @@ static int ima_parse_rule(char *rule, struct ima_rule_entry *entry)\n"
  " \t\t\tima_log_string(ab, \"appraise_type\", args[0].from);\n"
- " \t\t\tif ((strcmp(args[0].from, \"imasig\")) = 0)\n"
+ " \t\t\tif ((strcmp(args[0].from, \"imasig\")) == 0)\n"
  " \t\t\t\tentry->flags |= IMA_DIGSIG_REQUIRED;\n"
  "+\t\t\telse if (ima_hook_supports_modsig(entry->func) &&\n"
- "+\t\t\t\t strcmp(args[0].from, \"imasig|modsig\") = 0)\n"
+ "+\t\t\t\t strcmp(args[0].from, \"imasig|modsig\") == 0)\n"
  "+\t\t\t\tentry->flags |= IMA_DIGSIG_REQUIRED |\n"
  "+\t\t\t\t\t\tIMA_MODSIG_ALLOWED;\n"
  " \t\t\telse\n"
@@ -202,4 +202,4 @@
  " #define IMA_DO_MASK\t\t(IMA_MEASURE | IMA_APPRAISE | IMA_AUDIT | \\\n"
  " \t\t\t\t IMA_HASH | IMA_APPRAISE_SUBMASK)"
 
-4558ef03c191dab8d826eb487308392ff8f9c936b0436927f6331a66df6a8e99
+abdc99b2ba4ddb9395c7f2d6b12828828d9ac63748811028bbf3ab9bb9ddd085

diff --git a/a/1.txt b/N2/1.txt
index f2bfad9..98b9aeb 100644
--- a/a/1.txt
+++ b/N2/1.txt
@@ -139,10 +139,10 @@ index fd9b01881d17..06ae4b7b3676 100644
 +++ b/security/integrity/ima/ima_policy.c
 @@ -1049,6 +1049,10 @@ static int ima_parse_rule(char *rule, struct ima_rule_entry *entry)
  			ima_log_string(ab, "appraise_type", args[0].from);
- 			if ((strcmp(args[0].from, "imasig")) = 0)
+ 			if ((strcmp(args[0].from, "imasig")) == 0)
  				entry->flags |= IMA_DIGSIG_REQUIRED;
 +			else if (ima_hook_supports_modsig(entry->func) &&
-+				 strcmp(args[0].from, "imasig|modsig") = 0)
++				 strcmp(args[0].from, "imasig|modsig") == 0)
 +				entry->flags |= IMA_DIGSIG_REQUIRED |
 +						IMA_MODSIG_ALLOWED;
  			else
diff --git a/a/content_digest b/N2/content_digest
index d261778..1c04f6e 100644
--- a/a/content_digest
+++ b/N2/content_digest
@@ -1,27 +1,27 @@
  "ref\020190611062817.18412-1-bauerman@linux.ibm.com\0"
  "From\0Thiago Jung Bauermann <bauerman@linux.ibm.com>\0"
  "Subject\0[PATCH v11 07/13] ima: Add modsig appraise_type option for module-style appended signatures\0"
- "Date\0Tue, 11 Jun 2019 06:28:11 +0000\0"
+ "Date\0Tue, 11 Jun 2019 03:28:11 -0300\0"
  "To\0linux-integrity@vger.kernel.org\0"
- "Cc\0linux-security-module@vger.kernel.org"
-  keyrings@vger.kernel.org
-  linux-crypto@vger.kernel.org
-  linuxppc-dev@lists.ozlabs.org
+ "Cc\0Herbert Xu <herbert@gondor.apana.org.au>"
   linux-doc@vger.kernel.org
+  Dmitry Kasatkin <dmitry.kasatkin@gmail.com>
+  David S. Miller <davem@davemloft.net>
+  Jonathan Corbet <corbet@lwn.net>
   linux-kernel@vger.kernel.org
   Mimi Zohar <zohar@linux.ibm.com>
-  Dmitry Kasatkin <dmitry.kasatkin@gmail.com>
   James Morris <jmorris@namei.org>
-  Serge E. Hallyn <serge@hallyn.com>
   David Howells <dhowells@redhat.com>
-  David Woodhouse <dwmw2@infradead.org>
-  Jessica Yu <jeyu@kernel.org>
-  Herbert Xu <herbert@gondor.apana.org.au>
-  David S. Miller <davem@davemloft.net>
-  Jonathan Corbet <corbet@lwn.net>
   AKASHI
   Takahiro <takahiro.akashi@linaro.org>
- " Thiago Jung Bauermann <bauerman@linux.ibm.com>\0"
+  linux-security-module@vger.kernel.org
+  keyrings@vger.kernel.org
+  linux-crypto@vger.kernel.org
+  Jessica Yu <jeyu@kernel.org>
+  linuxppc-dev@lists.ozlabs.org
+  David Woodhouse <dwmw2@infradead.org>
+  Thiago Jung Bauermann <bauerman@linux.ibm.com>
+ " Serge E. Hallyn <serge@hallyn.com>\0"
  "\00:1\0"
  "b\0"
  "Introduce the modsig keyword to the IMA policy syntax to specify that\n"
@@ -165,10 +165,10 @@
  "+++ b/security/integrity/ima/ima_policy.c\n"
  "@@ -1049,6 +1049,10 @@ static int ima_parse_rule(char *rule, struct ima_rule_entry *entry)\n"
  " \t\t\tima_log_string(ab, \"appraise_type\", args[0].from);\n"
- " \t\t\tif ((strcmp(args[0].from, \"imasig\")) = 0)\n"
+ " \t\t\tif ((strcmp(args[0].from, \"imasig\")) == 0)\n"
  " \t\t\t\tentry->flags |= IMA_DIGSIG_REQUIRED;\n"
  "+\t\t\telse if (ima_hook_supports_modsig(entry->func) &&\n"
- "+\t\t\t\t strcmp(args[0].from, \"imasig|modsig\") = 0)\n"
+ "+\t\t\t\t strcmp(args[0].from, \"imasig|modsig\") == 0)\n"
  "+\t\t\t\tentry->flags |= IMA_DIGSIG_REQUIRED |\n"
  "+\t\t\t\t\t\tIMA_MODSIG_ALLOWED;\n"
  " \t\t\telse\n"
@@ -202,4 +202,4 @@
  " #define IMA_DO_MASK\t\t(IMA_MEASURE | IMA_APPRAISE | IMA_AUDIT | \\\n"
  " \t\t\t\t IMA_HASH | IMA_APPRAISE_SUBMASK)"
 
-4558ef03c191dab8d826eb487308392ff8f9c936b0436927f6331a66df6a8e99
+9618aeacfdf1ebfd8a6fd1ebe9559289c2691d5f71b5a28489f8ba4dc3c860a1

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.