Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp1902332ybz; Thu, 30 Apr 2020 07:29:04 -0700 (PDT) X-Google-Smtp-Source: APiQypIOrgJXg9fye/UJ+PSd+ZWuCrObS3kmAbh2vDiOiX3VNRcTHTLRMHgBZPsCyX2teGcDxHKX X-Received: by 2002:a17:906:17c1:: with SMTP id u1mr2988817eje.47.1588256943813; Thu, 30 Apr 2020 07:29:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588256943; cv=none; d=google.com; s=arc-20160816; b=kaed7hvJKju6vHHabcgyobZYtA0FTu2CMi2m9Fl0coi6wzqwqs+eGsJRd8yKaziqmB vC4u9RF+vUIp5Ws24cf4In+2SZfyueb2IWvsLRh0tHC7YI1wTlXWz1+ieAIbpke3HEO3 YPYFYAC4zzu7xC7h/ADlYa3RhPaeJyTUUew60+XbfpLRxDKrxnKglKK/YowFyghHdI+X KkfooiXZkVmx5oUAFUZrsLLYCqRXPFgZ57cHbeWrJIWF1iQRGEw2gKzMVRLQAwC20op7 5hhujq1v+vFZ6iV4iVoANEuygpqcUtVB2Wg29b8qRd2T06WTPAI9MWYr/DuZc94nwREH tgQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=CIxRu1OuDAqKJfjtTDVdesInaszESCMTEacStaiZnJ8=; b=Ww5zuvYYO1YOLq0PwTUsNm51q1LJab/LpBYpTBWDAIPQGFXPfQmHBDBDbXN5YN5LdP 3mhxIaSIlkSzWUqhZQXeetcO2tc5gjl2zHG251VWU3oJQYYgvOcVIkIcIvYHOBabQcdL yftcaNT6kZX/DiLaHIc63csDElzBK3eDG4UNiQlRKnqHVMFenF6bjdTV4ZVd+TZOJ34p f4LyGz3+IVhU4EQco74Ph8Ljzsoonp7a7wYCsvN8rG7gShKd9S6nFu5JnkVUYAiSPBZB +KFpLTTOyX7vxBdjWfLi8Fdvk/w2NUHzapo3YG+0FDLoo1eMqhI0wYKeEIeYSaWr/jE2 7OrA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gx5si6233547ejb.74.2020.04.30.07.28.40; Thu, 30 Apr 2020 07:29:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728032AbgD3O1S (ORCPT + 99 others); Thu, 30 Apr 2020 10:27:18 -0400 Received: from smtp-42a8.mail.infomaniak.ch ([84.16.66.168]:60817 "EHLO smtp-42a8.mail.infomaniak.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727822AbgD3O1S (ORCPT ); Thu, 30 Apr 2020 10:27:18 -0400 Received: from smtp-2-0001.mail.infomaniak.ch (unknown [10.5.36.108]) by smtp-3-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 49Cd436GZyzlhyrF; Thu, 30 Apr 2020 16:26:43 +0200 (CEST) Received: from ns3096276.ip-94-23-54.eu (unknown [94.23.54.103]) by smtp-2-0001.mail.infomaniak.ch (Postfix) with ESMTPA id 49Cd4261cTzlndDX; Thu, 30 Apr 2020 16:26:42 +0200 (CEST) Subject: Re: [PATCH 2/2] ima: add policy support for the new file open MAY_OPENEXEC flag To: Mimi Zohar , kbuild test robot , linux-integrity@vger.kernel.org Cc: kbuild-all@lists.01.org, Steve Grubb , Jann Horn , linux-security-module@vger.kernel.org, linux-kernel@vger.kernel.org References: <1588167523-7866-3-git-send-email-zohar@linux.ibm.com> <202004300526.H4rF1lW2%lkp@intel.com> <1588254156.5167.32.camel@linux.ibm.com> From: =?UTF-8?Q?Micka=c3=abl_Sala=c3=bcn?= Message-ID: <48e67766-89ad-0b55-baa6-761ef09298bd@digikod.net> Date: Thu, 30 Apr 2020 16:26:42 +0200 User-Agent: MIME-Version: 1.0 In-Reply-To: <1588254156.5167.32.camel@linux.ibm.com> Content-Type: text/plain; charset=utf-8 Content-Language: fr Content-Transfer-Encoding: 8bit X-Antivirus: Dr.Web (R) for Unix mail servers drweb plugin ver.6.0.2.8 X-Antivirus-Code: 0x100000 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org OK, I'll add it to the next series. On 30/04/2020 15:42, Mimi Zohar wrote: > Hi Mickaël, > > On Thu, 2020-04-30 at 05:24 +0800, kbuild test robot wrote: >> Hi Mimi, >> >> I love your patch! Yet something to improve: >> >> [auto build test ERROR on integrity/next-integrity] >> [also build test ERROR on linus/master v5.7-rc3 next-20200429] >> [cannot apply to security/next-testing] >> [if your patch is applied to the wrong git tree, please drop us a note to help >> improve the system. BTW, we also suggest to use '--base' option to specify the >> base tree in git format-patch, please see https://stackoverflow.com/a/37406982] > > To prevent this sort of message, in the future could you include this > patch (2/2) with your patch set?  Please include the "Reviewed-by: > Lakshmi Ramasubramanian " tag. > > thanks, > > Mimi > >> >> url: https://github.com/0day-ci/linux/commits/Mimi-Zohar/ima-extending-IMA-policy-to-support-interpreters/20200430-030608 >> base: https://git.kernel.org/pub/scm/linux/kernel/git/zohar/linux-integrity.git next-integrity >> config: arc-allyesconfig (attached as .config) >> compiler: arc-elf-gcc (GCC) 9.3.0 >> reproduce: >> wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross >> chmod +x ~/bin/make.cross >> # save the attached .config to linux build tree >> COMPILER_INSTALL_PATH=$HOME/0day GCC_VERSION=9.3.0 make.cross ARCH=arc >> >> If you fix the issue, kindly add following tag as appropriate >> Reported-by: kbuild test robot >> >> All error/warnings (new ones prefixed by >>): >> >> security/integrity/ima/ima_main.c: In function 'ima_file_check': >>>> security/integrity/ima/ima_main.c:442:20: error: 'MAY_OPENEXEC' undeclared (first use in this function); did you mean 'MAY_OPEN'? >> 442 | MAY_EXEC | MAY_OPENEXEC | >> | ^~~~~~~~~~~~ >> | MAY_OPEN >