mirror of
https://github.com/SELinuxProject/selinux
synced 2025-01-20 12:30:45 +00:00
398d2ceef9
Musl recently added a wrapper for gettid() syscall. There is no way to detect this new version in a reliable way, so rename our gettid() wrapper to a non-conflicting name. Introduce a new function which, when using a libc known to provide a wrapper for gettid(), calls it, and which, otherwise, performs the syscall directly. Anyway this function is only used on systems where /proc/thread-self does not exist, which are therefore running Linux<3.17. Fixes: https://github.com/SELinuxProject/selinux/issues/282 Signed-off-by: Nicolas Iooss <nicolas.iooss@m4x.org> Acked-by: Petr Lautrbach <plautrba@redhat.com> |
||
---|---|---|
.. | ||
include | ||
man | ||
src | ||
utils | ||
LICENSE | ||
Makefile | ||
VERSION |