Received: by 10.213.65.68 with SMTP id h4csp197899imn; Thu, 15 Mar 2018 14:03:16 -0700 (PDT) X-Google-Smtp-Source: AG47ELvRIn9dDFEOhblk1JcikjRxGrJm2FoN5cSv/uPJNLfazjnicwIOVxwc1nH9D43By+MuYx1e X-Received: by 2002:a17:902:6b83:: with SMTP id p3-v6mr9690201plk.25.1521147796884; Thu, 15 Mar 2018 14:03:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521147796; cv=none; d=google.com; s=arc-20160816; b=i95olFkGfLM+v9LgsmrpJeOUgxdwsRa6tWfIY63H4wKbwLilENuz3WZsOhO73bQdHf alio+kF0DgPv6XNtfttmmiXua6ySMp5locMCKcmmpKT4DQ4R//n2Nw4bapFugE2jjQqj Etq46+kB6pk4GDfWGw3l1m4+78KzZ6zvpr8i67MYgkLYv5IP/fO97BLEJbJHD03K8ull TcTQcycYyG/k5kCqvTs7tVYz7gJk8mOAsoLfclPn4xu6xQgJUgJpAyrrIBFo6FOmyvYM VMoP3AhJQ1du0OJepJ2I28VGKuvIU723FunuqRj/jD7Jq38LGWW4QSiGIy0F4s9H92gp 0Rbg== 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-transfer-encoding :mime-version:references:in-reply-to:date:cc:to:from:subject :arc-authentication-results; bh=271K3J8SLzeQUOUifTAcTGBn71jNYkzzqzKp5uWLM3Y=; b=Rex3u4vqoiUidb/IEO7sFO3Qbr/Q9/8YrMbP2Y1iO7nmFMRH4o14HqwUNvUSC9pM8G EbyGFbLca/sw+z0wFoIUrARCsCLEJoYewPm+uobYYYGCqsbXnaIxIuyELbkYioY9NHIc z2zLnLSuJg8GAvvj9TdFNSClz5lNZc69MOhz7AYCKffAYcHGR7FEeFKDH81HJphXDi+E jVtK/QXH1NFgWRNuJc525eyv4lTe+Of7U3lyN8cktfniAR4qYnRRbbjn0NppI1AMBgs/ ai123jpehKZh11LBiZvK1QDzoeiRbWlkuaE+fKuR4kwvBgVWoO/DhGPS1SDA8n6jEMYO K71w== 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 h6-v6si4606326pll.328.2018.03.15.14.02.58; Thu, 15 Mar 2018 14:03:16 -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 S1752262AbeCOVB4 (ORCPT + 99 others); Thu, 15 Mar 2018 17:01:56 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:41950 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751546AbeCOVBy (ORCPT ); Thu, 15 Mar 2018 17:01:54 -0400 Received: from pps.filterd (m0098399.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w2FKxqZf032486 for ; Thu, 15 Mar 2018 17:01:52 -0400 Received: from e06smtp12.uk.ibm.com (e06smtp12.uk.ibm.com [195.75.94.108]) by mx0a-001b2d01.pphosted.com with ESMTP id 2gqty18ra3-1 (version=TLSv1.2 cipher=AES256-SHA256 bits=256 verify=NOT) for ; Thu, 15 Mar 2018 17:01:52 -0400 Received: from localhost by e06smtp12.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 15 Mar 2018 21:01:46 -0000 Received: from b06cxnps3075.portsmouth.uk.ibm.com (9.149.109.195) by e06smtp12.uk.ibm.com (192.168.101.142) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Thu, 15 Mar 2018 21:01:43 -0000 Received: from d06av25.portsmouth.uk.ibm.com (d06av25.portsmouth.uk.ibm.com [9.149.105.61]) by b06cxnps3075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w2FL1gdL66256972; Thu, 15 Mar 2018 21:01:42 GMT Received: from d06av25.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 089DC11C04A; Thu, 15 Mar 2018 20:54:19 +0000 (GMT) Received: from d06av25.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 1038A11C054; Thu, 15 Mar 2018 20:54:18 +0000 (GMT) Received: from localhost.localdomain (unknown [9.80.100.228]) by d06av25.portsmouth.uk.ibm.com (Postfix) with ESMTP; Thu, 15 Mar 2018 20:54:17 +0000 (GMT) Subject: Re: [PATCH 0/4] Code improvements in integrity and IMA From: Mimi Zohar To: Thiago Jung Bauermann , linux-integrity@vger.kernel.org Cc: linux-security-module@vger.kernel.org, linux-kernel@vger.kernel.org, James Morris , "Serge E. Hallyn" , Dmitry Kasatkin Date: Thu, 15 Mar 2018 17:01:40 -0400 In-Reply-To: <20180314202020.3794-1-bauerman@linux.vnet.ibm.com> References: <20180314202020.3794-1-bauerman@linux.vnet.ibm.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.20.5 (3.20.5-1.fc24) Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-TM-AS-GCONF: 00 x-cbid: 18031521-0008-0000-0000-000004DE880A X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18031521-0009-0000-0000-00001E71939F Message-Id: <1521147700.3547.662.camel@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2018-03-15_11:,, 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 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1709140000 definitions=main-1803150228 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Thiago, On Wed, 2018-03-14 at 17:20 -0300, Thiago Jung Bauermann wrote: > Hello, > > These patches come from the "appended signatures support for IMA appraisal" > series. They are code improvements and cleanups and I decided to submit > them separately for a couple of reasons: > > 1. they stand on their own and could be included in v4.17; > > 2. this will simplify the original patch series a bit, by having it contain > only the patches actually necessary to implement the feature. Agreed.  The first 3 patches are applied.  The last one, we'll see about. Mimi > > These are the changes made to them since v5 of the modsig series: > > - Patch "integrity: Remove unused macro IMA_ACTION_RULE_FLAGS" > - New patch. > > - Patch "ima: Improvements in ima_appraise_measurement()" > - Moved is_ima_sig() to its own patch (not in this series). > > Mimi Zohar (1): > ima: Improvements in ima_appraise_measurement() > > Thiago Jung Bauermann (3): > integrity: Remove unused macro IMA_ACTION_RULE_FLAGS > ima: Simplify ima_eventsig_init() > integrity: Introduce struct evm_xattr > > security/integrity/evm/evm_crypto.c | 4 ++-- > security/integrity/evm/evm_main.c | 10 ++++---- > security/integrity/ima/ima_appraise.c | 40 ++++++++++++++++++------------- > security/integrity/ima/ima_template_lib.c | 11 +++------ > security/integrity/integrity.h | 6 ++++- > 5 files changed, 39 insertions(+), 32 deletions(-) >