Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp969163rwe; Thu, 25 Aug 2022 12:35:13 -0700 (PDT) X-Google-Smtp-Source: AA6agR6s+uCb1RIiV6PqlxDLP+CMLcAqbERn16cH9ukoPYUswlj0cjMNlm785h9oJDBlOnIQghNr X-Received: by 2002:a17:907:7d86:b0:730:cd48:e2bc with SMTP id oz6-20020a1709077d8600b00730cd48e2bcmr3459568ejc.167.1661456112881; Thu, 25 Aug 2022 12:35:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661456112; cv=none; d=google.com; s=arc-20160816; b=0yRI5ulCEiJ5/R8vxu++OIAiUR676hZyiKRVPXWuUiCKrEoqWFh28nUPiQfps1mXKl FG6cc3qIa3nWOeuf8O6WXrlh6k/eThnhK1WN5x+8zetY17gzNoJnPEZiff4xQoUFD3e0 WJoRqCxhqqHR6afVaQxTAiNB/XOkJct9WjNnriV1tUddwpBB1aSrTj3ISVI2cPj4f7VV uKJdyW0X1KhteTMBXpIOQezE8ZF4S5ACNrSDWGQj+/Iu5CgN5MJVz43CCXtEzntxJ6l5 HFa17sTjE+P0aQz9CC4kQRKCNxmjONWt1NgWyBbn4blFColDWmmiweSegmLhN6OCl7jV LKIA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=TNLP2iAiq5IsaJIWWGU7TlP7Qn2xgSixyNiCP/wB9+M=; b=eLoTPA1yceNULNeQD1y4H707n8aG4933bZcQymam6qsY7UxUWRCU40VbC5/Bf9GqQf 6vu6X6+vNoHVz1OrvrrwU2V17jO5KNWidyTJBFT8T1fRBoQ/Tvk+867a88BZhbM17d4W PhhFG/D1TT9ItGsn3eSql35E2gB+bwNGAY3YTUkytGJVK17F3YErQgz0uMstNVXo7gHw jzdFJvt2BbLmsGf8neHWicV0y0NKPo0X16I1ILvNdIpa0asGkXnN2onq5V2M1by+mcNZ LUViWn/8nAcORbdCtxyBcc7oxGvMSuPPryhbw1QN20ocd/b4apygLy50MjnwTesKaJqr mIRg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=O8lexoy4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h11-20020a170906854b00b0073a0d85a0fbsi4882ejy.626.2022.08.25.12.34.44; Thu, 25 Aug 2022 12:35:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=O8lexoy4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241972AbiHYTdK (ORCPT + 99 others); Thu, 25 Aug 2022 15:33:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49320 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229462AbiHYTdI (ORCPT ); Thu, 25 Aug 2022 15:33:08 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 00D9FAE9D5 for ; Thu, 25 Aug 2022 12:33:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1661455986; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=TNLP2iAiq5IsaJIWWGU7TlP7Qn2xgSixyNiCP/wB9+M=; b=O8lexoy4O930mF8ItypPo+9MJeYzhxHxqlxri66ZsL/80xmPRKRdj0n/Bc2ASlz1YtgSs6 Nk7D5m/wfFmV7D05NJ0aGGMQJ0Ffa4iaRaPoLK5GAlj2EYI2jhQt8bYycHXP3GOtU9P+fU Lgds3WPWx28JX3KxSA1FUo9yqBw5XYs= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-185-0R0EmTTjNr2U0DQFW2VOxw-1; Thu, 25 Aug 2022 15:33:02 -0400 X-MC-Unique: 0R0EmTTjNr2U0DQFW2VOxw-1 Received: from smtp.corp.redhat.com (int-mx09.intmail.prod.int.rdu2.redhat.com [10.11.54.9]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 59AFB80A0AE; Thu, 25 Aug 2022 19:33:02 +0000 (UTC) Received: from madcap2.tricolour.com (unknown [10.22.48.5]) by smtp.corp.redhat.com (Postfix) with ESMTP id A93A9492C3B; Thu, 25 Aug 2022 19:33:00 +0000 (UTC) From: Richard Guy Briggs To: Linux-Audit Mailing List , LKML Cc: Paul Moore , Eric Paris , Steve Grubb , Richard Guy Briggs , scorreia@redhat.com, omosnace@redhat.com, omoris@redhat.com Subject: [PATCH ghak138 v2 0/4] issues from moving beyond syscalls Date: Thu, 25 Aug 2022 15:32:36 -0400 Message-Id: MIME-Version: 1.0 Content-type: text/plain Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.85 on 10.11.54.9 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The primary motivation was to solve the mystery of the missing syscall events filed in ghak138. This is addressed by the audit_return_fixup() patch and is most likely a stable candidate. The others were a number of not so critical issues observed in the process of examining the bisected patch to see what caused it. changelog v2: - split into 4 patches - flesh out proctitle move justification - add issue reference in return_fixup move patch - remove explicit Cc: Richard Guy Briggs (4): audit: audit_context pid unused, context enum comment fix audit: explicitly check audit_context->context enum value audit: free audit_proctitle only on task exit audit: move audit_return_fixup before the filters kernel/audit.h | 2 +- kernel/auditsc.c | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) -- 2.27.0