runc/libcontainer/selinux
Eric Paris a4f3123c35 Fix thread safety of SelinuxEnabled and getSelinuxMountPoint
Both suffered from different race conditions.

SelinuxEnabled assigned selinuxEnabledChecked before selinuxEnabled.
Thus racing callers could see the wrong selinuxEnabled.

getSelinuxMountPoint assigned selinuxfs to "" before it know the right
value. Thus racing could see "" improperly.

The gate selinuxfs, enabled, and mclist all on the same lock
2016-12-06 13:50:03 -05:00
..
selinux.go Fix thread safety of SelinuxEnabled and getSelinuxMountPoint 2016-12-06 13:50:03 -05:00
selinux_test.go Add label.GetFileLabel interface 2016-04-08 13:10:37 -04:00