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
Other
1.35k
stars
361
forks
source link
selinux_restorecon.c comparison between signed and unsigned integer expressions #396
selinux_restorecon.c: In function 'selinux_restorecon_common':
selinux_restorecon.c:1193:24: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
if (state.sfsb.f_type == RAMFS_MAGIC || state.sfsb.f_type == TMPFS_MAGIC ||
^~
selinux_restorecon.c: In function 'selinux_restorecon_xattr':
selinux_restorecon.c:1492:20: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
if (sfsb.f_type == RAMFS_MAGIC ||
^~
selinux_restorecon.c:1527:21: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
if (sfsb.f_type == RAMFS_MAGIC |
selinux_restorecon.c: In function 'selinux_restorecon_common': selinux_restorecon.c:1193:24: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare] if (state.sfsb.f_type == RAMFS_MAGIC || state.sfsb.f_type == TMPFS_MAGIC || ^~ selinux_restorecon.c: In function 'selinux_restorecon_xattr': selinux_restorecon.c:1492:20: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare] if (sfsb.f_type == RAMFS_MAGIC || ^~ selinux_restorecon.c:1527:21: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare] if (sfsb.f_type == RAMFS_MAGIC |