Re: [Linux-kernel-mentees] [PATCH net] rds: Prevent kernel-infoleak in rds_notify_queue_get()
From: Jason Gunthorpe <jgg@ziepe.ca>
Date: 2020-08-03 23:06:34
Also in:
linux-rdma, lkml, netdev
From: Jason Gunthorpe <jgg@ziepe.ca>
Date: 2020-08-03 23:06:34
Also in:
linux-rdma, lkml, netdev
On Sun, Aug 02, 2020 at 03:45:40PM -0700, Joe Perches wrote:
On Sun, 2020-08-02 at 19:28 -0300, Jason Gunthorpe wrote:quoted
On Sun, Aug 02, 2020 at 03:23:58PM -0700, Joe Perches wrote:quoted
On Sun, 2020-08-02 at 19:10 -0300, Jason Gunthorpe wrote:quoted
On Sat, Aug 01, 2020 at 08:38:33AM +0300, Leon Romanovsky wrote:quoted
I'm using {} instead of {0} because of this GCC bug. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53119This is why the {} extension exists..There is no guarantee that the gcc struct initialization {} extension also zeros padding.We just went over this. Yes there is, C11 requires it.c11 is not c90. The kernel uses c90.
The kernel already relies on a lot of C11/C99 features and behaviors. For instance Linus just bumped the minimum compiler version so that C11's _Generic is usable. Why do you think this particular part of C11 shouldn't be relied on? Jason _______________________________________________ Linux-kernel-mentees mailing list Linux-kernel-mentees@lists.linuxfoundation.org https://lists.linuxfoundation.org/mailman/listinfo/linux-kernel-mentees