diff options
| author | Paul Moore <pmoore@redhat.com> | 2013-12-03 11:36:11 -0500 |
|---|---|---|
| committer | Moyster <oysterized@gmail.com> | 2019-07-06 11:57:57 +0200 |
| commit | 10de62e822f4717f116540f6d9563c145933dbd8 (patch) | |
| tree | 59db09080626c82279c7931fd4f978da4fee4d21 /scripts/checkpatch.pl | |
| parent | cc798e3246f59b365b63788c084601bde0159371 (diff) | |
selinux: ensure that the cached NetLabel secattr matches the desired SID
In selinux_netlbl_skbuff_setsid() we leverage a cached NetLabel
secattr whenever possible. However, we never check to ensure that
the desired SID matches the cached NetLabel secattr. This patch
checks the SID against the secattr before use and only uses the
cached secattr when the SID values match.
Change-Id: I25332c6fe00da1e1317c1de56386fa78fd8bb3f9
Signed-off-by: Paul Moore <pmoore@redhat.com>
Diffstat (limited to 'scripts/checkpatch.pl')
0 files changed, 0 insertions, 0 deletions
