No description
f978b1b071
Building from the root directory with "make DEBUG=1" enables -Wshadow option. This makes the compilation fails with the following error: cc -g3 -O0 -gdwarf-2 -fno-strict-aliasing -Wall -Wshadow -Werror -g -I/usr/include -DPACKAGE="\"policycoreutils\"" -Wall -Werror -Wextra -W -c -o seunshare.o seunshare.c seunshare.c: In function 'spawn_command': seunshare.c:141:6: error: declaration of 'child' shadows a global declaration [-Werror=shadow] int child; ^ seunshare.c:58:12: error: shadowed declaration is here [-Werror=shadow] static int child = 0; ^ Fix this error by renaming the "child" variable in spawn_command. 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.