]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
apparmor: fix kernel-doc comments for inview
authorJohn Johansen <john.johansen@canonical.com>
Mon, 2 Feb 2026 11:37:18 +0000 (03:37 -0800)
committerJohn Johansen <john.johansen@canonical.com>
Mon, 2 Feb 2026 11:53:43 +0000 (03:53 -0800)
subns was renamed inview to better reflect the function of the flag.
Unfortunately the kernel-doc was not properly updated in 2 places.

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202602020737.vGCZFds1-lkp@intel.com/
Closes: https://lore.kernel.org/oe-kbuild-all/202602021427.PvvDjgyL-lkp@intel.com/
Fixes: 796c146fa6c82 ("apparmor: split xxx_in_ns into its two separate semantic use cases")
Signed-off-by: John Johansen <john.johansen@canonical.com>
security/apparmor/label.c

index ef3448ecdf5f2215ddbbd707df05cd8ac75f67eb..0852fa95081e6f27a6ae1014e362ef735a1d8e44 100644 (file)
@@ -1330,7 +1330,7 @@ fail:
  * @rules: ruleset to search
  * @label: label to check access permissions for
  * @start: state to start match in
- * @subns: whether to match labels in view or only in scope
+ * @inview: whether to match labels in view or only in scope
  * @request: permissions to request
  * @perms: an initialized perms struct to add accumulation to
  *
@@ -1393,7 +1393,7 @@ fail:
  * @rules: ruleset to search
  * @label: label to match (NOT NULL)
  * @state: state to start in
- * @subns: whether to match labels in view or only in scope
+ * @inview: whether to match labels in view or only in scope
  * @request: permission request
  * @perms: Returns computed perms (NOT NULL)
  *