diff for duplicates of <20190731162537.GA23152@host> diff --git a/a/1.txt b/N1/1.txt index 3bb2377..1107cce 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -40,7 +40,7 @@ I will send the patch set soon. > > --- a/scripts/gcc-plugins/randomize_layout_plugin.c > > +++ b/scripts/gcc-plugins/randomize_layout_plugin.c > > @@ -443,13 +443,12 @@ static int is_pure_ops_struct(const_tree node) -> > if (node == fieldtype) +> > if (node = fieldtype) > > continue; > > > > - if (!is_fptr(fieldtype)) @@ -48,7 +48,7 @@ I will send the patch set soon. > > - > > - if (code != RECORD_TYPE && code != UNION_TYPE) > > - continue; -> > + if (code == RECORD_TYPE || code == UNION_TYPE) { +> > + if (code = RECORD_TYPE || code = UNION_TYPE) { > > + if (!is_pure_ops_struct(fieldtype)) > > + return 0; > > + } diff --git a/a/content_digest b/N1/content_digest index 4116d92..eb2ca65 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -2,7 +2,7 @@ "ref\0201907301008.622218EE5@keescook\0" "From\0Joonwon Kang <kjw1627@gmail.com>\0" "Subject\0Re: [PATCH] randstruct: fix a bug in is_pure_ops_struct()\0" - "Date\0Thu, 1 Aug 2019 01:25:37 +0900\0" + "Date\0Wed, 31 Jul 2019 16:25:37 +0000\0" "To\0Kees Cook <keescook@chromium.org>\0" "Cc\0re.emese@gmail.com" kernel-hardening@lists.openwall.com @@ -53,7 +53,7 @@ "> > --- a/scripts/gcc-plugins/randomize_layout_plugin.c\n" "> > +++ b/scripts/gcc-plugins/randomize_layout_plugin.c\n" "> > @@ -443,13 +443,12 @@ static int is_pure_ops_struct(const_tree node)\n" - "> > \t\tif (node == fieldtype)\n" + "> > \t\tif (node = fieldtype)\n" "> > \t\t\tcontinue;\n" "> > \n" "> > -\t\tif (!is_fptr(fieldtype))\n" @@ -61,7 +61,7 @@ "> > -\n" "> > -\t\tif (code != RECORD_TYPE && code != UNION_TYPE)\n" "> > -\t\t\tcontinue;\n" - "> > +\t\tif (code == RECORD_TYPE || code == UNION_TYPE) {\n" + "> > +\t\tif (code = RECORD_TYPE || code = UNION_TYPE) {\n" "> > +\t\t\tif (!is_pure_ops_struct(fieldtype))\n" "> > +\t\t\t\treturn 0;\n" "> > +\t\t}\n" @@ -78,4 +78,4 @@ "> -- \n" > Kees Cook -ba2d0f95b6fd9239cdd9ee84ba53602c4123d56f3164516d3023ae636ec5f119 +60df9759120d8403f5ef213e955084bc35185cb0b0b4cc5903ed04262671e9ca
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.