summaryrefslogtreecommitdiffstats
path: root/lib/libutil/check_expire.c
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2004-04-20 23:20:07 +0000
committermillert <millert@openbsd.org>2004-04-20 23:20:07 +0000
commit46bc4394b6cf452aa91b396164558f99e4875e17 (patch)
tree31df857047437f58a598270b99522ae61e10a579 /lib/libutil/check_expire.c
parentadd back manpage that was forgotten during the switch, catched by and ok theo (diff)
downloadwireguard-openbsd-46bc4394b6cf452aa91b396164558f99e4875e17.tar.xz
wireguard-openbsd-46bc4394b6cf452aa91b396164558f99e4875e17.zip
Change pw_copy(3) to take a 3rd arguement, the existing passwd entry.
This allows an application to only update a password entry if it is in the state it expects. Additionally, if the old passwd struct is specified the new one may have a different pw_name field since matching is done on the original. Adapted from FreeBSD.
Diffstat (limited to 'lib/libutil/check_expire.c')
0 files changed, 0 insertions, 0 deletions