Skip to content

Commit 3734b94

Browse files
committed
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: 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: 796c146 ("apparmor: split xxx_in_ns into its two separate semantic use cases") Signed-off-by: John Johansen <john.johansen@canonical.com>
1 parent df9ac55 commit 3734b94

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

security/apparmor/label.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1330,7 +1330,7 @@ static int label_compound_match(struct aa_profile *profile,
13301330
* @rules: ruleset to search
13311331
* @label: label to check access permissions for
13321332
* @start: state to start match in
1333-
* @subns: whether to match labels in view or only in scope
1333+
* @inview: whether to match labels in view or only in scope
13341334
* @request: permissions to request
13351335
* @perms: an initialized perms struct to add accumulation to
13361336
*
@@ -1393,7 +1393,7 @@ static int label_components_match(struct aa_profile *profile,
13931393
* @rules: ruleset to search
13941394
* @label: label to match (NOT NULL)
13951395
* @state: state to start in
1396-
* @subns: whether to match labels in view or only in scope
1396+
* @inview: whether to match labels in view or only in scope
13971397
* @request: permission request
13981398
* @perms: Returns computed perms (NOT NULL)
13991399
*

0 commit comments

Comments
 (0)