Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp4456235imm; Wed, 30 May 2018 06:05:56 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIDD95EGGniFOnCNndvb3LV/zsZMnShQv73GI8CwvWk3+Papol2jt2dbXFTOuPu7/tn7wvm X-Received: by 2002:a62:66c6:: with SMTP id s67-v6mr2691604pfj.139.1527685556329; Wed, 30 May 2018 06:05:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527685556; cv=none; d=google.com; s=arc-20160816; b=GitNbWg1kr9ar/InRDmeoF2dBnjrt7n278uR0Xdao4E5DX/F1lgF7sKWELPsSW4D13 OBpy7Wv5a/gG4ijy1e0r/T/jP//Vo5OIh8CNqG1m31TiggGcW7so5b7kRervlSvhT6ns /RGc/yGlLiXcnMnKUFqdJ/5Egud88t2G6Q1V/ghzQiaxChOmLB10GTTE9oFE9hKHTUhd QcrT/lFeeec3fMNfc9yJTuzwGadRTtcgIro/ERYw+UKSODT+ux8wcltYxWlj37pbFEQU WJwLb2k/MKmzHEMA223Ofg32MyaPVHPWquSScbEwrUrRbBBbnSjyerwoHbGzHqgx+EOa uOWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :from:references:cc:to:subject:arc-authentication-results; bh=wvNeiVxRICO3wc+uJSKxkPSHnJzamyBhHtS2Te5n7p8=; b=VQtfT3gFhs3zTiGu869EA22HnYQpbx/18h0TYMGPQh+vqQe5/2PH4+ksyflWElMfAq uaJtm//bavxRNBksCjJfPRTR7PlF9xsXG3UkQT64Q1g+er8s+CHRy+NGjkSaMRV6gvMM /kOhvmaZ2E8xrHmrxW0q4R/EPqbSvyd+ct6UQ2SH2UR226UAnHVZkbNGSKpajy9MWDNm EQIRtuZxzCDuwUWKzaVOfQLymvIRsYNYicHdDpNf1pfcB8gGWH7J6dZpnWbHsV358YoO MNFLC+HDr3Kp0uekWnVrwd9Yu/BYdzyRVlMgmFkTPotvadjvq4Eso86W3oUb/0AOGr3E Lakg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i12-v6si27444082pgp.119.2018.05.30.06.05.34; Wed, 30 May 2018 06:05:56 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753082AbeE3NEx (ORCPT + 99 others); Wed, 30 May 2018 09:04:53 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:37048 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753014AbeE3NEs (ORCPT ); Wed, 30 May 2018 09:04:48 -0400 Received: from pps.filterd (m0098409.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w4UCv1w7031863 for ; Wed, 30 May 2018 09:04:48 -0400 Received: from e12.ny.us.ibm.com (e12.ny.us.ibm.com [129.33.205.202]) by mx0a-001b2d01.pphosted.com with ESMTP id 2j9s35hyeq-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 30 May 2018 09:04:47 -0400 Received: from localhost by e12.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 30 May 2018 09:04:46 -0400 Received: from b01cxnp22034.gho.pok.ibm.com (9.57.198.24) by e12.ny.us.ibm.com (146.89.104.199) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Wed, 30 May 2018 09:04:42 -0400 Received: from b01ledav005.gho.pok.ibm.com (b01ledav005.gho.pok.ibm.com [9.57.199.110]) by b01cxnp22034.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w4UD4f0K49872958 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 30 May 2018 13:04:41 GMT Received: from b01ledav005.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id D67C7AE05C; Wed, 30 May 2018 09:05:06 -0400 (EDT) Received: from b01ledav005.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id B6591AE060; Wed, 30 May 2018 09:05:06 -0400 (EDT) Received: from sbct-3.pok.ibm.com (unknown [9.47.158.153]) by b01ledav005.gho.pok.ibm.com (Postfix) with ESMTP; Wed, 30 May 2018 09:05:06 -0400 (EDT) Subject: Re: [PATCH 6/8] integrity: Factor out common part of integrity_audit_msg() To: Steve Grubb Cc: zohar@linux.vnet.ibm.com, linux-integrity@vger.kernel.org, linux-kernel@vger.kernel.org, linux-audit@redhat.com References: <20180524201105.3179904-1-stefanb@linux.vnet.ibm.com> <20180524201105.3179904-7-stefanb@linux.vnet.ibm.com> <2600105.j2Wzuo56oP@x2> From: Stefan Berger Date: Wed, 30 May 2018 09:04:41 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <2600105.j2Wzuo56oP@x2> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-MW X-TM-AS-GCONF: 00 x-cbid: 18053013-0048-0000-0000-000002729F2F X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00009098; HX=3.00000241; KW=3.00000007; PH=3.00000004; SC=3.00000264; SDB=6.01039827; UDB=6.00532229; IPR=6.00818960; MB=3.00021375; MTD=3.00000008; XFM=3.00000015; UTC=2018-05-30 13:04:44 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18053013-0049-0000-0000-000045455687 Message-Id: <6184c964-9dbb-1f0a-2db7-27a6f2b2bba7@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-05-30_05:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1805220000 definitions=main-1805300148 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 05/29/2018 05:32 PM, Steve Grubb wrote: > On Thursday, May 24, 2018 4:11:03 PM EDT Stefan Berger wrote: >> Factor out a common part of integrity_audit_msg() that others >> can also call. > After all of these changes, do you mind sending an example event for testing/ > review? Adding example to 5/8 since this patch here doesn't change any records.