From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6FE87C4332F for ; Fri, 3 Nov 2023 22:01:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231258AbjKCWBC (ORCPT ); Fri, 3 Nov 2023 18:01:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37278 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229512AbjKCWBB (ORCPT ); Fri, 3 Nov 2023 18:01:01 -0400 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.120]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C3DFEA2 for ; Fri, 3 Nov 2023 15:00:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1699048858; x=1730584858; h=date:from:to:cc:subject:message-id:mime-version; bh=cwS3JKDa4hP3hoRLv+DbIRI3lugnTW+baL64q1eqxyw=; b=EvfoXqYhVs6FVoRfPtlFs+EY88eMkGirSVpN0neEBkYg2uOJ3ju2Xny0 /6N87w8dWQ5NP0ImPkAEXIVuQYxY0n0IoyrekbJkV1UbJBhpuABQ/vYhJ y/HzozfWSXmGyJoAOKCrd4QAbbgKFew6fAi65ogC6FJkLcauIbfZYz3S3 NRL4f5PswjN/XcSsc9QjAKrXXCcandfb9K6epnWeYHL+EmNGKJ/f6Phye pdBy7ZNlHcqmo5TtCm+ySfW5ImJmu740KT/FF7SxAgGEHTOCUqRFZbUgH od8KX/d7gKQsnjVPNmDM7AD0WiKz1Bl4NPb7+edGpirjxHWzZFJr9n65F w==; X-IronPort-AV: E=McAfee;i="6600,9927,10883"; a="387918182" X-IronPort-AV: E=Sophos;i="6.03,275,1694761200"; d="scan'208";a="387918182" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Nov 2023 15:00:58 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10883"; a="765385308" X-IronPort-AV: E=Sophos;i="6.03,275,1694761200"; d="scan'208";a="765385308" Received: from lkp-server01.sh.intel.com (HELO 17d9e85e5079) ([10.239.97.150]) by fmsmga007.fm.intel.com with ESMTP; 03 Nov 2023 15:00:57 -0700 Received: from kbuild by 17d9e85e5079 with local (Exim 4.96) (envelope-from ) id 1qz2Dn-0002z0-0X; Fri, 03 Nov 2023 22:00:55 +0000 Date: Sat, 4 Nov 2023 05:59:31 +0800 From: kernel test robot To: John Johansen Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org, Georgia Garcia Subject: security/apparmor/task.c:290: warning: Function parameter or member 'tracee_cred' not described in 'aa_may_ptrace' Message-ID: <202311040508.AUhi04RY-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi John, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: e392ea4d4d00880bf94550151b1ace4f88a4b17a commit: 90c436a64a6e20482a9a613c47eb4af2e8a5328e apparmor: pass cred through to audit info. date: 2 weeks ago config: sh-allmodconfig (https://download.01.org/0day-ci/archive/20231104/202311040508.AUhi04RY-lkp@intel.com/config) compiler: sh4-linux-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231104/202311040508.AUhi04RY-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/202311040508.AUhi04RY-lkp@intel.com/ All warnings (new ones prefixed by >>): security/apparmor/task.c:290: warning: Function parameter or member 'tracer_cred' not described in 'aa_may_ptrace' >> security/apparmor/task.c:290: warning: Function parameter or member 'tracee_cred' not described in 'aa_may_ptrace' vim +290 security/apparmor/task.c eac931254d99c5 John Johansen 2021-11-22 278 eac931254d99c5 John Johansen 2021-11-22 279 /** eac931254d99c5 John Johansen 2021-11-22 280 * aa_may_ptrace - test if tracer task can trace the tracee eac931254d99c5 John Johansen 2021-11-22 281 * @tracer: label of the task doing the tracing (NOT NULL) eac931254d99c5 John Johansen 2021-11-22 282 * @tracee: task label to be traced eac931254d99c5 John Johansen 2021-11-22 283 * @request: permission request eac931254d99c5 John Johansen 2021-11-22 284 * eac931254d99c5 John Johansen 2021-11-22 285 * Returns: %0 else error code if permission denied or error eac931254d99c5 John Johansen 2021-11-22 286 */ 90c436a64a6e20 John Johansen 2022-09-19 287 int aa_may_ptrace(const struct cred *tracer_cred, struct aa_label *tracer, 90c436a64a6e20 John Johansen 2022-09-19 288 const struct cred *tracee_cred, struct aa_label *tracee, eac931254d99c5 John Johansen 2021-11-22 289 u32 request) eac931254d99c5 John Johansen 2021-11-22 @290 { :::::: The code at line 290 was first introduced by commit :::::: eac931254d99c5aeb12ace02366dd338c4371164 apparmor: move ptrace mediation to more logical task.{h,c} :::::: TO: John Johansen :::::: CC: John Johansen -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki