Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp1451635rwb; Tue, 27 Sep 2022 13:19:25 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6Pxkjnipbfw6NrsMoMQMm5d8Z+7dO7uwSMloSX4ie25dcarqtR4ZWkip8BqPTD6Q4OmCGR X-Received: by 2002:a63:e711:0:b0:438:ebbe:4a94 with SMTP id b17-20020a63e711000000b00438ebbe4a94mr26161332pgi.0.1664309965246; Tue, 27 Sep 2022 13:19:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664309965; cv=none; d=google.com; s=arc-20160816; b=olEZyhbJRcA5qCAX3XLVn3g1/10L3S4Nq0ADmjCjDWMSSxGrYPwuyOAoS7axtPS7bS Q1AOS65oGqJoNq4vlODcdpX+DznkMlPZaR1KfVCjx68sjeFt3fhOzu5QL/b3f+x//7xt B8+HaRt9L4+TqxeIt5Oq8MG7psv7jkU2H25ezTn7Y9TXv7iiao8yohSEnlE26oQyYeNs GwLsTNI/vyGfkUE22SnZPbX13lzhywpb0IXpzOTnsLM4j5dmasOY3gyrYsr4whwyQkWN Ah0jmlUByxlIxVnfWxusSSiK8Z9kjzzBKEoU7lilVIF/xBrI5pGUpGzRox5dN7NY51EC wFTw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=844Pn5/LmB3AgRBlNHvx7SD6mQmPiws8Jz+CEqeNnBo=; b=aBw2Ql7765mYGLFYaHNgNYuFHvyCr3DT6OEGlbrreTfwLyMjC7nhkzJhjv8VWSAvA6 Ll4iNIWWGCS4VxyUOoqj3vYIYbnyj/kIeoCow7XmSkhFjkJ/q3jywkzS3wbySZJJo1S8 U5aKhTMw6xeatVT0H5duQnADBWdFs5CthDOKH0G3pF/mmKYfWjWmklJq3UWfaqAvHTJX //VSyXalgJmDe+rftMQLYDOQdfMKkhaFp04Yl+SbFERFvvvF0yEKnc5628JCFrbahT8p 6y6FQZs+m/yCEQOcLGuYGaQGGux7clg0VZpWassUUB+oe+8sh87WbcaJ389oyT4y316c kwCA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=NIU9Gtqm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v18-20020aa799d2000000b00540cbd3cb18si358014pfi.234.2022.09.27.13.19.13; Tue, 27 Sep 2022 13:19:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=NIU9Gtqm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229616AbiI0TaW (ORCPT + 99 others); Tue, 27 Sep 2022 15:30:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53026 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229966AbiI0TaR (ORCPT ); Tue, 27 Sep 2022 15:30:17 -0400 Received: from mail-pl1-x62e.google.com (mail-pl1-x62e.google.com [IPv6:2607:f8b0:4864:20::62e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 11F547F279 for ; Tue, 27 Sep 2022 12:30:16 -0700 (PDT) Received: by mail-pl1-x62e.google.com with SMTP id n7so1236979plp.1 for ; Tue, 27 Sep 2022 12:30:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date; bh=844Pn5/LmB3AgRBlNHvx7SD6mQmPiws8Jz+CEqeNnBo=; b=NIU9GtqmP9SDovCmNROhmPvmHVSL46uToOK7pH6L3+xEm/abkir/lYfF28EfoVzaJE kEvjRmoqPn6n9rXPvTiGDvjIjvZiiWEuBmI6Fu/izAFImycrwcT7EySvkV6kA9KXWfc2 GYaKA1YJM5uZDZVZ5HSkj9e/QZgOHJ44Opmqo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date; bh=844Pn5/LmB3AgRBlNHvx7SD6mQmPiws8Jz+CEqeNnBo=; b=ful+a6s9BzcQ+LcTl+8PIt4qUfPqgLo+AvrGUNkcBsgp55uulHsYrXsNn/7how2FEs tNFaoP17Yl/ioVLuMQo5Xz2VRNQGGBG2DHHRPataHKzCrdv1BCyMjUs0eeZPQXf6sJ8B VSN7puGYEwIdKw3BHqNh60IM6K/EJiGLCcqeWLnnWiSlxaIrAo1vWAInw/+8BTlGOxo8 XIgdLNmTz2OT29CQFa43XmQzZe6IwjAjwKtQAj5NkafevGl9qsRP+JKsO3oEgFK7X1P+ lRtx/CRR/yaW41E28urj6rQT8sDqLNjSZHHCJy3VDW7ARcSfnnxagRotNjFfSXJJ2XRF sLsQ== X-Gm-Message-State: ACrzQf3/eld3qtdX/AfXtf0B7a3edT8Pwshu4x+VAnVSWqw46n648/J/ Y9cbdTfr9hSGa6PNQf/DepDH+g== X-Received: by 2002:a17:90b:4d12:b0:202:f027:557e with SMTP id mw18-20020a17090b4d1200b00202f027557emr6325309pjb.1.1664307015549; Tue, 27 Sep 2022 12:30:15 -0700 (PDT) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id c17-20020a170903235100b001732a019dddsm1967091plh.174.2022.09.27.12.30.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Sep 2022 12:30:14 -0700 (PDT) Date: Tue, 27 Sep 2022 12:30:14 -0700 From: Kees Cook To: broonie@kernel.org Cc: Daniel Borkmann , Jiri Olsa , Linux Kernel Mailing List , Linux Next Mailing List , Peter Zijlstra , Sami Tolvanen , Thomas Gleixner Subject: Re: linux-next: manual merge of the kspp tree with the bpf-next tree Message-ID: <202209271229.83AC9BAA0F@keescook> References: <20220927190811.514527-1-broonie@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220927190811.514527-1-broonie@kernel.org> X-Spam-Status: No, score=0.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SORTED_RECIPS,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Sep 27, 2022 at 08:08:11PM +0100, broonie@kernel.org wrote: > Hi all, > > Today's linux-next merge of the kspp tree got a conflict in: > > tools/objtool/check.c > > between commit: > > 9440155ccb948 ("ftrace: Add HAVE_DYNAMIC_FTRACE_NO_PATCHABLE") > > from the bpf-next tree and commit: > > 3c68a92d17add ("objtool: Disable CFI warnings") > > from the kspp tree. > > I fixed it up (see below) and can carry the fix as necessary. This > is now fixed as far as linux-next is concerned, but any non trivial > conflicts should be mentioned to your upstream maintainer when your tree > is submitted for merging. You may also want to consider cooperating > with the maintainer of the conflicting tree to minimise any particularly > complex conflicts. > > diff --cc tools/objtool/check.c > index fcc4d8ea8cec3,48e18737a2d18..0000000000000 > --- a/tools/objtool/check.c > +++ b/tools/objtool/check.c > @@@ -4124,7 -4118,7 +4128,8 @@@ static int validate_ibt(struct objtool_ > !strcmp(sec->name, "__ex_table") || > !strcmp(sec->name, "__jump_table") || > !strcmp(sec->name, "__mcount_loc") || > - !strcmp(sec->name, ".kcfi_traps")) > ++ !strcmp(sec->name, ".kcfi_traps")) || > + strstr(sec->name, "__patchable_function_entries")) > continue; > > list_for_each_entry(reloc, &sec->reloc->reloc_list, list) Thanks, yes; this matches what I had when I did a test merge yesterday too. -- Kees Cook