mirror of
https://github.com/topjohnwu/selinux.git
synced 2024-11-28 14:00:45 +00:00
This is the upstream repository for the Security Enhanced Linux (SELinux) userland libraries and tools. The software provided by this project complements the SELinux features integrated into the Linux kernel and is used by Linux distributions. All bugs an
3642a57cd0
log_err, cil_printf and cil_println use printf formats to process their arguments. Use __attribute__((format(printf,...))) to make "gcc -Wformat -Wformat-security" detect issues. This detected this issue several times on a x86_64 system: format '%lx' expects argument of type 'long unsigned int', but argument has type 'uint32_t' Fix this by introducing an explicit cast to unsigned long. While at it, constify the format string argument of each function. Acked-by: Steve Lawrence <slawrence@tresys.com> |
||
---|---|---|
checkpolicy | ||
libselinux | ||
libsemanage | ||
libsepol | ||
policycoreutils | ||
scripts | ||
sepolgen | ||
.gitignore | ||
Makefile | ||
README |
To build and install everything under a private directory, run: make DESTDIR=~/obj install install-pywrap To install as the default system libraries and binaries (overwriting any previously installed ones - dangerous!), on x86_64, run: make LIBDIR=/usr/lib64 SHLIBDIR=/lib64 install install-pywrap relabel or on x86 (32-bit), run: make install install-pywrap relabel This may render your system unusable if the upstream SELinux userspace lacks library functions or other dependencies relied upon by your distribution. If it breaks, you get to keep both pieces.