From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp-bc0f.mail.infomaniak.ch (smtp-bc0f.mail.infomaniak.ch [45.157.188.15]) (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 8AFD923E334 for ; Sun, 11 Oct 2026 16:25:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=45.157.188.15 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791735915; cv=none; b=HyYVl2CHN1frAg6kJQ0M0sK6pt0ONog6bnGxNZNgRBtnzejMVD9pUjeKvE26wcJkrbIINvHX3lV2D87S3R2xiPGXaQrzXoGJ8uSt8ZvPESTALccse07lRd7EqADRcfatOtalAxpvSNe1EBXAc2pHxSdeR7cxVde4DtRH0j1QYDM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791735915; c=relaxed/simple; bh=0gcbbUhFnkEOAHXcoqrL/nxc87AsWq7hndb/HXSBGPc=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Rwd9YuSBtTmAtXLBjYjFS49c2kgEujRtTu74cdoQp+oRW168Y0TlIPjp4D66XYxf6BftO+gYEf0ZOb1Lez98cui0UptCNEKHvKAqTUleintLUlif2NFb8i8X2QDwdeJDarvtUa3aZim9LZ9SFfT01Jus1WTfq6s9phQKIt+fR6o= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=digikod.net; spf=pass smtp.mailfrom=digikod.net; dkim=pass (1024-bit key) header.d=digikod.net header.i=@digikod.net header.b=xW03SEOM; arc=none smtp.client-ip=45.157.188.15 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=digikod.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=digikod.net Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=digikod.net header.i=@digikod.net header.b="xW03SEOM" Received: from smtp-3-0001.mail.infomaniak.ch (smtp-3-0001.mail.infomaniak.ch [10.4.36.108]) by smtp-4-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4j2m1H0RXYz1gc; Sun, 11 Oct 2026 18:16:03 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=digikod.net; s=20191114; t=1791735362; bh=LRzweF9m776pC+vECb9bPh0m7QvxZb45aRGomPy602k=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=xW03SEOMSs7p1YonRCDbrzmipShynfQkQIaP5xc54t5EhvVTF+PSaIAsuAbowWyVn A+BUXH4GV9omNAKetEiPD8mvJ2SXDR/5pzB/+u7iaehWJWPXKYfG7vOxiOdYr1ib+X xSoNggRFlXnMm+0IsfojlvPPfKnfFNXsUmZTY+zc= Received: from unknown by smtp-3-0001.mail.infomaniak.ch (Postfix) with ESMTPA id 4j2m1F4Z6QzdsZ; Sun, 11 Oct 2026 18:16:01 +0200 (CEST) Date: Sun, 11 Oct 2026 18:16:00 +0200 From: =?utf-8?Q?Micka=C3=ABl_Sala=C3=BCn?= To: Michael Bommarito Cc: Kees Cook , Nathan Chancellor , Nick Desaulniers , Abel Vesa , Bill Wendling , Tingmao Wang , "Gustavo A. R. Silva" , Justin Stitt , linux-security-module@vger.kernel.org, linux-kernel@vger.kernel.org, linux-hardening@vger.kernel.org, llvm@lists.linux.dev, Konrad Dybcio Subject: Re: [PATCH] landlock: Move the domain layer counter out of the anonymous union Message-ID: <20261011.Veiquevah3oh@digikod.net> References: <20261007-b4-landlock-fix-domain-fortify-panic-v1-1-042e9108f5f8@oss.qualcomm.com> <66usntltyie7ii2rrqajy3izxrvwubwf2vqnery552v3akhwo2@xwb4t76d37wx> <20261009204554.GA778522@ax162> 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-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Infomaniak-Routing: alpha Thanks everyone! We also received another minimal patch that I rebased and applied. See the final commit: https://git.kernel.org/mic/c/3d8cc52db2f86b624308321c58513019f6b21eec Mickaël On Fri, Oct 09, 2026 at 08:02:02PM -0400, Michael Bommarito wrote: > On Fri, Oct 9, 2026 at 7:52 PM Kees Cook wrote: > > I'm still catching up from travel, so apologies if this already got checked, but has this been verified against GCC as well? Is it only a Clang problem? > > > > Regardless, if counted_by is not working for a given compiler version we'll need to exclude its use by version. :( > > It is only clang, not gcc. See my comparison between gcc 15 and clang > 21.1.8 output in [1]. I didn't test clang > 20 or 23 like Abel did, but it seems like we can't gate on any > available clang version. > > [1] https://github.com/llvm/llvm-project/pull/228309#issuecomment-6080475086 > > Thanks, > Mike >