From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out-182.mta1.migadu.com (out-182.mta1.migadu.com [95.215.58.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8DA773E3C49 for ; Tue, 14 Apr 2026 13:09:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.182 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776172201; cv=none; b=NM+/wWMK8jQH/LEo3bDRfPC9wtaW8voKGWKYPGD0MJswP2xhaX2QFSUKzrfo6l0GzdRVOJgUzUZ5xg+bq1V1tfq6CCm8RYTFo6Up5xTtWj1bGj4zDwr4BvxNFIZYEb0h/p4cfGpdXRyvJQRzqm+PlvKq8QLizNlmixJFrWWntcw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776172201; c=relaxed/simple; bh=JKCqT83R32AeBVtP0rk7Tc7NJh5jZKtfUmHDqiXenQM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=AaOXlmEVSwap4hkhit7mnixhdsu+W3GlH+uP8zRSC2o/tqsFfsCDrIdz2qXOdMMqkYHEXufSfwXWE1j/442KJNkxLTHx1Y0vyfSfobhqKQcvu3h9Ie2pgByAFs5raPIX2tFCmVBj6vz+TXW4svfN8chVoZHg6ul2K6EANKSY4rc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=pnhcnQav; arc=none smtp.client-ip=95.215.58.182 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="pnhcnQav" X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1776172197; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=0v9exPlAvak3HBmYFILCHDpP0vnB/q46W2JYWNgxR0g=; b=pnhcnQavAcMrPTFzb5r9XmzJUOb0jTviLS4rllX7aMykfgeM/m1Tuo1dMMl9M18Xoe/p8J 28RTRHlcnLIChPMQiogEVT/cOGyGjw13NpXfdI4Naugx5U9bomook7uYMaZ6GO2oBh6hOn V9dKpb4bo6K6SwRY2cUEWP6ddbHi9TE= From: Thorsten Blum To: Kees Cook , "Gustavo A. R. Silva" Cc: Thorsten Blum , linux-kernel@vger.kernel.org, linux-hardening@vger.kernel.org Subject: [PATCH] MAINTAINERS: add kernel hardening keyword __counted_by_ptr Date: Tue, 14 Apr 2026 15:09:28 +0200 Message-ID: <20260414130926.312094-3-thorsten.blum@linux.dev> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=664; i=thorsten.blum@linux.dev; h=from:subject; bh=JKCqT83R32AeBVtP0rk7Tc7NJh5jZKtfUmHDqiXenQM=; b=owGbwMvMwCUWt7pQ4caZUj3G02pJDJn3bNoOX9p9VvRF0tkliuvX9Xc01/493sa+bdaDoroFh Yt2Lcz37ihlYRDjYpAVU2R5MOvHDN/SmspNJhE7YeawMoEMYeDiFICJBIoxMjzxV/1Q8FCdh3PT voYXBd42iixBEa7F9R4evZ6nZtl1fmdkuNb3U7XHTZrvpdYhluh6yYPzI6ZZXrr4KjJrv9XmagU fFgA= X-Developer-Key: i=thorsten.blum@linux.dev; a=openpgp; fpr=1D60735E8AEF3BE473B69D84733678FD8DFEEAD4 Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT In addition to __counted_by, __counted_by_le, and __counted_by_be, also match the keyword __counted_by_ptr. Signed-off-by: Thorsten Blum --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 1126fdd639ad..969460c85ad6 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -13889,7 +13889,7 @@ F: scripts/Makefile.randstruct F: security/Kconfig.hardening K: \b(add|choose)_random_kstack_offset\b K: \b__check_(object_size|heap_object)\b -K: \b__counted_by(_le|_be)?\b +K: \b__counted_by(_le|_be|_ptr)?\b KERNEL JANITORS L: kernel-janitors@vger.kernel.org