Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1160503pxu; Wed, 6 Jan 2021 14:10:58 -0800 (PST) X-Google-Smtp-Source: ABdhPJy6qWSvYFnA0bmBoCsdZZ7IGKiZR75KqVPn/2XQ/HgvQt/9bk3NGwuuErtHgCTsryz33Zbk X-Received: by 2002:a05:6402:b4d:: with SMTP id bx13mr5372895edb.93.1609971058363; Wed, 06 Jan 2021 14:10:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609971058; cv=none; d=google.com; s=arc-20160816; b=X4p8eKUfVajl5oaPBcHUaMmYxMZPaKzsblVdl84oUf3gorIYijc/FyqUw9i8j9AT48 zI1OCOfwRyrJF40hsTRaQrDNXBJy0G43LTWU4BCws/bSsU1l6f1btALVPeDcVWeIFRhQ BTvXxqfyZ6t8cIevDzLMgJN2Hx9vaxIUisxU1+lP0Wzc2+o3T/oNbWx1UzernJJndzBc 2TD4r41Q6dy8PG73+0sHYXhX22AMPzCrlO0Xr0WdFehc6s2/Ww8jSrMp+2ctA5uDJgru 3SvWmc97zTgpYKdVXTpuS8cCPZDpr59ohTSrdw3Icg+rSce2stnGMd5s+01QdoIN5BhC jqmA== 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=gbjKi+e71SsDc4NQCGiMvj4AXo+uTKzbkijgCrcadUM=; b=I4i+q1JrHXraWxnVaqJEhQKaJIfFZlGJJUqIrmPLxHsUEiVWoKZFpxFEr2uFG/mTfD clvyNXBQVwZpPJ38njoYAFsGOJuy/D6n69M8IvV1EpjhwwwRsZx+d2aEIvuSSXbNvGXk KAfxjNYKy3tmoGosa2Ostf/JYC/rXBhqXRy1D77h68neZiprd7OCt0EzNm8j2mR0nLLZ AzKF2lJO9SpcwbrdGbHyR5owjoKIWzvyG6gcgvR1gYUQ6mR/3Ves925GujoeEdxqYoau MRWcNbZCjmMk3jKMQ6cAD2LtZZYh3/DRh9BHBowX44VCFSt8a7NUshPkAAZ1Pxgf81+c ZmKg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=Y5TZ6jxB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id qp24si1563032ejb.323.2021.01.06.14.10.35; Wed, 06 Jan 2021 14:10:58 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=Y5TZ6jxB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1727187AbhAFWIa (ORCPT + 99 others); Wed, 6 Jan 2021 17:08:30 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44174 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726979AbhAFWIa (ORCPT ); Wed, 6 Jan 2021 17:08:30 -0500 Received: from mail-pl1-x635.google.com (mail-pl1-x635.google.com [IPv6:2607:f8b0:4864:20::635]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6D0DDC06134C for ; Wed, 6 Jan 2021 14:07:39 -0800 (PST) Received: by mail-pl1-x635.google.com with SMTP id b8so2272764plx.0 for ; Wed, 06 Jan 2021 14:07:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=gbjKi+e71SsDc4NQCGiMvj4AXo+uTKzbkijgCrcadUM=; b=Y5TZ6jxBBm/t//yk2kjS7Gjfn3fFGsD1g3z9HQqPgTjtZde8ZWcu3graMZoJkKtZZZ MkiZSEK3xKr8OXScasaNj+YV1XnCBpfS+L7oi1659Gp+hquBN4uXfNpC+SO7iLc3NVeF PL2lx9hOtRtSn3fTvdziY2o4PEcTtokVRdRvA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=gbjKi+e71SsDc4NQCGiMvj4AXo+uTKzbkijgCrcadUM=; b=qrfABLt9dDF88OgMQVfHLz/ztjV/K0XHD5aJGMvkE4kPQJNfD5Abth3OKG7YITzJhi pgKrmfUqRf17huxZoQYbq9doIR4l7Qi9RC0/7Vi9gDt8KzwKxnR/M87jx2s4go4LHNMn oBu6AsL+/oRjWiOm3ag40VMh+FrWZ3T+8nKvAEZztBG9LrdTnCfkh+PYqQofDlKJLhIC JgGB1WhG01gzG8bUQkdKEUo54izVsRuhFII5JzuoRX6bebZm/G4Y2C47Dub/p+txO+yE qFtkZZS4/3r2pKDTij5zR7Oi+dtKvErYS6GdIIikTuKhE3leBaLWUuu0mM6ig/LP+aC6 EtPA== X-Gm-Message-State: AOAM532x5Iq9b17uytFBtidSGqZ/MfczIqkGd9yadZMsXtYFnUkMrbLg ROhh9xoj/A8yKxL2sU5fD4Cxrg== X-Received: by 2002:a17:90a:f40e:: with SMTP id ch14mr6170178pjb.172.1609970859090; Wed, 06 Jan 2021 14:07:39 -0800 (PST) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id t6sm2935350pjg.49.2021.01.06.14.07.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Jan 2021 14:07:38 -0800 (PST) Date: Wed, 6 Jan 2021 14:07:37 -0800 From: Kees Cook To: Alexander Lobakin Cc: Thomas Bogendoerfer , Nathan Chancellor , Fangrui Song , Jiaxun Yang , Alex Smith , Ralf Baechle , Markos Chandras , linux-mips@vger.kernel.org, stable@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 mips-next 4/4] MIPS: select ARCH_WANT_LD_ORPHAN_WARN Message-ID: <202101061407.6F59BE7@keescook> References: <20210106200713.31840-1-alobakin@pm.me> <20210106200801.31993-1-alobakin@pm.me> <20210106200801.31993-4-alobakin@pm.me> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210106200801.31993-4-alobakin@pm.me> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jan 06, 2021 at 08:08:46PM +0000, Alexander Lobakin wrote: > Now, after that all the sections are explicitly described and > declared in vmlinux.lds.S, we can enable ld orphan warnings to > prevent from missing any new sections in future. > > Signed-off-by: Alexander Lobakin Reviewed-by: Kees Cook -- Kees Cook