70b9658d8c
The __atomic_* GCC primitives were introduced in GCC 4.7, but Red Hat Enterprise Linux 6.x (for example) provides GCC 4.4. Tweak the current code to use the (most conservative) __sync_synchronize() primitive provided by those older GCC versions. Fixes https://github.com/SELinuxProject/selinux/issues/97 (Really, no __atomic or __sync operations are needed here at all, since POSIX 4.12 "Memory Synchronization" says pthread_mutex_lock() and pthread_mutex_unlock() "synchronize memory with respect to other threads"...) |
||
---|---|---|
.. | ||
include | ||
man | ||
src | ||
utils | ||
LICENSE | ||
Makefile | ||
VERSION |