selinux/libselinux/utils
Christian Göttsche 674470fd89 libselinux/utils: update getdefaultcon
* mention -r <role> and -v command line options in usage string
* use distinct error messages on getseuser(3) and
  get_default_context_with_[role]level(3) failure
* always print program name on error
* drop unnecessary double parenthesis

Signed-off-by: Christian Göttsche <cgzones@googlemail.com>
Acked-by: James Carter <jwcart2@gmail.com>
2023-11-07 16:27:27 -05:00
..
.gitignore libselinux/utils: introduce getpolicyload 2023-08-04 13:55:55 -04: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: support objname in compute_create 2022-10-13 11:23:41 -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: update getdefaultcon 2023-11-07 16:27:27 -05: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
getpidprevcon.c libselinux: add getpidprevcon 2023-02-10 22:23:11 -08:00
getpolicyload.c libselinux/utils: introduce getpolicyload 2023-08-04 13:55:55 -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
Makefile libselinux: drop obsolete optimization flag 2023-02-10 22:18:46 -08: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: use correct type for backend argument 2023-10-11 15:01:15 -04:00
selabel_get_digests_all_partial_matches.c libselinux/utils: drop include of internal header file 2023-10-11 15:07:37 -04:00
selabel_lookup_best_match.c libselinux: simplify string copying 2022-11-21 14:29:21 -05:00
selabel_lookup.c libselinux/utils: use correct type for backend argument 2023-10-11 15:01:15 -04:00
selabel_partial_match.c libselinux/utils: update selabel_partial_match 2023-10-11 14:57:17 -04:00
selinux_check_access.c libselinux/utils: use type safe union assignment 2023-10-11 15:00:16 -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
validatetrans.c libselinux/utils: check for valid contexts to improve error causes 2022-04-12 13:09:27 -04:00