From 2923d026e55998133c0f6e5186dca2a3c0fa5ff5 Mon Sep 17 00:00:00 2001 From: Darren Tucker Date: Sat, 26 Mar 2022 12:49:50 +1100 Subject: Factor out platform-specific locked account check. Also fixes an incorrect free on platforms with both libiaf and shadow passwords (probably only Unixware). Prompted by github PR#284, originally from @c3h2_ctf and stoeckmann@. --- platform.h | 1 + 1 file changed, 1 insertion(+) (limited to 'platform.h') diff --git a/platform.h b/platform.h index ea4f9c58..98c48da4 100644 --- a/platform.h +++ b/platform.h @@ -28,6 +28,7 @@ void platform_setusercontext(struct passwd *); void platform_setusercontext_post_groups(struct passwd *); char *platform_get_krb5_client(const char *); char *platform_krb5_get_principal_name(const char *); +int platform_locked_account(struct passwd *) int platform_sys_dir_uid(uid_t); void platform_disable_tracing(int); -- cgit v1.2.1