Received: by 2002:a05:7412:b130:b0:e2:908c:2ebd with SMTP id az48csp1569244rdb; Sun, 19 Nov 2023 01:09:44 -0800 (PST) X-Google-Smtp-Source: AGHT+IF2PdyJ5XI9q6Nu6W9ieaqOEF5jouUgTi1OQS2PXv+iQfhPfwBvDSIJaYcMYrx0nPK5j9hS X-Received: by 2002:a17:903:244d:b0:1cc:50ad:58 with SMTP id l13-20020a170903244d00b001cc50ad0058mr3267744pls.42.1700384984295; Sun, 19 Nov 2023 01:09:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700384984; cv=none; d=google.com; s=arc-20160816; b=ko/SJK+NE2ygY+QVWzNVVDOkumuNtXvL+hnNRndaWNJGWu44LtGluNKF3XQbF8TuM3 280Q3kEb1NgYGfzR2i4s0v1FVbBzxJCuZGV0WTHBhLOxLVMGWa0aRTkPUk7ReYDbD6Mj 3zTxGZ6HlGNXvtLQt4v0jdqQdsWN/G+TSnXqxCA6leMMJT2StrkW4QS1L+MeBb1QWPHY y5fp/pstlwhE+ku2nIr+sEvO5wS/gSEbioL7q58saeI79HwYs503juraLnicfFYlH1Tt RnVixYq2AO8j2kTvk9WETgjPBGlngBRHTPikfeGNGOvixLvrHf/7m8qpX4gzX8XgIeFc SeqA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :organization:autocrypt:from:content-language:references:cc:to :subject:user-agent:mime-version:date:message-id:dkim-signature; bh=spW5iaPaEhOOfN+DrnpbEnZueODC//5+6nsWpNvSU4I=; fh=IZgQvmY6bSAkhtiKFU6tde8gXn69Ho/gckdtZ4/QtuQ=; b=etM9C3bK+SfgE02tC10B1BOO0ZDWzcF1JBwBUGWaCDUx39Jbz7+Tzu7ue/6ACatkqZ rQk7P0xFbaFWv5L65+XzQyYbod3MfsmS20/pI1Wk0eL4aM243el3jh6nQEusWurbbyhc FrcSBuyCoiZPbWbYbtHEGyjqH7oGSgRaR03hQH5VwTAuGYGsV1eCkt+QwlrgsQPZeGY8 dTKEr3HEGKtk6PwRM2zABasIDBDMoC3KWVbx6idJuArSE8IZv0WzGbN98ZWA74OOqqhg alhzzGYHZWfl4j0dR1D+med8W0WWH6JgC1yR45xlDRMA37eUvuX30HD64lQYO8pTEypY eSlQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b=KlNjyPhG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canonical.com Return-Path: Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id t12-20020a170902bc4c00b001cc3b988fcesi5720236plz.187.2023.11.19.01.09.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 Nov 2023 01:09:44 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b=KlNjyPhG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canonical.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 7B041808EDF9; Sun, 19 Nov 2023 01:09:36 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230303AbjKSJIx (ORCPT + 99 others); Sun, 19 Nov 2023 04:08:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42282 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229454AbjKSJIw (ORCPT ); Sun, 19 Nov 2023 04:08:52 -0500 Received: from smtp-relay-canonical-1.canonical.com (smtp-relay-canonical-1.canonical.com [185.125.188.121]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5B2EBF9; Sun, 19 Nov 2023 01:08:48 -0800 (PST) Received: from [192.168.192.84] (unknown [50.39.103.33]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-canonical-1.canonical.com (Postfix) with ESMTPSA id 62CC042F25; Sun, 19 Nov 2023 09:08:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1700384926; bh=spW5iaPaEhOOfN+DrnpbEnZueODC//5+6nsWpNvSU4I=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=KlNjyPhGCXe3KvYcvRksZw/14RWD5E7MU0z24U67tNvt/Cm/un9R2hsqRFNxSzc9B X719BGok71uPLJDcp0CTzJHVZop/llcp9QMOMxBOhDrINunUm5vqCg8DmBBFQ8DR2K J8dOFprPBmVbEcGtPGHV7V+/QTnPNdW6DKEOraTXa+x32DHWNWMdli3tJ6zS7SQb7W RIbmYJXUWNR//asfSTf/0O8ci17IpPUTM+ae4YNuj7k3lY6N3cIwxSHvqvvQmTGwxe M61eKrnB9ZS2ULSpTdpPOHpWId8L0sSMvVTIWy/Pv7palpgC+uQ5qN2IXFDkCJuoMW sN3V1qQUDsTfg== Message-ID: <9b443e09-82ac-43ae-9082-49e2e4c5021e@canonical.com> Date: Sun, 19 Nov 2023 01:08:34 -0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH -next] apparmor: Fix some kernel-doc comments To: Yang Li , paul@paul-moore.com, jmorris@namei.org, serge@hallyn.com Cc: apparmor@lists.ubuntu.com, linux-security-module@vger.kernel.org, linux-kernel@vger.kernel.org, Abaci Robot References: <20231023005517.115318-1-yang.lee@linux.alibaba.com> Content-Language: en-US From: John Johansen Autocrypt: addr=john.johansen@canonical.com; keydata= xsFNBE5mrPoBEADAk19PsgVgBKkImmR2isPQ6o7KJhTTKjJdwVbkWSnNn+o6Up5knKP1f49E BQlceWg1yp/NwbR8ad+eSEO/uma/K+PqWvBptKC9SWD97FG4uB4/caomLEU97sLQMtnvGWdx rxVRGM4anzWYMgzz5TZmIiVTZ43Ou5VpaS1Vz1ZSxP3h/xKNZr/TcW5WQai8u3PWVnbkjhSZ PHv1BghN69qxEPomrJBm1gmtx3ZiVmFXluwTmTgJOkpFol7nbJ0ilnYHrA7SX3CtR1upeUpM a/WIanVO96WdTjHHIa43fbhmQube4txS3FcQLOJVqQsx6lE9B7qAppm9hQ10qPWwdfPy/+0W 6AWtNu5ASiGVCInWzl2HBqYd/Zll93zUq+NIoCn8sDAM9iH+wtaGDcJywIGIn+edKNtK72AM gChTg/j1ZoWH6ZeWPjuUfubVzZto1FMoGJ/SF4MmdQG1iQNtf4sFZbEgXuy9cGi2bomF0zvy BJSANpxlKNBDYKzN6Kz09HUAkjlFMNgomL/cjqgABtAx59L+dVIZfaF281pIcUZzwvh5+JoG eOW5uBSMbE7L38nszooykIJ5XrAchkJxNfz7k+FnQeKEkNzEd2LWc3QF4BQZYRT6PHHga3Rg ykW5+1wTMqJILdmtaPbXrF3FvnV0LRPcv4xKx7B3fGm7ygdoowARAQABzStKb2huIEpvaGFu c2VuIDxqb2huLmpvaGFuc2VuQGNhbm9uaWNhbC5jb20+wsF3BBMBCgAhBQJOjRdaAhsDBQsJ CAcDBRUKCQgLBRYCAwEAAh4BAheAAAoJEAUvNnAY1cPYi0wP/2PJtzzt0zi4AeTrI0w3Rj8E Waa1NZWw4GGo6ehviLfwGsM7YLWFAI8JB7gsuzX/im16i9C3wHYXKs9WPCDuNlMc0rvivqUI JXHHfK7UHtT0+jhVORyyVVvX+qZa7HxdZ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12rfdHQoopELzReDCPwmffS9ctIb407UYfRQxwDEzDL+m+ TotTkkaNlHvcnlQtWEfgwtsOCAPeY9qIbz5+i1OslQ+qqGD2HJQQ+lgbuyq3vhefv34IRlyM sfPKXq8AUTZbSTGUu1C1RlQc7fpp8W/yoak7dmo++MFS5q1cXq29RALB/cfpcwARAQABwsFf BBgBCgAJBQJOZqz6AhsMAAoJEAUvNnAY1cPYP9cP/R10z/hqLVv5OXWPOcpqNfeQb4x4Rh4j h/jS9yjes4uudEYU5xvLJ9UXr0wp6mJ7g7CgjWNxNTQAN5ydtacM0emvRJzPEEyujduesuGy a+O6dNgi+ywFm0HhpUmO4sgs9SWeEWprt9tWrRlCNuJX+u3aMEQ12b2lslnoaOelghwBs8IJ r998vj9JBFJgdeiEaKJLjLmMFOYrmW197As7DTZ+R7Ef4gkWusYFcNKDqfZKDGef740Xfh9d yb2mJrDeYqwgKb7SF02Hhp8ZnohZXw8ba16ihUOnh1iKH77Ff9dLzMEJzU73DifOU/aArOWp JZuGJamJ9EkEVrha0B4lN1dh3fuP8EjhFZaGfLDtoA80aPffK0Yc1R/pGjb+O2Pi0XXL9AVe qMkb/AaOl21F9u1SOosciy98800mr/3nynvid0AKJ2VZIfOP46nboqlsWebA07SmyJSyeG8c XA87+8BuXdGxHn7RGj6G+zZwSZC6/2v9sOUJ+nOna3dwr6uHFSqKw7HwNl/PUGeRqgJEVu++ +T7sv9+iY+e0Y+SolyJgTxMYeRnDWE6S77g6gzYYHmcQOWP7ZMX+MtD4SKlf0+Q8li/F9GUL p0rw8op9f0p1+YAhyAd+dXWNKf7zIfZ2ME+0qKpbQnr1oizLHuJX/Telo8KMmHter28DPJ03 lT9Q Organization: Canonical In-Reply-To: <20231023005517.115318-1-yang.lee@linux.alibaba.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Sun, 19 Nov 2023 01:09:36 -0800 (PST) On 10/22/23 17:55, Yang Li wrote: > Fix some kernel-doc comments to silence the warnings: > security/apparmor/capability.c:66: warning: Function parameter or member 'ad' not described in 'audit_caps' > security/apparmor/capability.c:66: warning: Excess function parameter 'as' description in 'audit_caps' > security/apparmor/capability.c:154: warning: Function parameter or member 'subj_cred' not described in 'aa_capable' > security/apparmor/capability.c:154: warning: Excess function parameter 'subj_cread' description in 'aa_capable' > > Reported-by: Abaci Robot > Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=7035 > Signed-off-by: Yang Li sorry I missed replying to this. It was pulled into apparmor-next and merged upstream during the 6.7 merge window > --- > security/apparmor/capability.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/security/apparmor/capability.c b/security/apparmor/capability.c > index 0b7d2b1086c9..9934df16c843 100644 > --- a/security/apparmor/capability.c > +++ b/security/apparmor/capability.c > @@ -51,7 +51,7 @@ static void audit_cb(struct audit_buffer *ab, void *va) > > /** > * audit_caps - audit a capability > - * @as: audit data > + * @ad: audit data > * @profile: profile being tested for confinement (NOT NULL) > * @cap: capability tested > * @error: error code returned by test > @@ -140,7 +140,7 @@ static int profile_capable(struct aa_profile *profile, int cap, > > /** > * aa_capable - test permission to use capability > - * @subj_cread: cred we are testing capability against > + * @subj_cred: cred we are testing capability against > * @label: label being tested for capability (NOT NULL) > * @cap: capability to be tested > * @opts: CAP_OPT_NOAUDIT bit determines whether audit record is generated