avc_compute_av(9)
β¨ NAME β¨
okay bestie, we're on avc_compute_av(9) from the Kernel API Manual π and this page is literally:
avc_compute_avβ Add an entry to the AVC based on the security policy
πΈ SYNOPSIS πΈ
void avc_compute_av (u32 ssid , u32 tsid , u16 tclass , struct av_decision *avd , struct avc_xperms_node *xp_node );
π ARGUMENTS π
ssidβ subjecttsidβ object/targettclassβ object classavdβ access vector decisionxp_nodeβ AVC extended permissions node
π¦ DESCRIPTION π¦
okay so this is the slow-path helper function for avc_has_perm_noaudit, specifically for when the avc_node lookup fails. no cap, that's the whole vibe check.
and bestie, the page is like very serious about this part:
Don't inline this, since it's the slow-path and just results in a bigger stack frame. π
like⦠do not do it. it's giving "please respect the stack frame," fr fr.
π SEE ALSO π
the kernel file ./security/selinux/avc.c is the main character here, and the related pages are all:
avc_init(9)avc_lookup(9)avc_insert(9)avc_audit_pre_callback(9)avc_audit_post_callback(9)avc_add_callback(9)avc_update_node(9)avc_flush(9)avc_ss_reset(9)avc_perm_nonode(9)avc_has_perm_noaudit(9)avc_has_perm(9)
source/version: ./security/selinux Β· date: October 2026 Β· page: avc_compute_av(9) β ok bye bestie, slay responsibly π
β¨π«Ά
π¦ 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