task_avdcache_search(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… task_avdcache_search β€” the Kernel API Manual girlies are gonna eat this UP ✨

okay so bestie, welcome to the Kernel API Manual entry for task_avdcache_search(9), and no cap this one is short but she is mighty πŸŽ€


🌸 NAME 🌸

task_avdcache_search β€” literally just: search the task's AVD cache πŸ¦‹

✨ SYNOPSIS ✨

int task_avdcache_search (struct task_security_struct *tsec , struct
inode_security_struct *isec , struct avdc_entry **avdc );

🫢 ARGUMENTS 🫢

  • tsec β€” the task's security state, aka the vibe holder for the task in question πŸ’œ
  • isec β€” the inode we're searching for in the cache, the main character we're looking up πŸ‘‘
  • avdc β€” the matching avd cache entry that gets returned to the caller, iykyk πŸ”₯

πŸ’€ DESCRIPTION πŸ’€

So what it does is: search tsec for an AVD cache entry that matches isec, and hand it right back to the caller via avdc 🎁

And the returns? Slay:

  • 0 if a match is found β€” periodt, we ate πŸ’…
  • negative values otherwise β€” not the vibe, but that's what it returns 😭

🌈 SEE ALSO 🌈

Kernel file ./security/selinux/hooks.c, plus the whole friend group:


aaaand that's the whole page bestie 🧚 from ./security/selinux, dated October 2026, filed under task_avdcache_search(9) β€” go forth and search that cache, ily πŸ’–βœ¨

πŸ“¦ where this page comes from