From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f43.google.com (mail-wm1-f43.google.com [209.85.128.43]) (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 5B7631DF963 for ; Sun, 18 May 2025 11:30:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.43 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1747567836; cv=none; b=LfgDXNHMzC//SmQnkXVLu4RQ8rIa4E+27I/DCo7ET/mdVNIIe1Zr21jZc5Usky+iO146gtWdHZ7VWudzfvAOR5YsW0nJN4BUKH6n9atnGRIOIuh7Zt0RXwPZutjURu5FHUUTO5GA5h0IfnbsVK5y5wtB7efEdy+dlnIMzK7gxVM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1747567836; c=relaxed/simple; bh=jkdiG0lJ94nElrybyviFXtXTYbeXbXBXBnbvmhZs2hU=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=EmfcoiBfNMeKq5Sbns+hVlC67TKqIdcEwl0Df2hm2fU4I5jPazTjpe+yljF+yQ2XogPnPDgJUXH5yi3+dEGqHgrDjzlKwEsEXuZL4TLaNmB+6Rn76UHfBG4/vuE6VLcssSqKDKDNOVDjloT6Yvkm7JIdnySMP/2cT3ArU1jkThY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=suse.com; spf=pass smtp.mailfrom=suse.com; dkim=pass (2048-bit key) header.d=suse.com header.i=@suse.com header.b=dvu7mXo5; arc=none smtp.client-ip=209.85.128.43 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=suse.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=suse.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=suse.com header.i=@suse.com header.b="dvu7mXo5" Received: by mail-wm1-f43.google.com with SMTP id 5b1f17b1804b1-43d0618746bso26893895e9.2 for ; Sun, 18 May 2025 04:30:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=google; t=1747567832; x=1748172632; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=pBIA1MI9/yicy05NsDe+86Fp64IqgnRMLxKdcioKfYA=; b=dvu7mXo5TeW02fvoBHlKTWfNS8SeySbzEoyVsFudg61XYEvJyQxlHPDKDhwMEUEvBc MhxiuYbwi7gN+y9QLwuMLnGkCpv+sI38nlUYU72aET/T+nNqX+r0SxytqLL+B/L/M5Zm qjcJqJgWzIiZTfyG/VEAECIdKRC41pSFkKwl3yX1jKqaNIEmAMqAhaQWN7kUuMIdw/qK 6OADlMBZxY6AnkMiFGn8P0Loa/vdWU9hFR/BlZ479q54WYUBTg4jQJXPtlvt4BGJHlBe sjNHzL84wu1hZl8XHWAYrkGFgoGJSMsFxoKhawEjctVsZAMD4eLPxKnK5NYjLR5A9/lk unOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1747567832; x=1748172632; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=pBIA1MI9/yicy05NsDe+86Fp64IqgnRMLxKdcioKfYA=; b=VpviHyULoi93FUi3Wa9Rw+xr6Lzm4IHxpU70hrZeeFU9i2Q4epLXpp2Ij7BAkGw0J1 tl1QGGcwanxXvz4gqRZrb20vP+9NHZfvnbpHIMWb/XewjlWYplsBaHFPahyUuLiq/lLY Z4h5DEHFu7/+Y0ccIxpD6thDBU+/2org8RTna4UHWPCAdFG657FTYw+DafO7t+NoKN0V G9RHxn5YINFH20SOWDNuHoDg3s2ZIQozaHZ0th70nwQ/i1WP48yIalzEBUyKuoTn7BTj 918V+HHEqVuoDwJA+5A9s2UqBETEkxcEU1Be/Lsf1643tjo9hsymtIwRI2JEUvl9Ae0+ y/iw== X-Forwarded-Encrypted: i=1; AJvYcCVhIBCieHBdU/bc5opETrBza0n71eiXQKSRf/p6itNKeis2eA/rjvg+xejiJ05SGoGEGayu5hW85VtVYY4P@vger.kernel.org X-Gm-Message-State: AOJu0Yy4oP+cNTsZHbg53NCEYlvD81vZDDcquqXApjjwRfjCUyhAS4zF CXQqHog/AA9sTpfdfnfAlOhpLpP4y87htLH3jj/4L4Gkwg6Q4lvXBvqt1BIxMxvn6PQ= X-Gm-Gg: ASbGncuCTTAsueFclMperK58FL08+3E91jDtXeCgIvWRi/bJjXRxzJ5tePO98mKrbo0 q6ZmytnR4m+0q4MTB45wUuylLenB4VT9Sr8NdMEzpSuZDxJFVWgr89uQazxMpHte0r1ZtFXG7Qh GwTAGzc2w4x5nH2lF+KDN4/JVc0ufIbAnslPEu5Dwybl946/YEidfiYsRcqGr12MLms+qfK3Cwa tznZLnOrNC6FJmFPxiC6ATqMiqsKK5tNwB6aO6gB22hzCL02z2s1rL88bMzH41XXPr5VYkGl5NW 6y2yRPeIZkz3gEjL9iAz0hFWfPfIWgQJWwXlcfIKGTHyn7EmHRVgIQ== X-Google-Smtp-Source: AGHT+IF34B9iB4YYbEjDrj12bkfULgsY6pZqvIhu7M+OeX0JALzMAOn3pM/55PvEI45+GQTKRphZsw== X-Received: by 2002:a05:600c:6296:b0:43d:46de:b0eb with SMTP id 5b1f17b1804b1-442fefee254mr84736685e9.12.1747567832613; Sun, 18 May 2025 04:30:32 -0700 (PDT) Received: from [10.100.51.48] ([193.86.92.181]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-442fd59701dsm99293335e9.35.2025.05.18.04.30.31 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 18 May 2025 04:30:32 -0700 (PDT) Message-ID: Date: Sun, 18 May 2025 13:30:31 +0200 Precedence: bulk X-Mailing-List: linux-modules@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v3 0/5] module: Strict per-modname namespaces To: Masahiro Yamada Cc: Peter Zijlstra , mcgrof@kernel.org, x86@kernel.org, hpa@zytor.com, samitolvanen@google.com, da.gomez@samsung.com, nathan@kernel.org, nicolas@fjasle.eu, linux-kernel@vger.kernel.org, linux-modules@vger.kernel.org, linux-kbuild@vger.kernel.org, hch@infradead.org, gregkh@linuxfoundation.org, roypat@amazon.co.uk References: <20250502141204.500293812@infradead.org> <49b63a7c-d323-4b13-8a1d-11ec8f0a3152@suse.com> Content-Language: en-US From: Petr Pavlu In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit On 5/17/25 08:48, Masahiro Yamada wrote: > On Wed, May 14, 2025 at 5:48 PM Petr Pavlu wrote: >> >> On 5/2/25 16:12, Peter Zijlstra wrote: >>> Hi! >>> >>> Implement means for exports to be available to an explicit list of named >>> modules. By explicitly limiting the usage of certain exports, the abuse >>> potential/risk is greatly reduced. >>> >>> Changes since v2: >>> >>> - switch to "module:" prefix (Masahiro) >>> - removed some patch noise (Masahiro) >>> - strstarts() and strlen() usage for prefixes (Masahiro) >>> - simpler ___EXPORT_SYMBOL() changes (Masahiro) >>> >>> Not making using of glob_match() / fnmatch(); this would result in more >>> complicated code for very little gain. >> >> @Masahiro, please let me know if you're still reviewing the modpost or >> other changes, or the series now looks good to you. I'd like to take it >> for v6.16-rc1. > > > The first patch was applied to linux-kbuild. > > I think I can take it. Ok, that works for me. -- Thanks, Petr