From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796350899; b=QgLacfC2Mw3hQag90HCjlhV0erEZ+1LpcGABj3vO/JGpFPTVGHoS605N2GRM7IHNJfBU WM7svTI4i1jefZGPY8M4vTzlBMkcxxS51ZsqEejwYXLpiscmn3prEFgdIrfNflJtbrpZO IUUotCZBeF6d9ep7q74cRHheTDxd2caLLz0arX/Kint1tPZV6ns/oBTw4mTQmZ7B/R/G1 9e9w+tORGhWO9ua2ZtOsykJ6NernWuLX3eCBvaV8MIal0Rh9GHveJRv/esk20QIT6wTyc IMvj/uPOXfXzNnXRyvHy/Iedkpv3eUGIt7xs1a8LIvq9tc4JjQOcxf362y5yu27nkqw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796350899; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:Cc: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=a2EK9jeZbGnTzR2L7YvZnSBKay6EyJx80noq9eYHe0E=; b=dTqP+klOjIPh5UgVDV/KUaVhS3l9vriPCWaiV8hPcXmehMD97SCpzPkvXUZDH01Ls4oh MA7f+c7YhmRBUML4GCrBWvDEf3KGPhTCUXZWyhFZXlbCNTbfpKSvf354k3g77LB25t/jJ h7pWZI1GrX41qF5KlZW3j8FUlY/HvupucBKv+Zw4HvP4xkTYHSZQKdubOvJa1Yk7OPfo6 yiLTC6rcvQJltOlNnqsYjs99Ph/bP0Qsz7XpTgmrdZj+ByIFxyZOKOKGXn6VUkv3uMdlJ Kl7P+dKvRRMJz9oWVUqofvgyrZ6trvD5RWQfbc/oX2EgyhIP4cFjaHwot87NXJRmyDQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=NxMwO6CF; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 56137606A32D for ; Fri, 4 Dec 2026 02:21:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=NxMwO6CF Received: by smtp.kernel.org (Postfix) with ESMTPSA id E267F1F00934 for ; Fri, 4 Dec 2026 02:21:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796350899; bh=a2EK9jeZbGnTzR2L7YvZnSBKay6EyJx80noq9eYHe0E=; h=From:Subject:Reply-To:Cc:In-Reply-To:References:Date; b=NxMwO6CFXUMzsWzzyC5dmXnY7PUDNGjdJJljcKXi0Kc8pPb2/K29Lq+l7N5LCxjw5 1eJRPzhlZbkjCc8wB6Jnfr3SAxHHYZHahcgy3fREH1Ela2qRioSCtek7eMdtSm6Gas FVV+il5zkMcTy2VRCipqngRQaniVgwkAeILatRJP7DBlc3gVEnHHN5QeAQG5fIFNta 4o3EsURHNKqoddjNBipeNdRJ9yjLEUYBsNKwolaUTcusBIC02vhbRCq9FwzBPnylHR M+ayf1sUU/V5dAzsJ5512pLtwhSiNIPJkzZ4T28vRBjoS0HiWHdmW0opVG6JtpRyBn nh60vkQG7aybA== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [RFC PATCH] apparmor: honor the configured debug message default Reply-To: sashiko-reviews@lists.linux.dev Cc: linux-security-module@vger.kernel.org In-Reply-To: <179635003085.74470.10701182849877618986@163.com> References: <179635003085.74470.10701182849877618986@163.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Fri, 04 Dec 2026 02:21:38 +0000 X-Mailing-List: linux-security-module@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list > SECURITY_APPARMOR_DEBUG_MESSAGES promises to set the default of > apparmor.debug. The debug mask is instead zero-initialized regardless of > that option until a parameter is written. >=20 > The conversion from a boolean to a mask dropped the initializer that > used to follow this option. >=20 > Initialize the mask to the value the existing parameter parser uses for > Y when the option is enabled, and to DEBUG_NONE otherwise. Explicit > parameter values still override this initial value. >=20 > The issue was found by our static-analysis tool and manually reviewed. >=20 > Fixes: 71e6cff3e0dd ("apparmor: Improve debug print infrastructure") > Signed-off-by: Pengpeng Hou Sashiko has reviewed this patch and found no issues. --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/179635003085.74470.= 10701182849877618986@163.com?part=3D1