summaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorStephen Smalley <stephen.smalley.work@gmail.com>2020-09-10 16:28:05 +0200
committerPaul Moore <paul@paul-moore.com>2020-09-11 16:08:51 +0200
commite8ba53d0023a76ba0f50e6ee3e6288c5442f9d33 (patch)
tree041eb7d30a3154fc1f9f15d562a9d1e7c3b5d573 /block
parentselinux: simplify away security_policydb_len() (diff)
downloadlinux-e8ba53d0023a76ba0f50e6ee3e6288c5442f9d33.tar.xz
linux-e8ba53d0023a76ba0f50e6ee3e6288c5442f9d33.zip
selinux: access policycaps with READ_ONCE/WRITE_ONCE
Use READ_ONCE/WRITE_ONCE for all accesses to the selinux_state.policycaps booleans to prevent compiler mischief. Signed-off-by: Stephen Smalley <stephen.smalley.work@gmail.com> Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions