From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.7]) (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 0F0C51C6FF3; Sat, 14 Jun 2025 17:33:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.7 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1749922400; cv=none; b=pnjsnBaphJzExbtA3HEPMtojCVpbuNpG3cgLtl9N8lMGQ7DQkufrlkdhCeNS2u1mxOUEvIO1gJjdHLLh9Ue2mopGVPfHSjDrRvMJemH4SoCI7siNDLIZ1BRJDaiWS5IcA9Twb7uEEkj2ka9jGj9Kqa5Ht6Kyo/Cikgig5HlmGHY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1749922400; c=relaxed/simple; bh=sYzhyuOMJlxaNLvwtjvQFPSqgL1EZJfEM0k8Hyk2zmE=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=HL4pN8WQ067L7Q0vF+74LoVPkb1U8NAetSoPPB2NzkNrWe1vE+ax25n8WsenkFfmJIkL3R15D4Ywv/KYkg3fX2mvRzQ+BPIyGAz/mDmEqeznN+xc1GYBaMRgPqF+4WTf6lwDS4TzUR+rudAUTaNq6Z8Mrdx9a3+v2G2mbQRDPRI= 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=du/NcX7b; arc=none smtp.client-ip=192.198.163.7 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="du/NcX7b" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1749922399; x=1781458399; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=sYzhyuOMJlxaNLvwtjvQFPSqgL1EZJfEM0k8Hyk2zmE=; b=du/NcX7bkNCz0oZ88U/JQ1x8ykVt0wktUtoNKlqz0PmRahCnToC7jXog TNc+nctyKq3CJBqvPyjgRygDmbQegbiCDCcsRhJofNWrwA9Kz1K11zh+F Iw9Ej1gwBcFrpCKQCQX97aewktbArK8GNLZ2/T4jtdnLE8nIYR0VnuqjJ n5SdHcS9WS1M/I0OfV6jX+CoG83N45+vBpBtcW40Tu2Z02/qOnm0zKZwB IbspEFcpM9mirUrwJeHxp2ReLeJBsrE0Gn65ytOka3jubU7XI3oUjBQXL qjart1mEqd3SW9apSUftGci6vxAqN4FNKovbP4IwtUbt8RfYUtrNiXEER g==; X-CSE-ConnectionGUID: JnxcsrzgS3W9XcsCqpRKBg== X-CSE-MsgGUID: +eLu2qJsSEO155J5jDAMMA== X-IronPort-AV: E=McAfee;i="6800,10657,11464"; a="77510505" X-IronPort-AV: E=Sophos;i="6.16,237,1744095600"; d="scan'208";a="77510505" Received: from fmviesa006.fm.intel.com ([10.60.135.146]) by fmvoesa101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Jun 2025 10:33:18 -0700 X-CSE-ConnectionGUID: nRDaa7ccShCXOkP3q+4CNw== X-CSE-MsgGUID: nIM2ZCBoSemDGezcKbJKPg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.16,237,1744095600"; d="scan'208";a="147953425" Received: from lkp-server01.sh.intel.com (HELO e8142ee1dce2) ([10.239.97.150]) by fmviesa006.fm.intel.com with ESMTP; 14 Jun 2025 10:33:12 -0700 Received: from kbuild by e8142ee1dce2 with local (Exim 4.96) (envelope-from ) id 1uQUkg-000Dj2-1v; Sat, 14 Jun 2025 17:33:10 +0000 Date: Sun, 15 Jun 2025 01:32:53 +0800 From: kernel test robot To: Kuniyuki Iwashima , Martin KaFai Lau , Daniel Borkmann , John Fastabend , Alexei Starovoitov , Andrii Nakryiko Cc: oe-kbuild-all@lists.linux.dev, Eduard Zingerman , Song Liu , Yonghong Song , KP Singh , Stanislav Fomichev , Hao Luo , Jiri Olsa , Kumar Kartikeya Dwivedi , Paul Moore , James Morris , "Serge E. Hallyn" , =?iso-8859-1?Q?Micka=EBl_Sala=FCn?= , =?iso-8859-1?Q?G=FCnther?= Noack , Stephen Smalley , Ondrej Mosnacek , Casey Schaufler , Kuniyuki Iwashima , bpf@vger.kernel.org, linux-security-module@vger.kernel.org, selinux@vger.kernel.org, netdev@vger.kernel.org Subject: Re: [PATCH v2 bpf-next 1/4] af_unix: Don't pass struct socket to security_unix_may_send(). Message-ID: <202506150111.BYSccpdo-lkp@intel.com> References: <20250613222411.1216170-2-kuni1840@gmail.com> Precedence: bulk X-Mailing-List: bpf@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: <20250613222411.1216170-2-kuni1840@gmail.com> Hi Kuniyuki, kernel test robot noticed the following build warnings: [auto build test WARNING on bpf-next/master] url: https://github.com/intel-lab-lkp/linux/commits/Kuniyuki-Iwashima/af_unix-Don-t-pass-struct-socket-to-security_unix_may_send/20250614-062956 base: https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git master patch link: https://lore.kernel.org/r/20250613222411.1216170-2-kuni1840%40gmail.com patch subject: [PATCH v2 bpf-next 1/4] af_unix: Don't pass struct socket to security_unix_may_send(). config: arm-randconfig-001-20250614 (https://download.01.org/0day-ci/archive/20250615/202506150111.BYSccpdo-lkp@intel.com/config) compiler: arm-linux-gnueabi-gcc (GCC) 8.5.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250615/202506150111.BYSccpdo-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/202506150111.BYSccpdo-lkp@intel.com/ All warnings (new ones prefixed by >>): >> Warning: security/smack/smack_lsm.c:3892 function parameter 'sk' not described in 'smack_unix_may_send' >> Warning: security/smack/smack_lsm.c:3892 Excess function parameter 'sock' description in 'smack_unix_may_send' -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki