summaryrefslogtreecommitdiff
path: root/platform.h
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@dtucker.net>2022-03-26 12:49:50 +1100
committerDarren Tucker <dtucker@dtucker.net>2022-03-26 12:49:50 +1100
commit2923d026e55998133c0f6e5186dca2a3c0fa5ff5 (patch)
tree85f247a961f6f27bf53f436e74aae0b5f1c1b03f /platform.h
parentd23efe4b12886ffe416be10bc0a7da6ca8aa72d1 (diff)
downloadopenssh-git-2923d026e55998133c0f6e5186dca2a3c0fa5ff5.tar.gz
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@.
Diffstat (limited to 'platform.h')
-rw-r--r--platform.h1
1 files changed, 1 insertions, 0 deletions
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);