selinux/libselinux/utils
Christian Göttsche 0c407c3f1d libselinux/utils: print errno on failure
Print error description on failure after functions known to set errno.

Also mention the library function name in getenforce, policyvers and
setenforce instead of the program name twice.

Signed-off-by: Christian Göttsche <cgzones@googlemail.com>
Acked-by: James Carter <jwcart2@gmail.com>
2022-05-16 10:31:15 -04:00
..
.gitignore libselinux: Save digest of all partial matches for directory 2019-07-27 10:39:24 +02:00
Makefile libselinux: use PCRE2 by default 2021-12-09 11:07:00 -05:00
avcstat.c libselinux: avcstat: use standard length modifier for unsigned long long 2021-05-18 10:06:22 +02:00
compute_av.c libselinux/utils: print errno on failure 2022-05-16 10:31:15 -04:00
compute_create.c libselinux/utils: print errno on failure 2022-05-16 10:31:15 -04:00
compute_member.c libselinux/utils: print errno on failure 2022-05-16 10:31:15 -04:00
compute_relabel.c libselinux/utils: print errno on failure 2022-05-16 10:31:15 -04:00
getconlist.c libselinux/utils: print errno on failure 2022-05-16 10:31:15 -04:00
getdefaultcon.c libselinux/utils: print errno on failure 2022-05-16 10:31:15 -04:00
getenforce.c libselinux/utils: print errno on failure 2022-05-16 10:31:15 -04:00
getfilecon.c libselinux/utils: print errno on failure 2022-05-16 10:31:15 -04:00
getpidcon.c libselinux/utils: print errno on failure 2022-05-16 10:31:15 -04:00
getsebool.c libselinux: getsebool: always free names 2017-04-12 14:46:02 -04:00
getseuser.c libselinux/utils/getseuser.c: fix build with gcc 4.8 2021-07-03 16:00:38 +02:00
matchpathcon.c libselinux: silence -Wextra-semi-stmt warning 2021-07-06 11:08:11 -04:00
policyvers.c libselinux/utils: print errno on failure 2022-05-16 10:31:15 -04:00
sefcontext_compile.c libselinux: sefcontext_compile: mark local variable static 2021-05-18 10:06:22 +02:00
selabel_digest.c libselinux/utils: print errno on failure 2022-05-16 10:31:15 -04:00
selabel_get_digests_all_partial_matches.c libselinux/utils: print errno on failure 2022-05-16 10:31:15 -04:00
selabel_lookup.c libselinux/utils: print errno on failure 2022-05-16 10:31:15 -04:00
selabel_lookup_best_match.c libselinux/utils: print errno on failure 2022-05-16 10:31:15 -04:00
selabel_partial_match.c libselinux/utils: print errno on failure 2022-05-16 10:31:15 -04:00
selinux_check_access.c libselinux/utils: add noreturn attribute to selinux_check_access's usage 2017-05-05 13:07:04 -04:00
selinux_check_securetty_context.c libselinux: include errno.h instead of sys/errno.h 2017-01-09 16:00:22 -05:00
selinuxenabled.c
selinuxexeccon.c libselinux/utils: check for valid contexts to improve error causes 2022-04-12 13:09:27 -04:00
setenforce.c libselinux/utils: print errno on failure 2022-05-16 10:31:15 -04:00
setfilecon.c libselinux/utils: print errno on failure 2022-05-16 10:31:15 -04:00
togglesebool.c libselinux/utils: fix all the noreturn errors 2016-11-01 17:29:49 -04:00
validatetrans.c libselinux/utils: check for valid contexts to improve error causes 2022-04-12 13:09:27 -04:00