summaryrefslogtreecommitdiff
path: root/include/linux/pgalloc.h
diff options
context:
space:
mode:
authorStephen Smalley <stephen.smalley.work@gmail.com>2026-04-10 22:29:50 +0300
committerPaul Moore <paul@paul-moore.com>2026-04-29 01:13:58 +0300
commitf92d542577db878acfd21cc18dab23d03023b217 (patch)
tree9389026788b522aa6795b8aaa8e897840d3de5ff /include/linux/pgalloc.h
parent1e5a8eed7821e7a43a31b4c1b3675a91be6bc6f6 (diff)
downloadlinux-f92d542577db878acfd21cc18dab23d03023b217.tar.xz
selinux: fix avdcache auditing
The per-task avdcache was incorrectly saving and reusing the audited vector computed by avc_audit_required() rather than recomputing based on the currently requested permissions and distinguishing the denied versus allowed cases. As a result, some permission checks were not being audited, e.g. directory write checks after a previously cached directory search check. Cc: stable@vger.kernel.org Fixes: dde3a5d0f4dce ("selinux: move avdcache to per-task security struct") Signed-off-by: Stephen Smalley <stephen.smalley.work@gmail.com> [PM: line wrap tweaks] Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'include/linux/pgalloc.h')
0 files changed, 0 insertions, 0 deletions