millert
d0d2e5a2ff
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. |
20 years ago | |
---|---|---|
src | Change pw_copy(3) to take a 3rd arguement, the existing passwd entry. | 20 years ago |