From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-qk2-f13.google.com (mail-qk2-f13.google.com [74.125.230.205]) (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 C07DA486410 for ; Fri, 11 Sep 2026 22:09:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=74.125.230.205 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789164569; cv=none; b=DZ/6mT1+tk75HWLSXVnRHCaHmW3s5uexPdGngDLbstYuSgmiEcYqkHePuuOj2bPhSTnX7wBK+7ppPGwavaWjeRO3EOce/bM4VSTd0CX4iW7vwcK91gvBhv+9RPpW8Cjo85JMBebxspLgC5fn55sN+H83wPPUgIOzvYcMC9ahnpU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789164569; c=relaxed/simple; bh=ZhtceR9Fm3x1PqtxgXKQP5KqcUOG2uEBhA+0sw07vNs=; h=Date:Message-ID:MIME-Version:Content-Type:From:To:Cc:Subject: References:In-Reply-To; b=fKg63pTKKApxqB5BupqJAbWyGxemSgmA8BKt7CS3E3zHlKogOVVC7hh28bD2hypuaFOW+qoASPEQOvf5Izn4U9kp0euq0GBqhY8IJ9tIlwP6qtl60ZUq+ttZE1tMU+AxnGEg8zsVnOs7I6/WjnW/YTImGPg3HQpq8hk/f3GjKbs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=paul-moore.com; spf=pass smtp.mailfrom=paul-moore.com; dkim=pass (2048-bit key) header.d=paul-moore.com header.i=@paul-moore.com header.b=VnmBmrqF; arc=none smtp.client-ip=74.125.230.205 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=paul-moore.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=paul-moore.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=paul-moore.com header.i=@paul-moore.com header.b="VnmBmrqF" Received: by mail-qk2-f13.google.com with SMTP id af79cd13be357-93910ad20d4so5030785a.3 for ; Fri, 11 Sep 2026 15:09:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paul-moore.com; s=google; t=1789164566; x=1789769366; darn=vger.kernel.org; h=in-reply-to:references:subject:cc:to:from:content-transfer-encoding :content-type:mime-version:message-id:date:from:to:cc:subject:date :message-id:reply-to:content-type; bh=3LX6vyJd3+fW0hcCFrd1cZ1+qMqiip6Fji47Ec3/FuU=; b=VnmBmrqFi/Ky4EaYgXb+5LF0He76SwsE1aEDzuw0ykfftpg/LAxW2KEzCLmMPDnhF9 1Cga+bQIN5BIarqclsaDYRQJXkZH4tPexBGQtTIbLBUu1U1kzWLPuonSua40v/x8XJ8G zybm2yraGgkgfkCWl/11yEGDVANZ+Y7GjlfXG8B766jHmjSzgY0KaLGKT5eS12km51YG SqEFx1EoMOP3UxUDhU/agcvYq6gMqwHRRk4B1HTodUm24ZtE/CzECRRhCIhbnCAMytAW Uf/guP7ZX8TQn9qmrJCebZPtYBlPkbwRL4BIvMsmgEQuTfez9+j+UaCtUZnJ3cahA9LO PJzg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1789164566; x=1789769366; h=in-reply-to:references:subject:cc:to:from:content-transfer-encoding :content-type:mime-version:message-id:date:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=3LX6vyJd3+fW0hcCFrd1cZ1+qMqiip6Fji47Ec3/FuU=; b=F/lZ00u7k8OsNjd+ZEwCDrMwifzhvCr42uawGb2qqb+ytf1e+ijpkVoub/oKje8Xd3 ej0BCYmMqD1F2aMVYplYK1/sgn4NBARqOQo9TOBBbdj5k9oaiNxoefxPfp+NjGjaKBl9 8vCXqIcnm+PjJo6ZlJE81EFhGLju0o8x9eisqF7TQlzxijEn+kAOWU2UrYuYG3l1RZQW P31HkOjhlJn2HeA7j7/QqiKJLwqdZVop2uYYE4G/KTmrLRq5SoNP+CN08HJlt94Z+6Aq Ni7KmuQNuhTgQHB0cZ+MjgQ76ltIGG9n46/VA8CwyBnhFLC9xroQYPOojkUd6AER4o4Z Mm1Q== X-Forwarded-Encrypted: i=1; AKwUvByF8JmBcInFZ+kKQYR+I3BS5/zLu3L/FZfu3UXpohN4WRctWL+6kuhbIlaD4QNd1XJMVGe9CnJvads=@vger.kernel.org X-Gm-Message-State: AFuF++mlzNWiUVtvjOHDs8X44MKGWHqnMz7MpFqicFWy4YqofOpVIb0f 1BhijsqkaEQ3DPh+RItUi0f0D9JndDrB3PrhejL05u486G0CkKiqn7qlMH9XiHGcNw== X-Gm-Gg: AYBFou0o9ybgUmzMje+zQdUm8ibDs/T72WXJaaI9Ke8aThU75RvoUSlvRoBjyHSAe+Q cPZY74WMN57CkzKdwvfjcOa2znp5cdkKzhYrKaJ1jM9o0TSfVyg/sLLA1ZxjGhLbSYcQAYII3aR mjd/kSBh9c9u7+N8uA5Yye0YIMtGSn/0898Qx+T23fPEGmYXVKwadkeL97G0bVU/XBiUjnWsA7b CYCEasftjfs7tcShRBQ1we+SShMESvsoVqORu9Ssj97b02UC46BUm4aiOlpwVQSMP4Bmm2FhCGP V5y4OeazxXipVVvOTVHsyjIL/TCuPOMIiH2+5C6TdxcujOUxp4SJuwyW8f7vTQAsMNtAl48RZ/W EPJC/QipIHOIBsTxXTqE1TJn/K4dcTmzXgXT75MV7PzUrirMBt9lkcnwSPEWE+dPddBRLlMfYyU HfjnVkfEngqcxPPZwrvSVWDEQHg6MocAkQGTQzwk++cPETL9uTX/iMdiMec0SAG5zkAcqNHxWwC X8ZqNOoKa3Q+ULdXybdeuNt6l2g3giIsOUBNKLueB4Ab+QLwj1p5gQCfxUFwXCRBv4pMY4hemYT X-Received: by 2002:a05:620a:260f:b0:939:3a81:326 with SMTP id af79cd13be357-93a0390793emr45756085a.37.1789164566557; Fri, 11 Sep 2026 15:09:26 -0700 (PDT) Received: from localhost (pool-71-126-255-178.bstnma.fios.verizon.net. [71.126.255.178]) by smtp.gmail.com with ESMTPSA id af79cd13be357-939e80bfc90sm342667285a.37.2026.09.11.15.09.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Sep 2026 15:09:25 -0700 (PDT) Date: Fri, 11 Sep 2026 18:09:25 -0400 Message-ID: <81cbd4589373304334c7df4c1eba3660@paul-moore.com> Precedence: bulk X-Mailing-List: linux-doc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Mailer: pstg-pwork:20260911_1254/pstg-lib:20260910_1848/pstg-pwork:20260911_1254 From: Paul Moore To: Lincoln Wallace , corbet@lwn.net Cc: skhan@linuxfoundation.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-security-module@vger.kernel.org, penguin-kernel@I-love.SAKURA.ne.jp, rdunlap@infradead.org, Lincoln Wallace Subject: Re: [PATCH 1/2] doc: LSM: describe CONFIG_LSM and lsm= as the selection mechanism References: <20260714013832.977443-2-locnnil0@gmail.com> In-Reply-To: <20260714013832.977443-2-locnnil0@gmail.com> On Jul 13, 2026 Lincoln Wallace wrote: > > The LSM usage document states that security modules are selectable at > build time via CONFIG_DEFAULT_SECURITY and can be overridden at boot > time via the "security=..." kernel command line argument. > > CONFIG_DEFAULT_SECURITY no longer exists: LSMs are enabled via > CONFIG_LSM, an ordered list of the LSMs to initialize, which can be > overridden at boot time with the "lsm=" parameter. The "security=" > parameter remains as a deprecated way to choose a legacy "major" > security module, and is ignored when "lsm=" is specified; see commit > 89a9684ea158 ("LSM: Ignore "security=" when "lsm=" is specified"). > > A previous attempt replaced "security=" with "lsm=" in place [1], > which was rejected because the parameters are not equivalent: > "security=" selects a single major module while the built-in > CONFIG_LSM list otherwise remains active, whereas "lsm=" must list > every LSM to enable. > > Update the paragraph to describe CONFIG_LSM and "lsm=" as the current > selection mechanism, keeping "security=" documented as the deprecated > legacy option, matching the wording in kernel-parameters.txt. > > Link: https://lore.kernel.org/r/20250114225156.10458-1-rdunlap@infradead.org [1] > > Signed-off-by: Lincoln Wallace > --- > Documentation/admin-guide/LSM/index.rst | 8 +++++--- > 1 file changed, 5 insertions(+), 3 deletions(-) Merged into lsm/dev, thanks! -- paul-moore.com