summaryrefslogtreecommitdiff
path: root/src/basic/user-util.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-10-26 19:08:09 +0100
committerLennart Poettering <lennart@poettering.net>2015-10-27 13:25:55 +0100
commite929bee09ab8000e87b7e825ed3a78d73ecdd7f0 (patch)
tree5e1fc6e11dec6ab46fb9497fb9915b65ad37d8af /src/basic/user-util.h
parentbb15fafe9cd815fe5bf9eae84c08aead2eb98fd7 (diff)
util-lib: move take_password_lock() to user-util.[ch]
Also, rename it take_etc_passwd_lock(), in order to make it more expressive.
Diffstat (limited to 'src/basic/user-util.h')
-rw-r--r--src/basic/user-util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/basic/user-util.h b/src/basic/user-util.h
index 7995698f27..4496f58ba3 100644
--- a/src/basic/user-util.h
+++ b/src/basic/user-util.h
@@ -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);