From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-qk1-f196.google.com (mail-qk1-f196.google.com [209.85.222.196]) (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 99746327207 for ; Mon, 15 Dec 2025 19:27:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.222.196 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765826842; cv=none; b=sANT7p1pXokWqPXZ5l858eBDmL3SGPm3+j1RO3KSSuebCd7S0u/WgX8dyZUkE39OVHn6P9gP9towe+ZFEl0VtqWTDcGlT8gUpbnGaRqYDU27CG32tgMi3rwZiG7hROx1oDtL6FjHusXmi8cytr0Cw2+t+0usNfW2D09Kayddm4s= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765826842; c=relaxed/simple; bh=p19VDjN38aT5/JCtvyTQkIJEG7mBJOoePXAu2Yp50/w=; h=Date:Message-ID:MIME-Version:Content-Type:From:To:Cc:Subject: References:In-Reply-To; b=Sx5Fo4XAj8eIHMLin5mnNeGfDOUXYcQ0nn0TKz6DfUvY8GRyLqLizZ0T9DeQBAyjVqonLKsEJpf3sUT8V15VgcOwNBwK2E1OYOKquAjmduaQQ/fQ8OuqMWxI0KMipQpQQxqeccNzh9EBZuQ/xokG+DH740CZflJBxWV+EGr3iN0= 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=Q7+Ubuin; arc=none smtp.client-ip=209.85.222.196 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="Q7+Ubuin" Received: by mail-qk1-f196.google.com with SMTP id af79cd13be357-8b602811a01so427666985a.2 for ; Mon, 15 Dec 2025 11:27:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paul-moore.com; s=google; t=1765826838; x=1766431638; 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=Dp20YtZZ50Vla8AV5t8DKa56u9VU3o+LE/TSiNNTpNQ=; b=Q7+Ubuinxnag4IK7kidlcN3hBcYVz9aW5iAO/x5xUtnWA+wU8nigK7xMdwz4CCURXr y3Fx0WQk+mCV64x/NyO09sPJvi7skMS+wKGoEIblRUbFuaUAhmg5YIN1y/tRhczGwPrP id1qetngNZrDUaZXN/9Wb2b10DujJlMU9biZr7YZL5TJYpn7WYqB0mYptK+K76DNBY9h WXdWtGHQkBmgGIZLcKNmcFObwCRs3/Bmb2xyXBoC4y8gfv0lk/9IeoNEbYi5/ISU6Q0l bfp9weg71vw3qyP5xXk7MTr8BWHo0GrFj0+BBkcX373phIHX7vOrwlhEvYAquazDtzeV 6omQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1765826838; x=1766431638; 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=Dp20YtZZ50Vla8AV5t8DKa56u9VU3o+LE/TSiNNTpNQ=; b=S1ibXEphGRnKYsVCWqommgC2DfQ8HgdpiAKjm2DGTHZNpb16alRGUMtjIKyIMidsI8 bWiGfzypGdfp0YkSrq7upyXP65nwhiXAIZ4Oho7gc9UHRIoCkQMwtsBtzxxP9sckJr8L b4GCcMiK6Ut7pgc3iWTgsC8F7s2sTtan2ISjI+x51SJxuoa8tqZODMCPW1hwNzTcMIwQ 2C314DTocYdedhRg/m7V510rrj++xOrHBtT95hE8jlURLpQoaEoSXqf37fVpII+Nv6u7 dopOyTmEFxnFYFMjc9J/xiDFQat5/GfCOr1eEYlZDoimwQsxUVTxmqe6UYqBc3rubA2u b6eQ== X-Gm-Message-State: AOJu0YxEm1eOtD96XT83Zf5yHPcTSMaZBn7NHs4GJ5Fl/tfjsE0Wm1hz +2f8TqNlslYODTQL2U9OImqBYzEg341fOKyiATSv935Ce/jR2kTPHXYpTz7MM6gKFwD0l+MWOBj 50YD3sA== X-Gm-Gg: AY/fxX4iuqd3NhWFS+MGp/rBYRAAThBngjTrLkbbINIqBFIZtpDrEvmsUsEZmn4vCMo jP7eBE0ndbiHmegbJ0DpH8Wi9TkJJdAlsZNT+k1oBZ0mBfLJq2D06ROJz8Q6jN2M0RhWUEOSEoF AWWogAD+T+tSiAPREJHAQBs7CSe78tr/J7y+URHDMF+ZuYevIEwAzLP9gwP0yd6rwK1vraqQ1OJ cTrDKvMLejeuvtewGjiQwFYzWqAECLC8UXXKTDr4ctcigiXgFc4rWQW3w+Lp10Wg/aVtZcy5LF9 QZXZgZRrfJszo4TthQ6yOa/s+2TpgJ7xPY4uy5Tm1l8w6rYfVBd+8NSCMmO6MT1awTay76FRvQu SfVGtMtbK73Yxkzerkrhd2eh04anXsTVS4Lmslkk5vnDtHa6E3cCJGZIrsH/5UOAaHh0n5bi/bo tsRSDaN1cIhzHpf5l5WaXTaC6kATRJVJ35g+qZ5Xd1rAb+yeXz+TmsAVoB X-Google-Smtp-Source: AGHT+IGhNJIIJN3VAlV5pywcC73t+nLUYXSuoiHK63yr3QC8JasWvPTGikG0rTfVuE3OD7DNfYQ8/w== X-Received: by 2002:a05:620a:2a04:b0:892:5b57:ea41 with SMTP id af79cd13be357-8bb399d92a5mr1555871285a.4.1765826838135; Mon, 15 Dec 2025 11:27:18 -0800 (PST) Received: from localhost (pool-71-126-255-178.bstnma.fios.verizon.net. [71.126.255.178]) by smtp.gmail.com with ESMTPSA id af79cd13be357-8be303e7c37sm17648885a.2.2025.12.15.11.27.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Dec 2025 11:27:17 -0800 (PST) Date: Mon, 15 Dec 2025 14:27:16 -0500 Message-ID: <1ef393619314cb77556d6c27f1042646@paul-moore.com> 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:20251215_1137/pstg-lib:20251215_1136/pstg-pwork:20251215_1137 From: Paul Moore To: Jeffrey Bencteux , audit@vger.kernel.org, eparis@redhat.com Cc: linux-kernel@vger.kernel.org Subject: Re: [PATCH] audit: add fchmodat2() to change attributes class References: <20251124194930.8576-1-jeff@bencteux.fr> In-Reply-To: <20251124194930.8576-1-jeff@bencteux.fr> On Nov 24, 2025 Jeffrey Bencteux wrote: > > fchmodat2(), introduced in version 6.6 is currently not in the change > attribute class of audit. Calling fchmodat2() to change a file > attribute in the same fashion than chmod() or fchmodat() will bypass > audit rules such as: > > -w /tmp/test -p rwa -k test_rwa > > The current patch adds fchmodat2() to the change attributes class. > > Signed-off-by: Jeffrey Bencteux > --- > include/asm-generic/audit_change_attr.h | 3 +++ > 1 file changed, 3 insertions(+) Merged into audit/dev, thanks. -- paul-moore.com