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 and patches should be submitted to selinux@vger.kernel.org
When I try to compile libselinux-3.7 on i386, I get errors:
selinux_restorecon.c: In function 'selinux_restorecon_common':
selinux_restorecon.c:1194:31: error: comparison of integer expressions of different signedness: '__fsword_t' {aka 'int'} and 'unsigned int' [-Werror=sign-compare]
1194 | if (state.sfsb.f_type == RAMFS_MAGIC || state.sfsb.f_type == TMPFS_MAGIC ||
| ^~
selinux_restorecon.c: In function 'selinux_restorecon_xattr':
selinux_restorecon.c:1493:41: error: comparison of integer expressions of different signedness: '__fsword_t' {aka 'int'} and 'unsigned int' [-Werror=sign-compare]
1493 | if (sfsb.f_type == RAMFS_MAGIC ||
| ^~
selinux_restorecon.c:1528:49: error: comparison of integer expressions of different signedness: '__fsword_t' {aka 'int'} and 'unsigned int' [-Werror=sign-compare]
1528 | if (sfsb.f_type == RAMFS_MAGIC ||
| ^~
cc1: all warnings being treated as errors
make[2]: *** [Makefile:176: selinux_restorecon.o] Error 1
make[2]: *** Waiting for unfinished jobs....
cc1: all warnings being treated as errors
(For now, I'm working around it by removing -Werror from src/Makefile.)
When I try to compile libselinux-3.7 on i386, I get errors:
(For now, I'm working around it by removing
-Werror
fromsrc/Makefile
.)