Removed libdl and libselinux dependency for CHERI

Signed-off-by: David Brazdil <david.brazdil@gmail.com>
Fixed constant overflow reported by Clang

Signed-off-by: David Brazdil <david.brazdil@gmail.com>
Define __APPLE__ on FreeBSD OS

Signed-off-by: David Brazdil <david.brazdil@gmail.com>
Support for FreeBSD mutexes

Signed-off-by: David Brazdil <david.brazdil@gmail.com>
Definitions of missing file-manipulation functions

Signed-off-by: David Brazdil <david.brazdil@gmail.com>
Define O_LARGEFILE as 0 for FreeBSD

Signed-off-by: David Brazdil <david.brazdil@gmail.com>
Included necessary dlmalloc files from Bionic

Signed-off-by: David Brazdil <david.brazdil@gmail.com>
Removed -Werror CFLAG from ART's Makefile
Correct usage of hash_map

Signed-off-by: David Brazdil <david.brazdil@gmail.com>
C11 memory barriers

Signed-off-by: David Brazdil <david.brazdil@gmail.com>