From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-qk1-f180.google.com (mail-qk1-f180.google.com [209.85.222.180]) (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 7F8391EF0B9 for ; Tue, 2 Dec 2025 02:00:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.222.180 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764640854; cv=none; b=CQQdecKbGMK8uaWf8S2LajsPmgxbjBd1f8dvlhVBFbwhpsEuoEyMeyHoHgvxZ3glLoKiE9Km5EFXJ1gv/iXP5wh/pd1tNt2iQLuIEtC9ecPTkLd9ZSe2H8JEuoA9Q2A2fLRPJFlkzgRjKGpJWHdjDFezMrX02umM5cqCkkcrJcM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764640854; c=relaxed/simple; bh=oyKHKV1JSu02gylS/hnCLKp920M6hdu0MI+8K1bFm58=; h=Date:Message-ID:From:To:Cc:Subject; b=qywe7MG6b7+CKMZEJDBlrc7psRcnWLqGaABUdk9TMnvskkbZxMnw0m6pclauR00qQKnAdqYre+wO4KOoAWi7XsTQLNEcVId9XgNWalZgVBtH3Y0WpxA0kls0CPJBesUrMELW6vMs8nYZobveSp7PVKMbJN7Rib/SgCdE6OPgTbk= 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=cMvrGT4c; arc=none smtp.client-ip=209.85.222.180 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="cMvrGT4c" Received: by mail-qk1-f180.google.com with SMTP id af79cd13be357-8b2d56eaaceso476797685a.0 for ; Mon, 01 Dec 2025 18:00:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paul-moore.com; s=google; t=1764640851; x=1765245651; darn=vger.kernel.org; h=subject:cc:to:from:message-id:date:from:to:cc:subject:date :message-id:reply-to; bh=QYwisWEMSD4f913sGd8iaoZcUQngeIHuH5eWFrEyKMY=; b=cMvrGT4cwYkSETEic1PbU3NRlLSJZJzo9uLUuCYUXT9MJgQI9DsMzaHIe8XnPZ7Nvu h3NGwlHqmKF4r6mUNFaCJrwY4U5JIJ10nYolLcRVHBSTCGEriQGCuQSkwptsJxGipeY8 JTVAeYlmHFWVtGJkhcB8ZlAqowl3RqCFVEhSCPy14e9ivXPO9MNKwp/p9i65E2qtZHZ0 Id+5FFyVgOOW1z/Wb6Fzk03QPiW2j7L3c1fjNu3gox/85OsnJyV86Ft0/rtft/vgBcvO a0ct9UxpTvp6+mIjGW6JlNvuMRXdJo88QkCcd7AP0ofkHzdehT7MtJO4qnMy/8bW/EVb 5Enw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1764640851; x=1765245651; h=subject:cc:to:from:message-id:date:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=QYwisWEMSD4f913sGd8iaoZcUQngeIHuH5eWFrEyKMY=; b=J3hKo2SuH+BqCBg4Ot4G1/MG9ZBHNGxnoSJy/iY8S49wUGdRHDg8k68QEbvfca9go+ S4g1olawcXzYxxJ9zzBJMaRDJ2Zyrvyli6AdT528e1gOHfUPlUWLcjy1jaA4SwGm/opZ ukC5MljkAcBjltmLS2HAe9U0bsw+gGz7ntlO9dQM01J8unahOBEqUoR8CXfC4SpVDEy9 Yg6svNQLJ/fPyNsEQLxCP7gnrEaQ0wNC1lKgKzElR8CTYO2gNiyXQrDpcsDKP7wyxd4o k3Zoa6ydwvBFuXgQN8B8CQLpQxF//ID5bQknGpVvSHrO25ItfGozFo97AHTIu43lPJX4 hhdA== X-Forwarded-Encrypted: i=1; AJvYcCXcJzQqrpJ3ZNmOJY3rp0LEEXPRL+uKf9wBJKMEaITFZF+6cRVCzGzuv1yAUTkXCK1J/7qfIAwQX2ZvRqE=@vger.kernel.org X-Gm-Message-State: AOJu0YwA8PZYwkkSznjHS5HQdhPrUYMTo8w6LKchqC8S2Bs0WrcvaqDb +QeHMzn0TspaUGGnA6KmGBJZO2dz3ggiBesDr/V6NOLi7FqQhDDDUq83DPmVB4b3m68H4i8gD85 70Dk= X-Gm-Gg: ASbGncunKvx17yk8c9xjiMAjAbHrT9ELLbRcOIa68N2Yl4Nvr/Mmy3TyXYK93KLoSX/ SVozTPhyoE/ORBWj2289QtLbpSWI1yyIB99dvVi2YY5tVSTEbxnIxlMNMHhqv5Y5pUC4go8g9QT nX1UH69EBHZu1jxJFFRRiBlys7JYhseWIV7J2XQQ50/8pd5VPkiy90RS0mjI2cJYM/jUovMXvkr cYnBILHINxbjJn7MFyimp8xheqh35gvDCj6PFgqndP0C8V7bJ45+57qCQUo//JA+cvjjpn0kIe7 Ldx9ONv2Bc+fmyfZS3UaqO+SvyfrQMgDVEytJ5RQrujuBid1SxwROY6lQeGmVxz9jMs85anoycI 1DFsHwXb7yTsdTWERRZoodtIehqZN+V3x+DAx5/3XRD2bqsHM+mHBPkLbVGj8hOZEumX0PepHhm SwiVAarnXC+5M0e3Wb9oQeKGfec6c+6wi4Xcrn1is68uIViIuTa3zCXsyj X-Google-Smtp-Source: AGHT+IFhXXdbEkmVv+SYDVFPV6qFkoTdqhUA1a+wW+gyi5dmXGHdmH1I0eLpu836/U0vJ2zsR4mr+A== X-Received: by 2002:a05:620a:1910:b0:8b2:ed4f:5c38 with SMTP id af79cd13be357-8b33d1efb9emr5300885785a.37.1764640851012; Mon, 01 Dec 2025 18:00:51 -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-8b5299938b5sm988752485a.4.2025.12.01.18.00.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 Dec 2025 18:00:49 -0800 (PST) Date: Mon, 01 Dec 2025 21:00:48 -0500 Message-ID: <4dec81096fb34aae6b383a151dba1ce7@paul-moore.com> From: Paul Moore To: Linus Torvalds Cc: audit@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [GIT PULL] audit/audit-pr-20251201 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Linus, A small set of audit changes for v6.19, the summary is below: - Consolidate the loops in __audit_inode_child() to improve performance When logging a child inode in __audit_inode_child(), we first run through the list of recorded inodes looking for the parent and then we repeat the search looking for a matching child entry. This pull request consolidates both searches into one pass through the recorded inodes, resuling in approximately a 50% reduction in audit overhead. See the commit description for the testing details. - Combine kmalloc()/memset() into kzalloc() in audit_krule_to_data() - Comment fixes Paul -- The following changes since commit 211ddde0823f1442e4ad052a2f30f050145ccada: Linux 6.18-rc2 (2025-10-19 15:19:16 -1000) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/audit.git tags/audit-pr-20251201 for you to fetch changes up to c8a3dfe7315945ebcc80ed5be8267920b609649a: audit: merge loops in __audit_inode_child() (2025-11-07 16:50:42 -0500) ---------------------------------------------------------------- audit/stable-6.19 PR 20251201 ---------------------------------------------------------------- Gongwei Li (1): audit: Use kzalloc() instead of kmalloc()/memset() in audit_krule_to_data() Ricardo Robaina (2): audit: fix comment misindentation in audit.h audit: merge loops in __audit_inode_child() kernel/audit.h | 2 - kernel/auditfilter.c | 3 -- kernel/auditsc.c | 47 +++++++++++++++++++------------------------ 3 files changed, 23 insertions(+), 29 deletions(-) -- paul-moore.com