selinux/libselinux/utils
Christian Göttsche 494eb683f3 libselinux: add getpidprevcon
Add the public interfaces getpidprevcon(3) and getpidprevcon_raw(3), and
the utility getpidprevcon to gather the previous context before the last
exec of a given process.

Signed-off-by: Christian Göttsche <cgzones@googlemail.com>
Acked-by: Jason Zaman <jason@perfinion.com>
2023-02-10 22:23:11 -08:00
..
.gitignore libselinux: add getpidprevcon 2023-02-10 22:23:11 -08:00
Makefile libselinux: drop obsolete optimization flag 2023-02-10 22:18:46 -08: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: 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
getpidprevcon.c libselinux: add getpidprevcon 2023-02-10 22:23:11 -08: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: simplify string copying 2022-11-21 14:29:21 -05: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
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