Commit 3734b946 authored by John Johansen's avatar John Johansen
Browse files

apparmor: fix kernel-doc comments for inview



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: default avatarkernel 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: 796c146f ("apparmor: split xxx_in_ns into its two separate semantic use cases")
Signed-off-by: default avatarJohn Johansen <john.johansen@canonical.com>
parent df9ac55a
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1330,7 +1330,7 @@ static int label_compound_match(struct aa_profile *profile,
 * @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 @@ static int label_components_match(struct aa_profile *profile,
 * @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)
 *