Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp1668575rbb; Mon, 26 Feb 2024 18:25:10 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUKfDgaP2Uskb89lGRbrbSK3/rM6pI3n2eQs0rrrW1SNhmE0K5AM28PYUcL0QV5fHpRjM6MA3JdB+vHFJgL0EqJVeoGNiGmKVJ9VylhYQ== X-Google-Smtp-Source: AGHT+IGotN3RNCjn1TZEL1lFQ0G0IYXfXzquoO+E+Uua0MZQDm6X18mGOz1scG3A40QKOq5MdKDx X-Received: by 2002:ac2:488f:0:b0:512:ec79:3be5 with SMTP id x15-20020ac2488f000000b00512ec793be5mr4800219lfc.43.1709000709953; Mon, 26 Feb 2024 18:25:09 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709000709; cv=pass; d=google.com; s=arc-20160816; b=D4/tWI6KWgwbAZ/dHB1e+S0Djv4573yPc2yXbLEH41hASl7B3Sx1Vlvwqp/ZdnAzxZ 1fqS8IwIwY+mL0nIvtA53I16+9kMZCEpYhgHyGBBWBM3kPHg0yP2Vo3E4ZJ231zAs94D VDilKfyXpb0pmSYtkBK4iDXWelHBpRrAPnzeiHGWkjWp3izD0ghnugoN8LbhkS0xSzpW XNWKa1lhk5EJO8399HkxZURZoq1B2kc1A/uK6yJ4W6XaWs6wTeDozcoI33iGNmChtqyi ng5w1GK84oD0u9uxg5HS+6xOvageNKOtf2m4fjUMm1cZrcxcccYqao1UDS03ywLrBPqw BU2w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=onC8mH0+LNFAw3f6pfXwbRfK//kaOOhoZC+CYO/UQIE=; fh=o/Qksyy1W4DYOfQ5FMietS4pNzZKcbIgwDx3LxKkTeQ=; b=ap1QzWLhqzNjwxcfFcEID6Y1Bqpbk6WQJxC4JM2PXNg2YHog/gah7qnbNX0iK0SISp MKGzPVaGPYiIaMqR9V6iojgAg7OBAsQDsuwZfOTDZCAxII30oRotbnfWycjcR53z1t7k 7Z576jOZuklX1nHwIPFc3+c2NxhyhGLRxQIZcqluidNkicpQ/JlHaTsMZgnSm9qWivtQ 4HLJ+1789afbwASoz/pzJwRj1Ea+QZjwMhMfRZIBPnM4IdSUKY6Gwc5CKektUWqQqJRA pSSNqZbCsQz40QfXCpniJznZxv+ONnid0zxv2pDEZ+Tfm34cV5weeNzaVJ4HbwwT3epM F3Rg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b="UkkaMI/D"; arc=pass (i=1 spf=pass spfdomain=chromium.org dkim=pass dkdomain=chromium.org dmarc=pass fromdomain=chromium.org); spf=pass (google.com: domain of linux-kernel+bounces-82606-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-82606-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id p10-20020a1709060dca00b00a4348c9aa40si283099eji.68.2024.02.26.18.25.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Feb 2024 18:25:09 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-82606-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b="UkkaMI/D"; arc=pass (i=1 spf=pass spfdomain=chromium.org dkim=pass dkdomain=chromium.org dmarc=pass fromdomain=chromium.org); spf=pass (google.com: domain of linux-kernel+bounces-82606-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-82606-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id B380E1F26358 for ; Tue, 27 Feb 2024 02:25:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D7BC61170F; Tue, 27 Feb 2024 02:24:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="UkkaMI/D" Received: from mail-pf1-f172.google.com (mail-pf1-f172.google.com [209.85.210.172]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A7462EED7 for ; Tue, 27 Feb 2024 02:24:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709000683; cv=none; b=EDMXH7u+s5XmaifY7d8+UjWEO4aKMabxmi1YvRWjN5cqyLNKw/4Oc7x7wdRqzoFw6nVKpReiuyxAyVnqqWbu0eucvSGeiuXnmTGhWX5eFMkuuLskDU5Dd7BjXy/59OcQrnxIiiSAtKR3rvnNzZj57pJlEDwXzA3bxJRAGagnu3c= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709000683; c=relaxed/simple; bh=iwNeR8ywrJJH5h6rwIKyP+UrNkzMA7ePj9il1NZH8Nc=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=DJaBxWSq+H7KQnMfT2gaXN0+HY0cSiCcPjYmsiPcMDGdJX/ZZpsFQ+9Nd/74ob1hHbMTLRl07hgY8WK4Rb30QT3mxSazXeJ4F1T11SycHc52jEZfny7BiLoiADTNBHKy8YXtFIzi6kXVtyEcsQDKKaGoWmMFX6EXYO3witeagCs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org; spf=pass smtp.mailfrom=chromium.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b=UkkaMI/D; arc=none smtp.client-ip=209.85.210.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=chromium.org Received: by mail-pf1-f172.google.com with SMTP id d2e1a72fcca58-6e53f76898fso602155b3a.0 for ; Mon, 26 Feb 2024 18:24:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1709000681; x=1709605481; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=onC8mH0+LNFAw3f6pfXwbRfK//kaOOhoZC+CYO/UQIE=; b=UkkaMI/DJoIkBHecWS8uqG8kNyv6IJTLplBIkkO+yXGZHCYJVOLVbwFzY68ZuKnUkH nLobq9fQn0W4gqKtCQWDDvv0gLiBlZCNPP2DacKxzZeRpVVpT/LLbfKrFjLXyRbHrbaf AnU0dtIqHax3jTBELqNkCt2AHUeK5i3UtApBw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709000681; x=1709605481; 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 :message-id:reply-to; bh=onC8mH0+LNFAw3f6pfXwbRfK//kaOOhoZC+CYO/UQIE=; b=Q/aEqYjoRzWf2W3vOqI25ZUAmSqX0DCsy/gydsHjoT/Dt88i8+6DV/d0D8xoU1V8EP xnTX6vSqOsJ2tA82ItF3Y8C5vzgtoNxO+R1j/HG0uiN9SOiifhqtadOtZXKVSMwtrCKK PNRxBvPLkkRQrtLqPMpGlxwowA4Azotp5sBOT00qA8W05JL2V6uNExv+EFqZkYZHTuB9 tqljtGMwV6NTe9O4eQpvXW1CVpW5zdJV3lfm0oJzfDFZqjVrfGLbVAergi+QWPgpkeVj EwIm7P1WBfQvmIDRglyuqbVD5NdWbLVwwAheRsTe5DNZA6qKBdY1ttiAkrQgE9GNs4Ux UPZA== X-Forwarded-Encrypted: i=1; AJvYcCV/uOaLbzDoI0indPGWG7q9cfSBByArxEPoqPoBcUdc/9REk9P5gfy09vzVutWvBmCjuyhUeGKfF6zGw9Y78jhh8qmZdQWwSFI5Fesj X-Gm-Message-State: AOJu0YzIZ2fwJoDELmIXePFchIbVUSydQYaBcZ+KUY/zbvMvp9W2fzwV KBH/eaXliDvPm9Sl/57jN+w2X6FX/6KkWytYvESb3T5mtG73Ij1s+Nn/kHb2Uw== X-Received: by 2002:aa7:88d4:0:b0:6e5:456b:bff9 with SMTP id k20-20020aa788d4000000b006e5456bbff9mr1791572pff.12.1709000680917; Mon, 26 Feb 2024 18:24:40 -0800 (PST) Received: from www.outflux.net ([198.0.35.241]) by smtp.gmail.com with ESMTPSA id lb1-20020a056a004f0100b006e53fefe7c9sm1053117pfb.189.2024.02.26.18.24.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Feb 2024 18:24:40 -0800 (PST) Date: Mon, 26 Feb 2024 18:24:40 -0800 From: Kees Cook To: Stephen Rothwell Cc: Masahiro Yamada , Linux Kernel Mailing List , Linux Next Mailing List Subject: Re: linux-next: manual merge of the kspp tree with the kbuild tree Message-ID: <202402261824.D1FB2DA6D@keescook> References: <20240226165811.56f71171@canb.auug.org.au> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240226165811.56f71171@canb.auug.org.au> On Mon, Feb 26, 2024 at 04:58:11PM +1100, Stephen Rothwell wrote: > Hi all, > > Today's linux-next merge of the kspp tree got a conflict in: > > scripts/Makefile.lib > > between commit: > > bf48d9b756b9 ("kbuild: change tool coverage variables to take the path relative to $(obj)") > > from the kbuild tree and commits: > > 918327e9b7ff ("ubsan: Remove CONFIG_UBSAN_SANITIZE_ALL") > 557f8c582a9b ("ubsan: Reintroduce signed overflow sanitizer") > > 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. Thanks for this! Yes, this conflict resolution looks correct to me. -Kees > diff --cc scripts/Makefile.lib > index 298bd8c80d65,b4a248c20654..000000000000 > --- a/scripts/Makefile.lib > +++ b/scripts/Makefile.lib > @@@ -181,8 -175,11 +181,11 @@@ endi > > ifeq ($(CONFIG_UBSAN),y) > _c_flags += $(if $(patsubst n%,, \ > - $(UBSAN_SANITIZE_$(target-stem).o)$(UBSAN_SANITIZE)$(CONFIG_UBSAN_SANITIZE_ALL)), \ > - $(UBSAN_SANITIZE_$(basetarget).o)$(UBSAN_SANITIZE)y), \ > ++ $(UBSAN_SANITIZE_$(target-stem).o)$(UBSAN_SANITIZE)y), \ > $(CFLAGS_UBSAN)) > + _c_flags += $(if $(patsubst n%,, \ > - $(UBSAN_SIGNED_WRAP_$(basetarget).o)$(UBSAN_SANITIZE_$(basetarget).o)$(UBSAN_SIGNED_WRAP)$(UBSAN_SANITIZE)y), \ > ++ $(UBSAN_SIGNED_WRAP_$(target-stem).o)$(UBSAN_SANITIZE_$(target-stem).o)$(UBSAN_SIGNED_WRAP)$(UBSAN_SANITIZE)y), \ > + $(CFLAGS_UBSAN_SIGNED_WRAP)) > endif > > ifeq ($(CONFIG_KCOV),y) -- Kees Cook