selinux/libselinux
James Carter c3ad59cc97 libselinux: Fix potential undefined shifts
An expression of the form "1 << x" is undefined if x == 31 because
the "1" is an int and cannot be left shifted by 31.

Instead, use "UINT32_C(1) << x" which will be an unsigned int of
at least 32 bits.

Signed-off-by: James Carter <jwcart2@gmail.com>
2021-10-12 13:44:55 -04:00
..
include libselinux: accept const fromcon in get_context API 2021-01-20 16:53:34 +01:00
man selinux.8: document how mount flag nosuid affects SELinux 2021-06-18 16:44:50 +02:00
src libselinux: Fix potential undefined shifts 2021-10-12 13:44:55 -04:00
utils libselinux/utils: drop requirement to combine compiling and linking 2021-09-22 12:31:53 +02:00
LICENSE initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
Makefile libselinux: do not duplicate make target when going into subdirectory 2021-04-30 21:09:22 +02:00
VERSION Update VERSIONs to 3.3-rc3 for release. 2021-10-06 13:28:15 +02:00