Skip to content
Commit 257313b2 authored by Linus Torvalds's avatar Linus Torvalds
Browse files

selinux: avoid unnecessary avc cache stat hit count



There is no point in counting hits - we can calculate it from the number
of lookups and misses.

This makes the avc statistics a bit smaller, and makes the code
generation better too.

Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 044aea9b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment