diff for duplicates of <20171018005331.2688-2-bauerman@linux.vnet.ibm.com> diff --git a/a/1.txt b/N1/1.txt index 42a063d..5673a0c 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -29,8 +29,8 @@ index 809ba70fbbbf..ec7dfa02c051 100644 if (!xattr_value_len || (xvalue->type >= IMA_XATTR_LAST)) return -EINVAL; ima_reset_appraise_flags(d_backing_inode(dentry), -- (xvalue->type = EVM_IMA_XATTR_DIGSIG) ? 1 : 0); -+ xvalue->type = EVM_IMA_XATTR_DIGSIG); +- (xvalue->type == EVM_IMA_XATTR_DIGSIG) ? 1 : 0); ++ xvalue->type == EVM_IMA_XATTR_DIGSIG); result = 0; } return result; diff --git a/a/content_digest b/N1/content_digest index ef0f548..24e7dd5 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\020171018005331.2688-1-bauerman@linux.vnet.ibm.com\0" "From\0Thiago Jung Bauermann <bauerman@linux.vnet.ibm.com>\0" "Subject\0[PATCH v5 01/18] ima: Remove redundant conditional operator\0" - "Date\0Wed, 18 Oct 2017 00:53:14 +0000\0" + "Date\0Tue, 17 Oct 2017 22:53:14 -0200\0" "To\0linux-integrity@vger.kernel.org\0" "Cc\0linux-security-module@vger.kernel.org" keyrings@vger.kernel.org @@ -54,10 +54,10 @@ " \t\tif (!xattr_value_len || (xvalue->type >= IMA_XATTR_LAST))\n" " \t\t\treturn -EINVAL;\n" " \t\tima_reset_appraise_flags(d_backing_inode(dentry),\n" - "-\t\t\t (xvalue->type = EVM_IMA_XATTR_DIGSIG) ? 1 : 0);\n" - "+\t\t\txvalue->type = EVM_IMA_XATTR_DIGSIG);\n" + "-\t\t\t (xvalue->type == EVM_IMA_XATTR_DIGSIG) ? 1 : 0);\n" + "+\t\t\txvalue->type == EVM_IMA_XATTR_DIGSIG);\n" " \t\tresult = 0;\n" " \t}\n" " \treturn result;" -11e8c57cf5fdc17f96987ae32feb51e2b959bc06f0034a3c9ad44cfbc381adaa +345d7a9acd027dea2a278fe391ae7665728583317b1ee06c817be698883c308f
diff --git a/a/1.txt b/N2/1.txt index 42a063d..9aa1a1d 100644 --- a/a/1.txt +++ b/N2/1.txt @@ -29,8 +29,13 @@ index 809ba70fbbbf..ec7dfa02c051 100644 if (!xattr_value_len || (xvalue->type >= IMA_XATTR_LAST)) return -EINVAL; ima_reset_appraise_flags(d_backing_inode(dentry), -- (xvalue->type = EVM_IMA_XATTR_DIGSIG) ? 1 : 0); -+ xvalue->type = EVM_IMA_XATTR_DIGSIG); +- (xvalue->type == EVM_IMA_XATTR_DIGSIG) ? 1 : 0); ++ xvalue->type == EVM_IMA_XATTR_DIGSIG); result = 0; } return result; + +-- +To unsubscribe from this list: send the line "unsubscribe linux-security-module" in +the body of a message to majordomo at vger.kernel.org +More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/a/content_digest b/N2/content_digest index ef0f548..cf6b290 100644 --- a/a/content_digest +++ b/N2/content_digest @@ -1,26 +1,8 @@ "ref\020171018005331.2688-1-bauerman@linux.vnet.ibm.com\0" - "From\0Thiago Jung Bauermann <bauerman@linux.vnet.ibm.com>\0" + "From\0bauerman@linux.vnet.ibm.com (Thiago Jung Bauermann)\0" "Subject\0[PATCH v5 01/18] ima: Remove redundant conditional operator\0" - "Date\0Wed, 18 Oct 2017 00:53:14 +0000\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 - linux-kernel@vger.kernel.org - Mimi Zohar <zohar@linux.vnet.ibm.com> - Dmitry Kasatkin <dmitry.kasatkin@gmail.com> - James Morris <james.l.morris@oracle.com> - Serge E. Hallyn <serge@hallyn.com> - David Howells <dhowells@redhat.com> - David Woodhouse <dwmw2@infradead.org> - Jessica Yu <jeyu@redhat.com> - Rusty Russell <rusty@rustcorp.com.au> - Herbert Xu <herbert@gondor.apana.org.au> - David S. Miller <davem@davemloft.net> - AKASHI - Takahiro <takahiro.akashi@linaro.org> - " Thiago Jung Bauermann <bauerman@linux.vnet.ibm.com>\0" + "Date\0Tue, 17 Oct 2017 22:53:14 -0200\0" + "To\0linux-security-module@vger.kernel.org\0" "\00:1\0" "b\0" "A non-zero value is converted to 1 when assigned to a bool variable, so the\n" @@ -54,10 +36,15 @@ " \t\tif (!xattr_value_len || (xvalue->type >= IMA_XATTR_LAST))\n" " \t\t\treturn -EINVAL;\n" " \t\tima_reset_appraise_flags(d_backing_inode(dentry),\n" - "-\t\t\t (xvalue->type = EVM_IMA_XATTR_DIGSIG) ? 1 : 0);\n" - "+\t\t\txvalue->type = EVM_IMA_XATTR_DIGSIG);\n" + "-\t\t\t (xvalue->type == EVM_IMA_XATTR_DIGSIG) ? 1 : 0);\n" + "+\t\t\txvalue->type == EVM_IMA_XATTR_DIGSIG);\n" " \t\tresult = 0;\n" " \t}\n" - " \treturn result;" + " \treturn result;\n" + "\n" + "--\n" + "To unsubscribe from this list: send the line \"unsubscribe linux-security-module\" in\n" + "the body of a message to majordomo at vger.kernel.org\n" + More majordomo info at http://vger.kernel.org/majordomo-info.html -11e8c57cf5fdc17f96987ae32feb51e2b959bc06f0034a3c9ad44cfbc381adaa +38347361969d882d039d74cc0d95f0231769342c2b02adc509eb0710d6c444b3
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.