util-lib: move take_password_lock() to user-util.[ch]

Also, rename it take_etc_passwd_lock(), in order to make it more
expressive.
This commit is contained in:
Lennart Poettering
2015-10-27 13:25:55 +01:00
parent bb15fafe9c
commit e929bee09a
6 changed files with 46 additions and 44 deletions
+2
View File
@@ -52,3 +52,5 @@ int get_home_dir(char **ret);
int get_shell(char **_ret);
int reset_uid_gid(void);
int take_etc_passwd_lock(const char *root);