diff options
author | Darren Tucker <dtucker@dtucker.net> | 2022-03-26 12:49:50 +1100 |
---|---|---|
committer | Darren Tucker <dtucker@dtucker.net> | 2022-03-26 12:49:50 +1100 |
commit | 2923d026e55998133c0f6e5186dca2a3c0fa5ff5 (patch) | |
tree | 85f247a961f6f27bf53f436e74aae0b5f1c1b03f /platform.h | |
parent | d23efe4b12886ffe416be10bc0a7da6ca8aa72d1 (diff) | |
download | openssh-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.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); |