diff options
author | Stephen Smalley <stephen.smalley.work@gmail.com> | 2020-09-10 16:28:05 +0200 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2020-09-11 16:08:51 +0200 |
commit | e8ba53d0023a76ba0f50e6ee3e6288c5442f9d33 (patch) | |
tree | 041eb7d30a3154fc1f9f15d562a9d1e7c3b5d573 /COPYING | |
parent | selinux: simplify away security_policydb_len() (diff) | |
download | linux-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 'COPYING')
0 files changed, 0 insertions, 0 deletions