Received: by 2002:ab2:710b:0:b0:1ef:a325:1205 with SMTP id z11csp1336261lql; Tue, 12 Mar 2024 14:07:46 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWjW8011SH4FNixVljqds6LhLB3ccoyK+T4y5TMVOlEQXNxfzCIjWazeC3Pmw7lfRoFQ5oMCxw+xaMjoHVWmBD+qlBs4zY13vyM4pmoug== X-Google-Smtp-Source: AGHT+IGCPJxby16sDd9WXD0/Lfxw9Hs/n61QTerXbPLU0F3rJuRkmEP4K56FM65MMKQnPaJ71bY5 X-Received: by 2002:a05:622a:58c:b0:42e:c33a:5d7a with SMTP id c12-20020a05622a058c00b0042ec33a5d7amr3796687qtb.52.1710277665758; Tue, 12 Mar 2024 14:07:45 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710277665; cv=pass; d=google.com; s=arc-20160816; b=C9Y40xU78MrXnTgsh3ZObPQtbRrMMRnO10mZjqCQV9qIyZiQ5KB5hU0sHQezFVMQ8e 503RZ3MDTTtXzZvba3bQv5WGj2ST3CjHrUelP9oL1GfnFPgw9DVZd745Nh013FLdsK5s IVjwZZfEe34hZvC7SOMivH6TXii8b167d3eSBDT9QfOzgrZO07J9POuhjZwR9c6Ilx41 cbhXYb0Zjvfl6fNyPtGlqdPfbrda/VibGS62xfNssDtO/2ykCzUFNbXBfj8t2vmbAAGw 0lMU0WgzeYh2Rg+wQna5kGfLha8ZJxfll8s0ik2gqn4fUubJKQQKeyCSATb7iX6ciB5c azRw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-id:precedence:subject:cc:to :from:message-id:date:dkim-signature; bh=jo8EpKLrI3zTu7k0f67xQqGTdMNEkmN1IsZcTCHKRUg=; fh=TOADZ/TUjbSGa4Gv8pPue+uDvncqK6KOQKtl8fGQXUg=; b=jrTFdjUsooIdM4bFkxWCe4uB0/WX8YYJUZAon4G+zrRw60lII22qsIos+iGGfhQX+8 lQ3wZd1aaa1CgAs4O6homs9D6yybQ/Fg5xSIBAlxd/I/GbCuSEI4kkf0vCCN3hMqV2Vn 1l0DkLHnNg9x3A5mq6Q0QbA9UE9Ua3nbgkhLc1NOMPnkNOIdpqAQJxI7ptbWKmJK2/ZO UgLIPBPZzNA9QCZAUbHQz2hFL6KaZ+p1vhhebp3zmgXoQARYEbiKR2qLoG1V22lnDOI5 C9WXQ2a37DYXROmhdZxpsiwe2Cv4RoXzvnx2PhGDgc4UafcXXTaAF8Pm26A6nAno7011 +Jww==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@paul-moore.com header.s=google header.b=IlapvdIP; arc=pass (i=1 spf=pass spfdomain=paul-moore.com dkim=pass dkdomain=paul-moore.com dmarc=pass fromdomain=paul-moore.com); spf=pass (google.com: domain of linux-kernel+bounces-100788-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-100788-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=paul-moore.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id d19-20020a05622a15d300b0042f515c9efbsi3186544qty.806.2024.03.12.14.07.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Mar 2024 14:07:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-100788-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@paul-moore.com header.s=google header.b=IlapvdIP; arc=pass (i=1 spf=pass spfdomain=paul-moore.com dkim=pass dkdomain=paul-moore.com dmarc=pass fromdomain=paul-moore.com); spf=pass (google.com: domain of linux-kernel+bounces-100788-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-100788-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=paul-moore.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 0DB371C20A2C for ; Tue, 12 Mar 2024 21:07:45 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9D5DC143725; Tue, 12 Mar 2024 21:07:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=paul-moore.com header.i=@paul-moore.com header.b="IlapvdIP" Received: from mail-ua1-f42.google.com (mail-ua1-f42.google.com [209.85.222.42]) (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 21C9B1428FC for ; Tue, 12 Mar 2024 21:07:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.222.42 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710277658; cv=none; b=d+Fk/9NRhQ6/5Ra7PWNvoUtajXM2vsgEv3GCSQK2TvWoFuUtiWk6fbtHa8zEcHb6MMjyk9g6nCTkCOFVunqa3HcV44OlfQJspQqT54KMVxgIU/Rjp+e23uEhvx9fgX1niTwslgixWR/pqaqTIjHmG+k1M1KrxHpKxpRUPIjL0yw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710277658; c=relaxed/simple; bh=D6bjhG/P9dFrD1W0lCskKTkomdq1ZxzgKWiMitBwAdM=; h=Date:Message-ID:From:To:Cc:Subject; b=fl5RvSY4sOrvTkskdojzP+EmeME0ZXDq6cIHzNjGD62UZn/QN37AZ1Dk5qWmiXPzsKmBYWtdU8yTShwmGLxwhNE8US8Bwo/P0o6aPfJshoLpee229xKy/spzckVOcgWTE/UXknZUJIOGbbFJWzyZS21bvsoueT3QeOWDpEBtLY0= 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=IlapvdIP; arc=none smtp.client-ip=209.85.222.42 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 Received: by mail-ua1-f42.google.com with SMTP id a1e0cc1a2514c-7dbdab2c611so1604152241.1 for ; Tue, 12 Mar 2024 14:07:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paul-moore.com; s=google; t=1710277656; x=1710882456; darn=vger.kernel.org; h=subject:cc:to:from:message-id:date:from:to:cc:subject:date :message-id:reply-to; bh=jo8EpKLrI3zTu7k0f67xQqGTdMNEkmN1IsZcTCHKRUg=; b=IlapvdIPZZEsZtMJq/kh0ohwnZmBeKjC0dXjgzXpCEVrLIckZ6rcF5opcFdkrYDr0A mvMRMSpBnzPL1g1Wv0CmxQnCSmaDpt4G6W5B6bTRe6IQ3A1T18/XxkrN34mYKfOnkuq2 1PUAezAHZPLBoYlp3/vNcfGXQN64sZoueD00ZRwNeZZJW7vlSohr0ekIfiZwE9c3OK1f 3sYW6bGQTFneRXHkePHxP4ulBveBUyQAev1j4rHT0s/XiWQ/V+qyMnIDkLjDNiMjn88G l/PXrAwGJuit4dxZ9vQ1uKfxVR9LSf9a5NJzhKrl4pingNyx3eY9ArbBOx6vp/ssX67c V46w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710277656; x=1710882456; h=subject:cc:to:from:message-id:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=jo8EpKLrI3zTu7k0f67xQqGTdMNEkmN1IsZcTCHKRUg=; b=ak/VnRK6A0Ts2SbyRBuY1i8WQYbmiLmMJsTD6klP7fdmjzn3h6BUasYRHQCBLGaElc swoDhL+pHaCHz8xyhE/wU+XtHrz1F5+7JpRaapMJbkGMh2m53xCTXiJE/zh5if7sZ6eM As8YYrmOheGZWkTndKhRqoitJwS/xwxW4ihtsXPxK59rh02wKSLR4lXo2esl7AJqHvIl j5WKdywPmXd0x+fS3O65SvUEO154pSo44+4lV3oD5NaVMlTJ0C7yfGIyaBfpgy0UJ+7i V9e/r9kjOJLz+CFXooytis90Vl9oOwbqd9G54SnlNJsPuTMwHGw25V4iVepp5GeLXGH+ 4iYQ== X-Forwarded-Encrypted: i=1; AJvYcCVnldftOdZbXR1jgnEj27i9KIDfZF0n2wfrvp6IIPmpQlIVDvE/air0VXMmjgNJwRU0Z2KaZ8/dKx1fswqq+qtrPDBNCP4ef8sM6vxY X-Gm-Message-State: AOJu0Yw8DEYG+8x55gFSJkhLi8rFV/unJ56CFyF+OZLjR8iKaELdMO0l 0uthSBzJfKj4Lpkvrjbi4LVmHNHaMg2S30tM6POAmdj09JXMr7WzmpruGY7e2A== X-Received: by 2002:a67:ea45:0:b0:472:7619:1a63 with SMTP id r5-20020a67ea45000000b0047276191a63mr2174921vso.35.1710277654557; Tue, 12 Mar 2024 14:07:34 -0700 (PDT) Received: from localhost ([70.22.175.108]) by smtp.gmail.com with ESMTPSA id lw16-20020a05621457d000b00691122f25cesm91861qvb.4.2024.03.12.14.07.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Mar 2024 14:07:33 -0700 (PDT) Date: Tue, 12 Mar 2024 17:07:33 -0400 Message-ID: From: Paul Moore To: Linus Torvalds Cc: audit@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [GIT PULL] audit/audit-pr-20240312 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Hi Linus, Two small audit patches for the Linux v6.9 merge window: - Use the KMEM_CACHE() macro instead of kmem_cache_create() The guidance appears to be to use the KMEM_CACHE() macro when possible and there is no reason why we can't use the macro, so let's use it. - Remove an unnecessary assignment in audit_dupe_lsm_field() A return value variable was assigned a value in its declaration, but the declaration value is overwritten before the return value variable is ever referenced; drop the assignment at declaration time. Please merge when you have the chance, -Paul -- The following changes since commit 6613476e225e090cc9aad49be7fa504e290dd33d: Linux 6.8-rc1 (2024-01-21 14:11:32 -0800) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/audit.git tags/audit-pr-20240312 for you to fetch changes up to aa13b709084a0287ef250a9fbde5993e4dfc3078: audit: use KMEM_CACHE() instead of kmem_cache_create() (2024-01-25 10:12:22 -0500) ---------------------------------------------------------------- audit/stable-6.9 PR 20240312 ---------------------------------------------------------------- Kunwu Chan (1): audit: use KMEM_CACHE() instead of kmem_cache_create() Li zeming (1): audit: remove unnecessary assignment in audit_dupe_lsm_field() kernel/audit.c | 4 +--- kernel/auditfilter.c | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) -- paul-moore.com