diff for duplicates of <99ebe15e-c30f-d129-82a0-a809769aa5dc@users.sourceforge.net>
diff --git a/a/1.txt b/N1/1.txt
index bb7382a..7e24613 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -34,7 +34,7 @@ index 7544e374dec9..a12d9166f0e4 100644
for (genfs_p = NULL, genfs = p->genfs; genfs;
genfs_p = genfs, genfs = genfs->next) {
- rc = -EINVAL;
- if (strcmp(newgenfs->fstype, genfs->fstype) == 0) {
+ if (strcmp(newgenfs->fstype, genfs->fstype) = 0) {
printk(KERN_ERR "SELinux: dup genfs fstype %s\n",
newgenfs->fstype);
+ rc = -EINVAL;
@@ -63,7 +63,7 @@ index 7544e374dec9..a12d9166f0e4 100644
- rc = -EINVAL;
if (!strcmp(newc->u.name, c->u.name) &&
(!c->v.sclass || !newc->v.sclass ||
- newc->v.sclass == c->v.sclass)) {
+ newc->v.sclass = c->v.sclass)) {
printk(KERN_ERR "SELinux: dup genfs entry (%s,%s)\n",
genfs->fstype, c->u.name);
+ rc = -EINVAL;
diff --git a/a/content_digest b/N1/content_digest
index 783fcd2..0479418 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -8,7 +8,7 @@
"Subject\0[PATCH 13/46] selinux: Move four assignments for the variable \"rc\" in genfs_read()\0"
]
[
- "Date\0Sun, 15 Jan 2017 16:13:06 +0100\0"
+ "Date\0Sun, 15 Jan 2017 15:13:06 +0000\0"
]
[
"To\0linux-security-module\@vger.kernel.org",
@@ -67,7 +67,7 @@
" \t\tfor (genfs_p = NULL, genfs = p->genfs; genfs;\n",
" \t\t genfs_p = genfs, genfs = genfs->next) {\n",
"-\t\t\trc = -EINVAL;\n",
- " \t\t\tif (strcmp(newgenfs->fstype, genfs->fstype) == 0) {\n",
+ " \t\t\tif (strcmp(newgenfs->fstype, genfs->fstype) = 0) {\n",
" \t\t\t\tprintk(KERN_ERR \"SELinux: dup genfs fstype %s\\n\",\n",
" \t\t\t\t newgenfs->fstype);\n",
"+\t\t\t\trc = -EINVAL;\n",
@@ -96,7 +96,7 @@
"-\t\t\t\trc = -EINVAL;\n",
" \t\t\t\tif (!strcmp(newc->u.name, c->u.name) &&\n",
" \t\t\t\t (!c->v.sclass || !newc->v.sclass ||\n",
- " \t\t\t\t newc->v.sclass == c->v.sclass)) {\n",
+ " \t\t\t\t newc->v.sclass = c->v.sclass)) {\n",
" \t\t\t\t\tprintk(KERN_ERR \"SELinux: dup genfs entry (%s,%s)\\n\",\n",
" \t\t\t\t\t genfs->fstype, c->u.name);\n",
"+\t\t\t\t\trc = -EINVAL;\n",
@@ -107,4 +107,4 @@
"2.11.0"
]
-f93e013aa7d61addfccaed5260d5051d6e60f05913eef50b392ecf6d25ade61c
+5db6103bfd1ba8a418c15fa7ab48c39bf430cb144268d6eb1cbebed73e324a2e
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.