| commit | edf3d1aecd0d608acbd561b0c527e1d41abcb657 | [log] [tgz] |
|---|---|---|
| author | Eric Paris <eparis@redhat.com> | Thu Feb 12 14:50:59 2009 -0500 |
| committer | James Morris <jmorris@namei.org> | Sat Feb 14 09:23:45 2009 +1100 |
| tree | 49d88ec27a59f602784b47e2f951934d245f7de8 | |
| parent | f1c6381a6e337adcecf84be2a838bd9e610e2365 [diff] |
SELinux: code readability with avc_cache
The code making use of struct avc_cache was not easy to read thanks to liberal
use of &avc_cache.{slots_lock,slots}[hvalue] throughout. This patch simply
creates local pointers and uses those instead of the long global names.
Signed-off-by: Eric Paris <eparis@redhat.com>
Signed-off-by: James Morris <jmorris@namei.org>