Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp2078320ybb; Thu, 2 Apr 2020 12:39:35 -0700 (PDT) X-Google-Smtp-Source: APiQypLAMq6/OnmUmz9hG8A2XqSZ/fOpaCTLmYH+Bzb27HWY8L6TBeBoauL6hw94mJbIGdZiH3Ms X-Received: by 2002:a9d:27a7:: with SMTP id c36mr3734897otb.68.1585856374764; Thu, 02 Apr 2020 12:39:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585856374; cv=none; d=google.com; s=arc-20160816; b=MkFsh5VdRfybAQDMxNfJKRGtPtLK7EMAqwE1S8HMKKzFfPbl7vvYNF09frxgHzPEgD 9pPjl1BpSyOFW2Cb6eKKGOgEVEz0uMNDyRNJfgKUu6Rps5Vl9nyDfd1rPb28h5WPm2qf FQ3UVTUFHBa3N45LgRy62KM9jB3OvU9XEhESrUkj0RD9Qnn8rVcNKMRSq2+yL1B9pjnU 1M6rAc4MaPjgfk38jtZdWrEO74AMkE8XIv7xJP7wD4/jN1cZ+FLyk4jfgyVqqCzovZtZ 5SFAPVZWiEDZJxMkiVUzRjjeXSQxLs6/0PeKghiCaPBSiIGSIL7x6oIOtl6p/gJD/5/3 syfQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=Mit/agRzn1mk1aspK7Xm4+YRkQkelWzsjWnT2oENRKQ=; b=UjOTgyrYmFyMzJJZ4Z7zcj0BUblwk2j6SwRAozkm+xxP/TeAiEq+ywD40ZwIPoizOt uA22WPX3od2iMFpjfhoGEOsd63WxEJFIl8wint+pYsTyyvVXwY9G4bjXhtNd09n2Va2K QlMwKtkXWrkRDlE6VotO0P0Jt7IPaBkpjSpu2OtpxICZIKMIewzZyYM16Pv7PtxIMAn9 w/RNkNMH96YjtirYrQ2W/5kDewOvbD5qENTv4JK3p52Z6htywNj380+YEuERyUSphD0a htS5WewFNB9hS22jk2xK/qEk0Twymjvp1HCp5Hj1QgukWcFcsDaPSq3jWMyKkBo3sjVC lf0g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=L+rTAt0f; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m185si2585143oib.102.2020.04.02.12.39.22; Thu, 02 Apr 2020 12:39:34 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=L+rTAt0f; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389825AbgDBTU4 (ORCPT + 99 others); Thu, 2 Apr 2020 15:20:56 -0400 Received: from mail.kernel.org ([198.145.29.99]:44484 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389261AbgDBTU4 (ORCPT ); Thu, 2 Apr 2020 15:20:56 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 208E8206F8; Thu, 2 Apr 2020 19:20:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1585855255; bh=mdROf5FDATZ7QP97pw47LQyxagMXuoP+y7Kaxh6NErM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=L+rTAt0fHo/krTsbIxVlaFbiH3a630gdyVE6f4HA6qC54/KKEwURGtEMnU21vWygR del+6EMtTZ+Amw3nflUoCTHRWjiIMsiCrNwu5XGTQ7OZZrkstHbAga8OmPyLZDuO81 LI0QpDjAFcnNDavJEKpe0aDJIDhmaJl9549G/Kyw= Date: Thu, 2 Apr 2020 21:20:53 +0200 From: Greg Kroah-Hartman To: Pavel Machek Cc: linux-kernel@vger.kernel.org, stable@vger.kernel.org, Maciej =?utf-8?Q?=C5=BBenczykowski?= , John Stultz , Alexander Potapenko , Alistair Delva , Daniel Borkmann , Yonghong Song Subject: Re: [PATCH 4.19 105/116] bpf: Explicitly memset the bpf_attr structure Message-ID: <20200402192053.GB3243295@kroah.com> References: <20200401161542.669484650@linuxfoundation.org> <20200401161555.630698707@linuxfoundation.org> <20200402185320.GA8077@duo.ucw.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200402185320.GA8077@duo.ucw.cz> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Apr 02, 2020 at 08:53:21PM +0200, Pavel Machek wrote: > Should we fix gcc, instead? Also, this is allowed in the C standard, and both clang and gcc sometimes emit code that does not clear padding in structures. Changing the compiler to not do this would be wonderful, but we still have to live with this for the next 10 years as those older compilers age-out. sorry, greg k-h