/* See LICENSE file for copyright and license details. */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include "arg.h" #ifndef RETRY_SLEEP # define RETRY_SLEEP 1 #endif #define EXIT_ERROR 125 #define EXIT_EXEC 126 #define EXIT_NOENT 127 #if defined(__GNUC__) # define NORETURN __attribute__((__noreturn__)) #else # define NORETURN #endif extern char *command_str; NORETURN void usage(void); void parse_cmdline(int argc, char **argv); char *get_user_and_host(const char *prefix, const char *suffix); int check_passphrase(const char *passphrase, void (*block_callback)(void)); void start_gasroot_setuid(char **argv); void wipe_(void *textptr); static inline void wipe(char *text) { wipe_(&text); }