aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Moore <paul@paul-moore.com>2025-04-12 11:33:41 -0400
committerPaul Moore <paul@paul-moore.com>2025-04-12 11:37:06 -0400
commit05f1a939225ec895a97a6b2f1cf64e329b6474f5 (patch)
tree216999f10d89d9fc9e91d139f5cc069324867bd8
parentselinux: remove a duplicated include (diff)
downloadlinux-rng-05f1a939225ec895a97a6b2f1cf64e329b6474f5.tar.xz
linux-rng-05f1a939225ec895a97a6b2f1cf64e329b6474f5.zip
selinux: fix the kdoc header for task_avdcache_update
The kdoc header incorrectly references an older parameter, update it to reference what is currently used in the function. Reported-by: kernel test robot <lkp@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202504122308.Ch8PzJdD-lkp@intel.com/ Signed-off-by: Paul Moore <paul@paul-moore.com>
-rw-r--r--security/selinux/hooks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/selinux/hooks.c b/security/selinux/hooks.c
index edc9ae81e202..b8115df536ab 100644
--- a/security/selinux/hooks.c
+++ b/security/selinux/hooks.c
@@ -3160,7 +3160,7 @@ static inline int task_avdcache_search(struct task_security_struct *tsec,
* task_avdcache_update - Update the task's AVD cache
* @tsec: the task's security state
* @isec: the inode associated with the cache entry
- * @avdc: the AVD info to cache
+ * @avd: the AVD to cache
* @audited: the permission audit bitmask to cache
*
* Update the AVD cache in @tsec with the @avdc and @audited info associated