Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756527AbbFPN0d (ORCPT ); Tue, 16 Jun 2015 09:26:33 -0400 Received: from mail-ie0-f172.google.com ([209.85.223.172]:36128 "EHLO mail-ie0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754456AbbFPN0Y (ORCPT ); Tue, 16 Jun 2015 09:26:24 -0400 Date: Tue, 16 Jun 2015 07:26:22 -0600 From: Tycho Andersen To: Kees Cook Cc: Andy Lutomirski , Will Drewry , Roland McGrath , Pavel Emelyanov , "Serge E. Hallyn" , Oleg Nesterov , LKML Subject: Re: [kees:seccomp/tip 2/2] kernel/ptrace.c:567:3: note: in expansion of macro 'if' Message-ID: <20150616132622.GW3160@smitten> References: <201506160626.KppQbBQV%fengguang.wu@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 470 Lines: 13 On Mon, Jun 15, 2015 at 03:25:39PM -0700, Kees Cook wrote: > Looks like dead-code elimination happens after structures are > accessed, so this needs to use the accessor. Sorry I missed this > earlier! Whoops, thanks! Tycho -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/