Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp269385imm; Fri, 3 Aug 2018 03:12:44 -0700 (PDT) X-Google-Smtp-Source: AAOMgpeTZnj8IQOPOW8f4/l6yaCPzpQPHe+B9NuiZbpa0V2f5u8MiAfKPmM8KlBgFzZ8c4Y0NeUf X-Received: by 2002:a17:902:820a:: with SMTP id x10-v6mr2942777pln.261.1533291164401; Fri, 03 Aug 2018 03:12:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533291164; cv=none; d=google.com; s=arc-20160816; b=VdZPSRc0bJh8XIQr4t57P4AIQ9NPyzrobjX1LkkvSkgy9wTJsdJY0Ko/IOrwefUjWf rLfKY7XAKtyCBkIKSgeF/1oOOKsuBGETzTGj5wfPUNRWFO9UKQyc7K3zkDzRW9LUhvKB NYZxQl8mL2b2PufLHzcMgq2XdtoV+7K7XAjqsOZOXQV3a82nkwud+qI7haWDoHVrX+yl t53rCnKzooJhgwriWELDWYvsJx6S+DCW/rBXou1vOME5GFEe/gSsOkOZIxMNeQlW4rjj h+AzakPH/TSnGHun/wsWkLf4M3R1UT4IZH4SyHkvSPcK0IObpTgLM+xIc0BsBWT41mu4 l9lQ== 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=TbXUEDm7pbid2Q4Yj9CMftxAS28pz+T4J3HVr/eWd3k=; b=Y1wo7x8rkg8hQ1kyYlXJQAz/AA05P1c9fC+qBiIKJuotkUG2YD4Neu0aLQ/H6tmXe5 nGczK/HmZCVlwAP3w0WDXwHw5mrC6NLQzFw5Z5gbs0UsEH0BSd9zm4IVoHgYa7CMAlxr wX/g9krvX/+2JUKEbjrerWlqb9oajbkQWpLAiD+xjgQ3+vesCdLea40H05axxSs2DDon 2c+ZrKNNc/VSAtouvKg2xWB1CXhVw5bD9DjxEVN3dJInOz+GuqRWVvCOBNt1389NOncc l/CsH/aKWQNo2gI8CaADWaa53sXHV2FATlQthYGCPZXOnC1lREpzuenVarHesoEge3bj k0Rg== 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 g87-v6si5137062pfg.225.2018.08.03.03.12.30; Fri, 03 Aug 2018 03:12:44 -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 S1732606AbeHCMGn (ORCPT + 99 others); Fri, 3 Aug 2018 08:06:43 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:46998 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732587AbeHCMGm (ORCPT ); Fri, 3 Aug 2018 08:06:42 -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 w73A8uJh111594 for ; Fri, 3 Aug 2018 06:11:05 -0400 Received: from e35.co.us.ibm.com (e35.co.us.ibm.com [32.97.110.153]) by mx0a-001b2d01.pphosted.com with ESMTP id 2kmm1r2hnd-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Fri, 03 Aug 2018 06:11:05 -0400 Received: from localhost by e35.co.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 3 Aug 2018 04:11:04 -0600 Received: from b03cxnp08027.gho.boulder.ibm.com (9.17.130.19) by e35.co.us.ibm.com (192.168.1.135) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Fri, 3 Aug 2018 04:11:01 -0600 Received: from b03ledav003.gho.boulder.ibm.com (b03ledav003.gho.boulder.ibm.com [9.17.130.234]) by b03cxnp08027.gho.boulder.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w73AB0Oi65994894 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 3 Aug 2018 03:11:00 -0700 Received: from b03ledav003.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 6DF236A04D; Fri, 3 Aug 2018 04:11:00 -0600 (MDT) Received: from b03ledav003.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 4A8986A04F; Fri, 3 Aug 2018 04:10:57 -0600 (MDT) Received: from [9.124.31.153] (unknown [9.124.31.153]) by b03ledav003.gho.boulder.ibm.com (Postfix) with ESMTP; Fri, 3 Aug 2018 04:10:56 -0600 (MDT) Subject: Re: [PATCH 1/4] ima: add support for arch specific policies To: kbuild test robot , Eric Richter Cc: kbuild-all@01.org, linux-integrity , linux-security-module , linux-efi , linux-kernel , David Howells , Seth Forshee , Justin Forbes , Mimi Zohar References: <20180725233200.761-2-erichte@linux.vnet.ibm.com> <201807281011.3IfKWpyx%fengguang.wu@intel.com> From: Nayna Jain Date: Fri, 3 Aug 2018 15:38:36 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <201807281011.3IfKWpyx%fengguang.wu@intel.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-TM-AS-GCONF: 00 x-cbid: 18080310-0012-0000-0000-00001696A816 X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00009476; HX=3.00000241; KW=3.00000007; PH=3.00000004; SC=3.00000266; SDB=6.01069467; UDB=6.00549964; IPR=6.00848025; MB=3.00022478; MTD=3.00000008; XFM=3.00000015; UTC=2018-08-03 10:11:04 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18080310-0013-0000-0000-000053E70437 Message-Id: X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-08-03_04:,, 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=1011 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1807170000 definitions=main-1808030113 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 07/28/2018 07:54 AM, kbuild test robot wrote: > Hi Nayna, > > Thank you for the patch! Perhaps something to improve: Thanks for the report. I will address or squash the changes with the existing PATCH 1/4 in the next version. The warning about NULL dereference in PATCH 4/4 is related to changes in PATCH 1/4, so will fix in PATCH 1/4 itself. Thanks & Regards,     - Nayna > > [auto build test WARNING on integrity/next-integrity] > [also build test WARNING on next-20180727] > [cannot apply to v4.18-rc6] > [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] > > url: https://github.com/0day-ci/linux/commits/Eric-Richter/ima-add-support-for-arch-specific-policies/20180728-072442 > base: https://git.kernel.org/pub/scm/linux/kernel/git/zohar/linux-integrity.git next-integrity > reproduce: > # apt-get install sparse > make ARCH=x86_64 allmodconfig > make C=1 CF=-D__CHECK_ENDIAN__ > > > sparse warnings: (new ones prefixed by >>) > >>> security/integrity/ima/ima_policy.c:198:23: sparse: symbol 'arch_policy_rules' was not declared. Should it be static? >>> security/integrity/ima/ima_policy.c:199:23: sparse: symbol 'arch_policy_entry' was not declared. Should it be static? > include/linux/slab.h:631:13: sparse: undefined identifier '__builtin_mul_overflow' > include/linux/slab.h:631:13: sparse: not a function > include/linux/slab.h:631:13: sparse: call with no type! > > Please review and possibly fold the followup patch. > > --- > 0-DAY kernel test infrastructure Open Source Technology Center > https://lists.01.org/pipermail/kbuild-all Intel Corporation >