Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp1673478rdb; Sat, 3 Feb 2024 17:54:03 -0800 (PST) X-Google-Smtp-Source: AGHT+IHLxg4XZZL6Wtq2EMRuDauOSXr+rBFQHbabFxNcWyLzHdDCEan0MuaPQRI+lk+EzctWspU+ X-Received: by 2002:a05:6214:2b05:b0:68c:92e7:93f7 with SMTP id jx5-20020a0562142b0500b0068c92e793f7mr3291410qvb.44.1707011643021; Sat, 03 Feb 2024 17:54:03 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707011643; cv=pass; d=google.com; s=arc-20160816; b=cg29ouB3LosqrtUfXQsQA/QEyGUy4VDdtdMnthu8ldi6ryswByp5GJSW44Mob+0vKo fDnX0QnHjDY8CSGnqQHKN+NCOyEbT+2RE7Z0MLV1akgTvRnVkAe4xC44gtjqvyyZ6wjI YxHOJXRWXsD8bjMMhE4/wPA0NKEzwoJxd8rZzeWpkhT7Wbwskwjqz3erKNCPdXkIsLqg S8rNtnSaFbdKRsD5dMM5xziZG/nbNi7lCdCQZaKp+IXy22pIBSG2foNePLvklnal+OGg 69qzAhemVoHZPtrlLvXAuA3i5nJ1FtvCagxZtZNYUb52RgGA6cX7xHVW4KvRBfyRL6TC BLgQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=X1EUmHUler5jN4OUy4t1lY4FP+DlgpjP8UmlRQDniwQ=; fh=qvGTdTO8qBCM1Cp4ehZ3HmC21rqMKGkvITq18GjOsKE=; b=KoaVrClDHx+QjfhhbQToyjZAXCk61LbTceAyOsWKQAIqsMux6SKtUxYNSE8tkdFDxK meZyz6CJtNzrvz/mlJX6SZw4TsegYqvY1re0lT9mty5nTBwcDut4Ykt6RmHbXYiCeKwX LceafRZ6CvxJzjrc1uXJc/8+zlZK+FpPqmBPUhBlK9qdcbh0LPB8X+FeiSXrGSKnAO2x b/DJv03aW9+HfsEwvFa7p5oPd4pkp++WUX/X+e5Y8kUx8anmSrEcV8CdMEEhMvkiFQld GdFhH5SGKV1xF7XC/UVQzZYIjTGkPFUVDojKiA/deKM2TMtior9MH7roZzWh80Z8HgBu ZtBQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=MSXOCzry; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-51373-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-51373-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com X-Forwarded-Encrypted: i=1; AJvYcCVkZSP0G2A+BF+wrbOKtItoiWjibKxyQZuOZ6zS3RS5RbH/0AMwmQVaWajMiVsH0uFqdHdnzbNdf3N5Nrskpw2P6CwPPI1OyIryEok2sQ== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id n8-20020a0cec48000000b0068c7b64a468si5539186qvq.232.2024.02.03.17.54.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 03 Feb 2024 17:54:03 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-51373-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=MSXOCzry; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-51373-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-51373-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 80D371C2307F for ; Sun, 4 Feb 2024 01:54:02 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E82E517F7; Sun, 4 Feb 2024 01:53:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="MSXOCzry" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 702C310F7; Sun, 4 Feb 2024 01:53:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.20 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707011632; cv=none; b=QUmAm+KoLl/CSEdXx1PdxGPJOy35fSUY+ROzUhgtX8RdIRvuzS6E4WBDvYExLkCdrIhIFsSsyYhv9fWv+tg2VHh2reJSbzynOAfa29o9uH6r49Vvsz5lRygIcdmM1kBtKE548sWJLJoFdPMyFBLFQaRNuR1OsxH2cJf+d7Cyayc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707011632; c=relaxed/simple; bh=tfGBp5nvVFWf5Zm9OLpbTlKSokt3hxQsAP3obbJSHmA=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=hx8oaX/DqerrgOnrGPVsnn901FUdI7yawXeu+SLLD+rMpct3X62P4KvmCHLUt9+dIUhDPQ7zr0XT2DaIuUD5R4mlI3ohFtt85r3Wg7olyLnev3p0wCocxcPzsT0dUOxg5/uxtRJLuPALl8ryLRuOcmdqvLD9I+EOBieniwAlRIE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=MSXOCzry; arc=none smtp.client-ip=198.175.65.20 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1707011630; x=1738547630; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=tfGBp5nvVFWf5Zm9OLpbTlKSokt3hxQsAP3obbJSHmA=; b=MSXOCzryvJMJni/OLrkVx8CTMpacsobJfoMm3F/SemRhvAl3nxtI0mtH QvJ1kc1gAqSEU0JRS3xqROHd9vo2byugVHqJjm/gn8NKqIA/1qBULsNWa e6f2M2yppaBfYs5U5puzI/tbK1kv9i9s941W9QCPgcj+xYg5cPy8UfC0j QKjkcBWpLwQjd5TGl3whonRoQ5OVSDfRIqRRC8BLB63Z7Ki4pP4QA2SEf jNPm0SNbDYDN3VVXk6Lli0dr//i6wVILbDV4lldSocDS9KhSdkv6HT2mN 1KQdvuUbF5VzkVQfPnc2mjZranPx5LlriMuODSJloom6MlzeHAA8nf3BV w==; X-IronPort-AV: E=McAfee;i="6600,9927,10973"; a="263819" X-IronPort-AV: E=Sophos;i="6.05,241,1701158400"; d="scan'208";a="263819" Received: from fmviesa008.fm.intel.com ([10.60.135.148]) by orvoesa112.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Feb 2024 17:53:49 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.05,241,1701158400"; d="scan'208";a="622509" Received: from lkp-server02.sh.intel.com (HELO 59f4f4cd5935) ([10.239.97.151]) by fmviesa008.fm.intel.com with ESMTP; 03 Feb 2024 17:53:46 -0800 Received: from kbuild by 59f4f4cd5935 with local (Exim 4.96) (envelope-from ) id 1rWRhR-0005s4-0N; Sun, 04 Feb 2024 01:53:39 +0000 Date: Sun, 4 Feb 2024 09:53:17 +0800 From: kernel test robot To: Tetsuo Handa , Linus Torvalds , Eric Biederman , Kees Cook , Alexander Viro , Christian Brauner , Jan Kara , Paul Moore , James Morris , "Serge E. Hallyn" Cc: oe-kbuild-all@lists.linux.dev, LKML , linux-security-module , linux-fsdevel Subject: Re: [PATCH v2 2/3] tomoyo: replace current->in_execve flag with security_execve_abort() hook Message-ID: <202402040956.6IuNw6B3-lkp@intel.com> References: <2a901d27-dba5-4ff4-9e47-373c54965253@I-love.SAKURA.ne.jp> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2a901d27-dba5-4ff4-9e47-373c54965253@I-love.SAKURA.ne.jp> Hi Tetsuo, kernel test robot noticed the following build warnings: [auto build test WARNING on kees/for-next/execve] [also build test WARNING on linux/master tip/sched/core linus/master v6.8-rc2 next-20240202] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Tetsuo-Handa/LSM-add-security_execve_abort-hook/20240203-185605 base: https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git for-next/execve patch link: https://lore.kernel.org/r/2a901d27-dba5-4ff4-9e47-373c54965253%40I-love.SAKURA.ne.jp patch subject: [PATCH v2 2/3] tomoyo: replace current->in_execve flag with security_execve_abort() hook config: alpha-allyesconfig (https://download.01.org/0day-ci/archive/20240204/202402040956.6IuNw6B3-lkp@intel.com/config) compiler: alpha-linux-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240204/202402040956.6IuNw6B3-lkp@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202402040956.6IuNw6B3-lkp@intel.com/ All warnings (new ones prefixed by >>): >> security/tomoyo/tomoyo.c:30: warning: Excess function parameter 'bprm' description in 'tomoyo_execve_abort' vim +30 security/tomoyo/tomoyo.c ee18d64c1f6320 David Howells 2009-09-02 23 0f2a55d5bb2372 Tetsuo Handa 2011-07-14 24 /** 89cebc094231d4 Tetsuo Handa 2024-02-03 25 * tomoyo_execve_abort - Target for security_execve_abort(). 0f2a55d5bb2372 Tetsuo Handa 2011-07-14 26 * 89cebc094231d4 Tetsuo Handa 2024-02-03 27 * @bprm: void 0f2a55d5bb2372 Tetsuo Handa 2011-07-14 28 */ 89cebc094231d4 Tetsuo Handa 2024-02-03 29 static void tomoyo_execve_abort(void) f7433243770c77 Kentaro Takeda 2009-02-05 @30 { 89cebc094231d4 Tetsuo Handa 2024-02-03 31 /* Restore old_domain_info saved by execve() request. */ 8c6cb983cd52d7 Tetsuo Handa 2019-01-19 32 struct tomoyo_task *s = tomoyo_task(current); 43fc460907dc56 Casey Schaufler 2018-09-21 33 89cebc094231d4 Tetsuo Handa 2024-02-03 34 if (s->old_domain_info) { 8c6cb983cd52d7 Tetsuo Handa 2019-01-19 35 atomic_dec(&s->domain_info->users); 8c6cb983cd52d7 Tetsuo Handa 2019-01-19 36 s->domain_info = s->old_domain_info; 8c6cb983cd52d7 Tetsuo Handa 2019-01-19 37 s->old_domain_info = NULL; f7433243770c77 Kentaro Takeda 2009-02-05 38 } ec8e6a4e062e2e Tetsuo Handa 2010-02-11 39 } ec8e6a4e062e2e Tetsuo Handa 2010-02-11 40 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki