X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fshared%2Futil.h;h=c5eadc97c093c091264201c7ef330efb1549849e;hb=a1948c7bfeb87b54bc7715a44490c01593ee6e23;hp=7c9842b3e6c2dcf2f96eb84d6d1add6c39a2372a;hpb=418b9be50018303cde79b423d4701b7fd86ddbdc;p=elogind.git diff --git a/src/shared/util.h b/src/shared/util.h index 7c9842b3e..c5eadc97c 100644 --- a/src/shared/util.h +++ b/src/shared/util.h @@ -505,7 +505,7 @@ bool tty_is_console(const char *tty) _pure_; int vtnr_from_tty(const char *tty); const char *default_term_for_tty(const char *tty); -void execute_directory(const char *directory, DIR *_d, usec_t timeout, char *argv[], char *env[]); +void execute_directory(const char *directory, DIR *_d, usec_t timeout, char *argv[]); int kill_and_sigcont(pid_t pid, int sig); @@ -964,3 +964,5 @@ char *tempfn_xxxxxx(const char *p); char *tempfn_random(const char *p); bool is_localhost(const char *hostname); + +int take_password_lock(const char *root);