From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-qt1-f182.google.com (mail-qt1-f182.google.com [209.85.160.182]) (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 7775B37105D for ; Thu, 2 Jul 2026 18:59:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.160.182 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783018767; cv=none; b=oPBLyia4TAVn13nIAbpFcrdTNVtA1wphPaCVWR5AFBdHsVte/+s69RgXKTV7uBwwaNr8fFv0qaOm8Q9+g1ceqUpcd2qe91K7FszlEr0auHomlNNUTrV0EmnaSYNv48Kcu6n++zgCyhHLHmdXCjBazIgltENtHlzysqjCZX3/zhg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783018767; c=relaxed/simple; bh=otsnMu4I7OXfYVRjpIrnueEy5Gbe8TPV6cPMFXHFTRY=; h=Date:Message-ID:MIME-Version:Content-Type:From:To:Cc:Subject: References:In-Reply-To; b=h/UIc52usLQ4b5WemvXAfzwos63S3mINOD2u7IrYY1wUt4sKucl9hW+0lcKT6QKuzs1ha92DP2CKCTZM/BrNt2HcgI/zLT7Vh41sbnLnsdTvRDEhj4SPEysY6b/m3F6ygqzNqn1zsGnDlWDRQTYDLvjKpCiQk7VYzaUWmRCYLEE= 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=KUVE5Utq; arc=none smtp.client-ip=209.85.160.182 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="KUVE5Utq" Received: by mail-qt1-f182.google.com with SMTP id d75a77b69052e-51c15bf5000so10793371cf.3 for ; Thu, 02 Jul 2026 11:59:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paul-moore.com; s=google; t=1783018763; x=1783623563; darn=vger.kernel.org; h=in-reply-to:references:subject:cc:to:from:content-transfer-encoding :mime-version:message-id:date:from:to:cc:subject:date:message-id :reply-to; bh=/6qxP8wYe0PjQRudh2qqy2528DA/tzF9LJXvJXYmmKI=; b=KUVE5UtqdAK5AYNP1mCR4eT0Q6EwTXrK2yGFn3XyKPiHM6Ww0Ld4MAM213FdJ+xG1r hVE9AeCF6TXIXcW9dkJ8wyJAS6CXHI1E3AR/CeDx2B1yk4Y2Vea+18Hi60W3xxxjg0Mq R+XDGbNK9B2TLV5XoekwFg4RwtdBcCSHUr32YaSY/ICEsNqofPhKq362qFZgDhKTmBCD Gi+wS2n7JiQg+XLTgyOuqYps1hR+oc/taQTuMxnYu4M1HTFIJ2b0NjoR8YPskPQgSEuC hLw6DKPwENKpNw/N3wjNxbSqYBkGKkNs7M2YylmrEXaDfb0WFgrVeaxYTdorvwWoGDqo 8LDw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1783018763; x=1783623563; h=in-reply-to:references:subject:cc:to:from:content-transfer-encoding :mime-version:message-id:date:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=/6qxP8wYe0PjQRudh2qqy2528DA/tzF9LJXvJXYmmKI=; b=KPCKG/Lyv7Mge5t/Dii2YvVnykZAwwjPL0MpYqIGe0eYAOJVMcIxEbf2QT+zBIE/z8 +Efrrlrq0isrX3x4c4P1b69km9BmNSf+6RleaFjVaR9YobXZKfk0AtsXntJA+As+mghZ D32CFq8LzIeOG0KWRVANG/B7Fb5JqRnfwU/2pcunZZp2Yzak29XPkT/8YQZVSTU1ZQ+2 QvTrO3pr2rgjHn4brX/YWe8KdHoIExvgUVnCoamNOFDn4GNqoiFeC9ztRSYVPERhUtiP ivze0nL29SWjeBERF7fcIaHcrcivg68TheQ7bYwqmVjPgTLjlc/kSpj4lKprqZJ51jX0 ROeQ== X-Forwarded-Encrypted: i=1; AFNElJ/SNIAAXT6oHsqH5xJY9iRFviP8dBChWfOxTgl+O/Js3jD8KdvRn+FbRnFB5yKYkNyI4zc8wDXyf6UfIYg=@vger.kernel.org X-Gm-Message-State: AOJu0YxAyBLQGZo9lJPSod2+HN2hyNbEKQ9+UhmuHvDHkTVyrPjkLeLm 5c9IeSMENK9ev6qD+wBTno0Di3RbBrTJohOeofw0c6vKqSiVPyBmo2MUMWVnIy2l0A== X-Gm-Gg: AfdE7ckZEnCYcXfiUcQbTAOSowNqVxD2WG0DzQxZK7BjaQinkle59JpVuhYGY/aRNRr nGns54KNxxco2q3McmP1qq7Jz+v3mvpPzvIyVsUBPDkxkZadbWZQapeJ4nW8lG65B4ukPrBPwNf aGSDuwuPH8MiDfKeXoB41HCnIeg9v8oCQItiOELX2elEzPt1ZzwVghxrGxYlFm46aeqMruLYq8o vjowBU2ijVRqfS3ioqcW285Kwa6yh5fP/+FVcOcNCR/sgogq4ekYruTVFg/e++k9EQEqaVspLmy aqDipjPH/49h8EVkRFnJ3sQQqJw1KEXSgoYP7hnwqSMvJzgje6OkrpNGHEDEpZqN6MoLuaJ96am fCb0W5fAX1j46HnCBQ+51piLw9NP0Mq3jY3ZvJmxlFwys1MZo3kuD7sQ/ujC4+pKo8c9wLo64pf zh+HPIWcsNiGTxry1JoR2p9w6RMaoLfI0FaH0mhnzW3JCjDWQWNFFCxqMrgw== X-Received: by 2002:a05:622a:2309:b0:51c:1ff:2515 with SMTP id d75a77b69052e-51c26b49877mr90634191cf.65.1783018763537; Thu, 02 Jul 2026 11:59:23 -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 d75a77b69052e-51c30c1582esm20240991cf.16.2026.07.02.11.59.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Jul 2026 11:59:22 -0700 (PDT) Date: Thu, 02 Jul 2026 14:59:22 -0400 Message-ID: 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=UTF-8 Content-Transfer-Encoding: 8bit X-Mailer: pstg-pwork:20260701_1640/pstg-lib:20260701_1540/pstg-pwork:20260701_1640 From: Paul Moore To: Bill Roberts , James Morris , "Serge E. Hallyn" Cc: casey@schaufler-ca.com, Bill Roberts , linux-security-module@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] security: clarify task_prctl hook documentation References: <20260615200325.260057-1-bill.roberts@arm.com> In-Reply-To: <20260615200325.260057-1-bill.roberts@arm.com> On Jun 15, 2026 Bill Roberts wrote: > > The task_prctl hook comment incorrectly described the hook as checking > whether a prctl operation is allowed. In reality, the hook exists for > LSMs to handle LSM-specific prctl operations. > > Update the function description and kernel-doc comment to reflect the > actual behavior. The old wording appears to have been copied from other > permission-check hooks despite differing semantics. > > Signed-off-by: Bill Roberts > Acked-by: Casey Schaufler > Reviewed-by: Serge Hallyn > --- > security/security.c | 5 ++--- > 1 file changed, 2 insertions(+), 3 deletions(-) Good catch, thanks! Merged into lsm/dev. -- paul-moore.com