platform_external_selinux/libselinux
Stephen Smalley 2c0b12699d sefcontext_compile: do not fail silently
sefcontext_compile was failing silently on various error paths.
Generate a suitable error message to stderr for each error.

Before:
$ sefcontext_compile /path/to/unwritabledirectory/file_contexts
<no output, although non-zero exit status>

After:
$ sefcontext_compile /path/to/unwritabledirectory/file_contexts
sefcontext_compile: mkstemp /path/to/unwritabledirectory/file_contexts.binNmQJqa failed: Permission denied

Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
2016-09-26 15:25:12 -04:00
..
include libselinux: Add function to find security.restorecon_last entries 2016-09-26 14:05:54 -04:00
man libselinux: Add function to find security.restorecon_last entries 2016-09-26 14:05:54 -04:00
src libselinux: add ifdef'ing for ANDROID and BUILD_HOST 2016-09-26 15:15:31 -04:00
utils sefcontext_compile: do not fail silently 2016-09-26 15:25:12 -04:00
ChangeLog Updated libselinux ChangeLog 2016-09-26 15:19:34 -04:00
LICENSE initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
Makefile libselinux: add support for pcre2 2016-09-15 13:49:14 -04:00
VERSION Update ChangeLog and VERSION for final release 2016-02-23 11:31:41 -05:00