Re: [PATCH] selinux: access policycaps with READ_ONCE/WRITE_ONCE

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Sep 10, 2020 at 10:28 AM Stephen Smalley
<stephen.smalley.work@xxxxxxxxx> wrote:
>
> 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@xxxxxxxxx>
> ---
>  security/selinux/include/security.h | 14 +++++++-------
>  security/selinux/ss/services.c      |  3 ++-
>  2 files changed, 9 insertions(+), 8 deletions(-)

Merged into selinux/next, thanks.

-- 
paul moore
www.paul-moore.com



[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux