Received: by 10.213.65.68 with SMTP id h4csp2918179imn; Mon, 9 Apr 2018 11:08:36 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/5JvB09cYnoRwV8pkh+w31Rzqs8dvb4AZBo/8wzTkTl/hoko0GkAZN+iXyVd6Hr9qIyrxx X-Received: by 2002:a17:902:a985:: with SMTP id bh5-v6mr5891679plb.0.1523297316928; Mon, 09 Apr 2018 11:08:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523297316; cv=none; d=google.com; s=arc-20160816; b=EBKKEUBjKLQoRb4XitB92qU9CG+LND0nAbqKok0j+XSxRKsoBoCb0mecDvnFnKOTvL IbstNyybnrQwT8AK0t1jwVTc6I6tuNKA95XdHVD3AVhssx+P/oADK6wlCLFqkeX23Vvw XTyj47TCaWNdBSXdQ6lGziYYbFdVn6RwPi7XEkNSyoVodt1JCghhZK3X9KvG5yibvwog K73UpSzWuERv3zlObVd5fdjLcvPnq5FgbC1tY1xsgiTyZoArzbZTRL818SUfEXGs85rX ba7AyOXPKtwR7tMSzfDoK4MWj4HjcS/hmtRmzgUHrd2xQL84dvUjIjOxg+cvHChQ3nIU 0Gbg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature:dkim-signature :arc-authentication-results; bh=FzJZ6HeA5PuMEpTus5gvtDTn/1+mUV/sRsvRdDL6Yj0=; b=IeYvpfzAMAL1HalgkxS/J4plrOoRiNhslhT1JQP/xBNXrX43BGFWpqwjLGT61cpngj cBL/5qmkVDz7yL90LJoZzxWtBox9AQ8NUnktsMDvhN/sf9dxZQ+ErxzWWBkPgdkCZZZm MG2hW7JU5Wnvq4I6kP6jRpHUngTdtp7IGvqgRHK68wMwAjzOLONj5NLfJvLio+QsfaJP qXqQlVP/z/4RNoGEiZmy3mfNGpz9lwH82SCvpvfZ7gDFK1xF49fmb0F2CerulzIMA/FL rsJzqQRBZ9RJKO943ZSYRUxEvgKFF7BM8wVYG2oVidRFmBlKg99qKg4EpbdU2n02jZJ0 zuKQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@google.com header.s=20161025 header.b=ZBCQvKSA; dkim=fail header.i=@chromium.org header.s=google header.b=D0hajYoH; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k26si529525pgn.502.2018.04.09.11.07.59; Mon, 09 Apr 2018 11:08:36 -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=fail header.i=@google.com header.s=20161025 header.b=ZBCQvKSA; dkim=fail header.i=@chromium.org header.s=google header.b=D0hajYoH; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753541AbeDISBA (ORCPT + 99 others); Mon, 9 Apr 2018 14:01:00 -0400 Received: from mail-yb0-f195.google.com ([209.85.213.195]:37389 "EHLO mail-yb0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751653AbeDISA7 (ORCPT ); Mon, 9 Apr 2018 14:00:59 -0400 Received: by mail-yb0-f195.google.com with SMTP id i13-v6so640489ybl.4 for ; Mon, 09 Apr 2018 11:00:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=FzJZ6HeA5PuMEpTus5gvtDTn/1+mUV/sRsvRdDL6Yj0=; b=ZBCQvKSAqpCfdlLg8sd2QemOnLadpOq9azMrh0q3zDpwW3OxWmKVj9oILH3zBPcl5+ 8NlYEYZU6DOoMXu1JRhOllZDsJnfd3utm01IzxtDztLBsv9YkxlJPpt0czqNDpMNGhIG PM3WXrZEiXevLbFud601ExSb6a6biEfYOzsjZ8zi/ObwepSEiRJjk3OT6fhpa/kTOnvW yFuhib4ydnvNB5sWFV2tUHZgZ4LPDrtGX+ae5Yt3GRck0HIUdAgDRhmNSUnmaNe3mjoN rgEzkiszbeJi3cAfOTqrr0eHeKgjlkhrvLDOksQM1+OT2EzEojUnaeyNfpKbCg3E0aMm Gr0w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=FzJZ6HeA5PuMEpTus5gvtDTn/1+mUV/sRsvRdDL6Yj0=; b=D0hajYoHZyvE5WFxXCo9zrc5UOwn2Ku+GEsZWO9BJzvCZ7HtPrwGs+3+C4bkZGRnze hehFMUCgOBpgRwIUk6D5+AGuOCH3PKQjumoZ3DvN4t+QUwtcyf2zNP+yavtlA1NjN0QD IzurPCjh6xoKw7lbsD6x8xgPRxCs5PqX6uZbA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=FzJZ6HeA5PuMEpTus5gvtDTn/1+mUV/sRsvRdDL6Yj0=; b=Jzezv4uCN4cUTtJOcnG9FxjWzpjQvMC8yvFuncp+aFca8TXB4hJyB2CgHnmEaX7ezE KDgVxUix5lJkAXIHDcRALMod+63GkMP+371XTjWoWziRcR1Rh5W4DOw3HRZ/wXMiUNlY CkJTbntotglUKckV99znNeiaYCMns7y3N6iCyDbPakr2bZLZ65Ra6SlacHUBUZoDV1bP AropWUpgfRFD3fCOZCco2/VIhhYgaPjuMru+BD/h1mjyoNNWsVqQak17hZDVk3mrR/CA Q7mRh8Tjs0hY1EqiJNX7yhWCxtIPJVwI4BEOtolFqhCXtfCbOxoj3NZ/DZjbeXKbdk4Q joUg== X-Gm-Message-State: AElRT7HNc+gk4faYjq2ARYbyXXnGvs0l5Q30gdYHKlx+qbKl+X1RxXY/ nicECZFQcZ9oBJrKoTIFQOss37bUwn/ata/5pY5G+A== X-Received: by 2002:a5b:c06:: with SMTP id f6-v6mr21083516ybq.484.1523296858168; Mon, 09 Apr 2018 11:00:58 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a25:cf41:0:0:0:0:0 with HTTP; Mon, 9 Apr 2018 11:00:56 -0700 (PDT) In-Reply-To: References: From: Kees Cook Date: Mon, 9 Apr 2018 11:00:56 -0700 X-Google-Sender-Auth: 1d2jk938M1FW5i1rwu9wSynsCoo Message-ID: Subject: Re: [bisected] 3c8ba0d61d04ced9f8d9ff93977995a9e4e96e91 oopses on s390 To: Linus Torvalds Cc: Sebastian Ott , Sebastian Ott , LKML , Heiko Carstens , Martin Uecker , Ingo Molnar , Miguel Ojeda Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Apr 9, 2018 at 10:14 AM, Linus Torvalds wrote: > On Mon, Apr 9, 2018 at 10:03 AM, Linus Torvalds > wrote: >> >> Our old "min()" had the internal variables called "min1" and "min2", >> which is crazy too. > > Actually, no, it used the really cumbersome "__UNIQUE_ID" and then > passed that odd as the name 'min1/2', > > Ugh, I find that really nasty to read, but it was obviously done > because we hit this before. Ooof. Nice find. > And our __UNIQUE_ID() macro is garbage anyway, since it falls back on > the line number, which doesn't really work for macros anyway. But we > have proper macros for both clang and gcc, so maybe we should ignore > the broken fallback. > > A patch like the attached, perhaps? Can we update the comment near the top to explain why we need __UNIQUE_ID() since we've now rediscovered why it was originally there? -Kees -- Kees Cook Pixel Security