Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp4935589imm; Wed, 30 May 2018 15:16:40 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIlKGeGVdUq8StKVgsDewEE7y+V9cQpatxjV1wxe39jKucFUcsSPyUHi7JWR6vz36Ihe4/t X-Received: by 2002:a17:902:59ce:: with SMTP id d14-v6mr4580607plj.253.1527718600468; Wed, 30 May 2018 15:16:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527718600; cv=none; d=google.com; s=arc-20160816; b=fuuOKbMDTdDgKNEVQZqJwyrBb1EsxQdVAMCycWkizF3SnYki8TmEYsUU7jixmoei52 ugPy6kEniR24JtHBtCZJarNnlVIR5oHmgxJNQffTDRiJ0Nt4LQ4gRWoPUNel9O7+wEk6 VHhFTLglF6ufmEbs8SITC+s6jP9KkjnHz+ZCNLlfYH7jcmDcw5JpJIuIKt5ha8Fa4/+X SvtJ+c9KH5geB4UL43tQKTFqqMtDMzTVsjCgTshPtyQBPNv1q75zLIljSNvAH2DdbjF+ +IAHqIk3IlvTNqLjRCWDobwTJYNrF/MbDT43uJEKg7xgNXZ3H3RsKOs3SK/ady6XnlXm aMYg== 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=kXfsqzvo7omdhC+pP/Oc5dOZ8JTy667zX5mJ9ZQshDw=; b=hHG2qadf1ObCMfLGYDWWicrgO0vBJ8DFyJUlCdWip4o8AAwzH3WebPXUincwxBaWAS m1nmZlBBRrbpqf2L1+iJOP7jPOfGR9OETEocRPmDNff6bs9xa0ljOi1vb41H/v3/7MQ4 ZFM8bQXQO7+2lNtrUaFnkuR94N/x0zH9Oec+tJXFANA5QrgZamYjDymQe13gQR+GS5QE euiGc0MdnL3gYe3pf3yC5rJO30+Mm/mpFWfhSD/yCaAeipdh8du8IJzDD+fnpAynCvY3 rIj0zKp04MEZ83JYpuohVdWDJ9uCjrS1Vu3b+eIj4OQ0PIbv26arzBnfyzk9ANQUlRIR i1CQ== 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 a66-v6si37686935pfb.81.2018.05.30.15.16.25; Wed, 30 May 2018 15:16:40 -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 S932561AbeE3WPj (ORCPT + 99 others); Wed, 30 May 2018 18:15:39 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:53444 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S932447AbeE3WPg (ORCPT ); Wed, 30 May 2018 18:15:36 -0400 Received: from pps.filterd (m0098413.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w4UMEiex044528 for ; Wed, 30 May 2018 18:15:35 -0400 Received: from e15.ny.us.ibm.com (e15.ny.us.ibm.com [129.33.205.205]) by mx0b-001b2d01.pphosted.com with ESMTP id 2ja22wp99y-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 30 May 2018 18:15:35 -0400 Received: from localhost by e15.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 30 May 2018 18:15:35 -0400 Received: from b01cxnp22034.gho.pok.ibm.com (9.57.198.24) by e15.ny.us.ibm.com (146.89.104.202) 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 18:15:32 -0400 Received: from b01ledav004.gho.pok.ibm.com (b01ledav004.gho.pok.ibm.com [9.57.199.109]) by b01cxnp22034.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w4UMFVuX2425186 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 30 May 2018 22:15:31 GMT Received: from b01ledav004.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 8AE14112061; Wed, 30 May 2018 18:15:33 -0400 (EDT) Received: from b01ledav004.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 6EC24112063; Wed, 30 May 2018 18:15:33 -0400 (EDT) Received: from sbct-3.pok.ibm.com (unknown [9.47.158.153]) by b01ledav004.gho.pok.ibm.com (Postfix) with ESMTP; Wed, 30 May 2018 18:15:33 -0400 (EDT) Subject: Re: [PATCH 8/8] ima: Differentiate auditing policy rules from "audit" actions To: Mimi Zohar , Paul Moore Cc: Steve Grubb , linux-integrity@vger.kernel.org, linux-kernel@vger.kernel.org, linux-audit@redhat.com References: <20180524201105.3179904-1-stefanb@linux.vnet.ibm.com> <15281606.YptaXzsEVL@x2> <00f66ee1-7494-8249-f148-688616deca0c@linux.vnet.ibm.com> <3607733.4k8ofLVAdP@x2> <1160afb4-4184-b30c-5f67-c21536b5f7d3@linux.vnet.ibm.com> <85d2a40a-884c-c63d-50f6-024f7bbea4a8@linux.vnet.ibm.com> <1527717628.3534.79.camel@linux.vnet.ibm.com> From: Stefan Berger Date: Wed, 30 May 2018 18:15:31 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <1527717628.3534.79.camel@linux.vnet.ibm.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-MW X-TM-AS-GCONF: 00 x-cbid: 18053022-0036-0000-0000-000002FDFD93 X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00009099; HX=3.00000241; KW=3.00000007; PH=3.00000004; SC=3.00000264; SDB=6.01040011; UDB=6.00530848; IPR=6.00819144; MB=3.00021384; MTD=3.00000008; XFM=3.00000015; UTC=2018-05-30 22:15:34 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18053022-0037-0000-0000-00004481B0B6 Message-Id: X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-05-30_10:,, 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-1805300236 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 05/30/2018 06:00 PM, Mimi Zohar wrote: > On Wed, 2018-05-30 at 17:49 -0400, Stefan Berger wrote: >> So the other choice is to only keep patches 1,2, 6, and 7, so leave most >> of the integrity audit messages untouched. Then only create a different >> format for the new AUDIT_INTEGRITY_POLICY_RULE (current 8/8) that shares >> (for consistency reasons) the same format with the existing integrity >> audit messages but also misses tty= and exe= ? > Another option would be for the new AUDIT_INTEGRITY_POLICY_RULE to > call audit_log_task_info() similar to what ima_audit_measurement() > does. Right. [That would mean keep 1,2, 7 and modify 8.] Is that the best solution? > > Mimi