platform_external_selinux/libselinux
Christian Göttsche 956bda08f6
libselinux: restorecon: avoid printing NULL pointer
The variable `curcon` is NULL in case the file has no current security
context.  Most C standard libraries handle it fine, avoid it nonetheless
for standard conformance.

Signed-off-by: Christian Göttsche <cgzones@googlemail.com>
Acked-by: Nicolas Iooss <nicolas.iooss@m4x.org>
2022-06-30 21:11:01 +02:00
..
include libselinux: declare parameter of security_load_policy(3) const 2022-06-15 08:58:48 -04:00
man libselinux: declare parameter of security_load_policy(3) const 2022-06-15 08:58:48 -04:00
src libselinux: restorecon: avoid printing NULL pointer 2022-06-30 21:11:01 +02:00
utils libselinux/utils: print errno on failure 2022-05-16 10:31:15 -04:00
LICENSE initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
Makefile libselinux: use PCRE2 by default 2021-12-09 11:07:00 -05:00
VERSION Update VERSIONs to 3.4 for release. 2022-05-18 16:51:03 +02:00