Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1779870imm; Thu, 27 Sep 2018 02:20:30 -0700 (PDT) X-Google-Smtp-Source: ACcGV633CDAs9VWjIaNb5GvB3nOB/r3J+7k+iaG6+UR0C6e1MDKtJjRNF2/So7No0fdyoHtP7x6t X-Received: by 2002:a17:902:274a:: with SMTP id j10-v6mr10196909plg.152.1538040030487; Thu, 27 Sep 2018 02:20:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538040030; cv=none; d=google.com; s=arc-20160816; b=dejFEXBTupg5egLRgX5QM0C41JNgx80y35CD5WJBaHqFa6At9i09i+/aMpPLLfqO9N ZF8B1f89hk79OcSTAxRQJc81zN9j4i3eHURV9n6UdhQQ4GRoOBW8XneN1bR0WwJ4g+EQ t1vhLXG4t0F11JqkHDElf2NG5fpLsJ3ue3S1DwzsJ291nJx3H+bp2t3cGJNCztD0aNGb gh++3u7IU2VPZLpSLOqN3nZf3lpx9x42r32CJYnsiUa4phncyclU0IWnxzrnKwA7a/s+ P94MkirficIR2m3oXT4UQQR5AoC764i/FzISmyloxqBfdGrdUaIWFsGjutPQNncBVCRH Yeow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from; bh=+NauzAlsW0krWkkGGyDKQ6lQF5X85OAxpYfriTYKGfM=; b=VzLfk3Q1rJicK9U99/Je6nkfLqRJpVuPnMy1If2DBfOmuuU2q+ytJQGd536Eh3hokJ CwxctFI2rxb3vZ6sI+GmAMXrUbTz18ZjRKLKwd5rGTmXisBSVdm/5Uig14M4YdqOldp4 SsXCk49au6C5HB2cVc6iemtA3rwFV0betAQ5gDTpl2JYVhVVKMhN3COtaoR5roJubgBd TapX851w7w4Oh5XDFQcjiIRY1UJHOqeG3US5t/j7QVNge2HzbRrHtnqCizzxoGAyGWfx TWJ4Wunof/KDogwrNCricuIrscB9+wrkotGoJ5y85fBw/pCufiwSMyryaOZi+RnTMvvb VZuw== ARC-Authentication-Results: i=1; mx.google.com; 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 b27-v6si1489479pgb.156.2018.09.27.02.20.15; Thu, 27 Sep 2018 02:20:30 -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; 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 S1729024AbeI0Pgu (ORCPT + 99 others); Thu, 27 Sep 2018 11:36:50 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:56228 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727280AbeI0Pgt (ORCPT ); Thu, 27 Sep 2018 11:36:49 -0400 Received: from localhost (ip-213-127-77-73.ip.prioritytelecom.net [213.127.77.73]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 47AD31113; Thu, 27 Sep 2018 09:19:30 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Lubomir Rintel , David Howells , Randy Dunlap , Mat Martineau , Stephan Mueller , James Morris , "Serge E. Hallyn" , Andrew Morton , Linus Torvalds , James Morris Subject: [PATCH 4.14 36/64] Revert "uapi/linux/keyctl.h: dont use C++ reserved keyword as a struct member name" Date: Thu, 27 Sep 2018 11:03:53 +0200 Message-Id: <20180927090255.195180674@linuxfoundation.org> X-Mailer: git-send-email 2.19.0 In-Reply-To: <20180927090249.801943776@linuxfoundation.org> References: <20180927090249.801943776@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.14-stable review patch. If anyone has any objections, please let me know. ------------------ From: Lubomir Rintel commit 8c0f9f5b309d627182d5da72a69246f58bde1026 upstream. This changes UAPI, breaking iwd and libell: ell/key.c: In function 'kernel_dh_compute': ell/key.c:205:38: error: 'struct keyctl_dh_params' has no member named 'private'; did you mean 'dh_private'? struct keyctl_dh_params params = { .private = private, ^~~~~~~ dh_private This reverts commit 8a2336e549d385bb0b46880435b411df8d8200e8. Fixes: 8a2336e549d3 ("uapi/linux/keyctl.h: don't use C++ reserved keyword as a struct member name") Signed-off-by: Lubomir Rintel Signed-off-by: David Howells cc: Randy Dunlap cc: Mat Martineau cc: Stephan Mueller cc: James Morris cc: "Serge E. Hallyn" cc: Mat Martineau cc: Andrew Morton cc: Linus Torvalds cc: Signed-off-by: James Morris Signed-off-by: Greg Kroah-Hartman --- include/uapi/linux/keyctl.h | 2 +- security/keys/dh.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) --- a/include/uapi/linux/keyctl.h +++ b/include/uapi/linux/keyctl.h @@ -65,7 +65,7 @@ /* keyctl structures */ struct keyctl_dh_params { - __s32 dh_private; + __s32 private; __s32 prime; __s32 base; }; --- a/security/keys/dh.c +++ b/security/keys/dh.c @@ -307,7 +307,7 @@ long __keyctl_dh_compute(struct keyctl_d } dh_inputs.g_size = dlen; - dlen = dh_data_from_key(pcopy.dh_private, &dh_inputs.key); + dlen = dh_data_from_key(pcopy.private, &dh_inputs.key); if (dlen < 0) { ret = dlen; goto out2;