task_avdcache_reset(9)
β¨ task_avdcache_reset(9) β¨
Okay bestie, welcome to task_avdcache_reset(9) from the Kernel API Manual π This one is short, sweet, and here to reset a taskβs AVD cache. Periodt.
π NAME π
task_avdcache_reset β reset the task's AVD cache
π¦ SYNOPSIS π¦
void task_avdcache_reset (struct task_security_struct *tsec );
πΈ ARGUMENTS πΈ
tsecβ the task's security state π
β¨ DESCRIPTION β¨
Clear the task's AVD cache in tsec and reset it to the current policy's and task's info. That's the whole vibe: the AVD cache situation in tsec gets cleared, then reset to the current policy's and task's info. No cap.
π SEE ALSO π
The kernel file over at ./security/selinux/hooks.c is your source-y bestie, and the related function squad is literally right here:
selinux_secmark_enabled(9)selinux_peerlbl_enabled(9)task_avdcache_search(9)task_avdcache_update(9)selinux_inode_permission(9)selinux_inode_xattr_skipcap(9)selinux_mmap_backing_file(9)selinux_skb_peerlbl_sid(9)selinux_conn_sid(9)selinux_getselfattr(9)selinux_uring_override_creds(9)selinux_uring_sqpoll(9)selinux_uring_cmd(9)selinux_uring_allowed(9)
Later, bestie! This page is from source/version ./security/selinux, dated October 2026. Stay slay, stay secure π«Άπ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms