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:
@@ -519,8 +519,6 @@ union file_handle_union {
|
||||
|
||||
int update_reboot_param_file(const char *param);
|
||||
|
||||
int take_password_lock(const char *root);
|
||||
|
||||
int is_symlink(const char *path);
|
||||
int is_dir(const char *path, bool follow);
|
||||
int is_device_node(const char *path);
|
||||
|
||||
Reference in New Issue
Block a user