diff for duplicates of <201906111345.74AA9311F5@keescook> diff --git a/a/1.txt b/N1/1.txt index 9ee2081..e8629d3 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -53,12 +53,10 @@ was to switch all of these to FIELD_SIZEOF()? > unsigned long *size) > { > /* Verify that there is no padding among the whitelisted fields: */ -> - BUILD_BUG_ON(sizeof_field(struct thread_struct, uw) != -> - sizeof_field(struct thread_struct, uw.tp_value) + +> - BUILD_BUG_ON(sizeof_field(struct thread_struct, uw) !> - sizeof_field(struct thread_struct, uw.tp_value) + > - sizeof_field(struct thread_struct, uw.tp2_value) + > - sizeof_field(struct thread_struct, uw.fpsimd_state)); -> + BUILD_BUG_ON(FIELD_SIZEOF(struct thread_struct, uw) != -> + FIELD_SIZEOF(struct thread_struct, uw.tp_value) + +> + BUILD_BUG_ON(FIELD_SIZEOF(struct thread_struct, uw) !> + FIELD_SIZEOF(struct thread_struct, uw.tp_value) + > + FIELD_SIZEOF(struct thread_struct, uw.tp2_value) + > + FIELD_SIZEOF(struct thread_struct, uw.fpsimd_state)); > @@ -140,7 +138,7 @@ was to switch all of these to FIELD_SIZEOF()? > + FIELD_SIZEOF(struct befs_inode_info, > i_data.symlink), > init_once); -> if (befs_inode_cachep == NULL) +> if (befs_inode_cachep = NULL) > diff --git a/fs/ext2/super.c b/fs/ext2/super.c > index 1d7ab73b1014..d9a6c81f4a47 100644 > --- a/fs/ext2/super.c @@ -152,7 +150,7 @@ was to switch all of these to FIELD_SIZEOF()? > - sizeof_field(struct ext2_inode_info, i_data), > + FIELD_SIZEOF(struct ext2_inode_info, i_data), > init_once); -> if (ext2_inode_cachep == NULL) +> if (ext2_inode_cachep = NULL) > return -ENOMEM; > diff --git a/fs/ext4/super.c b/fs/ext4/super.c > index 4079605d437a..b1b5856248bd 100644 @@ -165,7 +163,7 @@ was to switch all of these to FIELD_SIZEOF()? > - sizeof_field(struct ext4_inode_info, i_data), > + FIELD_SIZEOF(struct ext4_inode_info, i_data), > init_once); -> if (ext4_inode_cachep == NULL) +> if (ext4_inode_cachep = NULL) > return -ENOMEM; > diff --git a/fs/freevxfs/vxfs_super.c b/fs/freevxfs/vxfs_super.c > index a89f68c3cbed..ffd22f85bbe0 100644 @@ -205,7 +203,7 @@ was to switch all of these to FIELD_SIZEOF()? > + FIELD_SIZEOF(struct ufs_inode_info, > i_u1.i_symlink), > init_once); -> if (ufs_inode_cachep == NULL) +> if (ufs_inode_cachep = NULL) > diff --git a/include/linux/kernel.h b/include/linux/kernel.h > index 74b1ee9027f5..4672391cdb5b 100644 > --- a/include/linux/kernel.h diff --git a/a/content_digest b/N1/content_digest index aee509b..b784fea 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\020190611193836.2772-1-shyam.saini@amarulasolutions.com\0" "From\0Kees Cook <keescook@chromium.org>\0" "Subject\0Re: [PATCH V2] include: linux: Regularise the use of FIELD_SIZEOF macro\0" - "Date\0Tue, 11 Jun 2019 13:46:34 -0700\0" + "Date\0Tue, 11 Jun 2019 20:46:34 +0000\0" "To\0Shyam Saini <shyam.saini@amarulasolutions.com>\0" "Cc\0kernel-hardening@lists.openwall.com" linux-kernel@vger.kernel.org @@ -76,12 +76,10 @@ "> \t\t\t\t\t\tunsigned long *size)\n" "> {\n" "> \t/* Verify that there is no padding among the whitelisted fields: */\n" - "> -\tBUILD_BUG_ON(sizeof_field(struct thread_struct, uw) !=\n" - "> -\t\t sizeof_field(struct thread_struct, uw.tp_value) +\n" + "> -\tBUILD_BUG_ON(sizeof_field(struct thread_struct, uw) !> -\t\t sizeof_field(struct thread_struct, uw.tp_value) +\n" "> -\t\t sizeof_field(struct thread_struct, uw.tp2_value) +\n" "> -\t\t sizeof_field(struct thread_struct, uw.fpsimd_state));\n" - "> +\tBUILD_BUG_ON(FIELD_SIZEOF(struct thread_struct, uw) !=\n" - "> +\t\t FIELD_SIZEOF(struct thread_struct, uw.tp_value) +\n" + "> +\tBUILD_BUG_ON(FIELD_SIZEOF(struct thread_struct, uw) !> +\t\t FIELD_SIZEOF(struct thread_struct, uw.tp_value) +\n" "> +\t\t FIELD_SIZEOF(struct thread_struct, uw.tp2_value) +\n" "> +\t\t FIELD_SIZEOF(struct thread_struct, uw.fpsimd_state));\n" "> \n" @@ -163,7 +161,7 @@ "> +\t\t\t\tFIELD_SIZEOF(struct befs_inode_info,\n" "> \t\t\t\t\ti_data.symlink),\n" "> \t\t\t\tinit_once);\n" - "> \tif (befs_inode_cachep == NULL)\n" + "> \tif (befs_inode_cachep = NULL)\n" "> diff --git a/fs/ext2/super.c b/fs/ext2/super.c\n" "> index 1d7ab73b1014..d9a6c81f4a47 100644\n" "> --- a/fs/ext2/super.c\n" @@ -175,7 +173,7 @@ "> -\t\t\t\tsizeof_field(struct ext2_inode_info, i_data),\n" "> +\t\t\t\tFIELD_SIZEOF(struct ext2_inode_info, i_data),\n" "> \t\t\t\tinit_once);\n" - "> \tif (ext2_inode_cachep == NULL)\n" + "> \tif (ext2_inode_cachep = NULL)\n" "> \t\treturn -ENOMEM;\n" "> diff --git a/fs/ext4/super.c b/fs/ext4/super.c\n" "> index 4079605d437a..b1b5856248bd 100644\n" @@ -188,7 +186,7 @@ "> -\t\t\t\tsizeof_field(struct ext4_inode_info, i_data),\n" "> +\t\t\t\tFIELD_SIZEOF(struct ext4_inode_info, i_data),\n" "> \t\t\t\tinit_once);\n" - "> \tif (ext4_inode_cachep == NULL)\n" + "> \tif (ext4_inode_cachep = NULL)\n" "> \t\treturn -ENOMEM;\n" "> diff --git a/fs/freevxfs/vxfs_super.c b/fs/freevxfs/vxfs_super.c\n" "> index a89f68c3cbed..ffd22f85bbe0 100644\n" @@ -228,7 +226,7 @@ "> +\t\t\t\tFIELD_SIZEOF(struct ufs_inode_info,\n" "> \t\t\t\t\ti_u1.i_symlink),\n" "> \t\t\t\tinit_once);\n" - "> \tif (ufs_inode_cachep == NULL)\n" + "> \tif (ufs_inode_cachep = NULL)\n" "> diff --git a/include/linux/kernel.h b/include/linux/kernel.h\n" "> index 74b1ee9027f5..4672391cdb5b 100644\n" "> --- a/include/linux/kernel.h\n" @@ -456,4 +454,4 @@ "-- \n" Kees Cook -2fca804548042b544f0b39b1104ac25a1dda5655e5f601069663272950a92ca2 +32f2096e972b188b859974d70a63e9e292c645aee731158b1d8ceadf74434feb
diff --git a/a/1.txt b/N2/1.txt index 9ee2081..41b9e6b 100644 --- a/a/1.txt +++ b/N2/1.txt @@ -432,3 +432,8 @@ was to switch all of these to FIELD_SIZEOF()? -- Kees Cook + +_______________________________________________ +linux-arm-kernel mailing list +linux-arm-kernel@lists.infradead.org +http://lists.infradead.org/mailman/listinfo/linux-arm-kernel diff --git a/a/content_digest b/N2/content_digest index aee509b..6787994 100644 --- a/a/content_digest +++ b/N2/content_digest @@ -3,21 +3,21 @@ "Subject\0Re: [PATCH V2] include: linux: Regularise the use of FIELD_SIZEOF macro\0" "Date\0Tue, 11 Jun 2019 13:46:34 -0700\0" "To\0Shyam Saini <shyam.saini@amarulasolutions.com>\0" - "Cc\0kernel-hardening@lists.openwall.com" - linux-kernel@vger.kernel.org - akpm@linux-foundation.org - linux-arm-kernel@lists.infradead.org - linux-mips@vger.kernel.org - intel-gvt-dev@lists.freedesktop.org + "Cc\0kvm@vger.kernel.org" + kernel-hardening@lists.openwall.com + netdev@vger.kernel.org intel-gfx@lists.freedesktop.org + linux-mips@vger.kernel.org dri-devel@lists.freedesktop.org - netdev@vger.kernel.org - linux-ext4@vger.kernel.org - devel@lists.orangefs.org + linux-kernel@vger.kernel.org linux-mm@kvack.org linux-sctp@vger.kernel.org + devel@lists.orangefs.org + akpm@linux-foundation.org + linux-ext4@vger.kernel.org + intel-gvt-dev@lists.freedesktop.org bpf@vger.kernel.org - kvm@vger.kernel.org + linux-arm-kernel@lists.infradead.org " mayhs11saini@gmail.com\0" "\00:1\0" "b\0" @@ -454,6 +454,11 @@ "> \n" "\n" "-- \n" - Kees Cook + "Kees Cook\n" + "\n" + "_______________________________________________\n" + "linux-arm-kernel mailing list\n" + "linux-arm-kernel@lists.infradead.org\n" + http://lists.infradead.org/mailman/listinfo/linux-arm-kernel -2fca804548042b544f0b39b1104ac25a1dda5655e5f601069663272950a92ca2 +98ebb9ac30e27aedbe4374ff7c49b939e4d0df0da12275240e2208e466bf8a2e
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.