Functions | |
| static bool | is_system_unit (const std::string &unit_name) |
| static bool | run_cmd (const std::vector< std::string > &argv, bool silence_stderr=true, bool capture_stdout=false, std::string *out_stdout=nullptr) |
| static bool | pkexec_servicectl (const std::vector< std::string > &args, bool silence_stderr=false) |
| static std::string | get_user_intercept_ca_path () |
| static std::string | get_system_fallback_ca_path () |
| static std::string | resolve_ca_path () |
Variables | |
| const std::string | FLAG_DIR = Glib::get_user_config_dir() + "/BastionGuard" |
| const std::string | FLAG_FILE = FLAG_DIR + "/first-run-services-done" |
| const std::string | CONFIG_DIR = Glib::get_user_config_dir() + "/BastionGuard" |
| const std::string | CONFIG_FILE = CONFIG_DIR + "/config.json" |
| const std::set< std::string > | SYSTEM_UNITS |
| static constexpr const char * | CA_HELPER |
|
static |
Definition at line 124 of file first-run-services-window.cpp.
References get_system_fallback_ca_path().
Referenced by get_system_fallback_ca_path(), and resolve_ca_path().
|
static |
Definition at line 117 of file first-run-services-window.cpp.
References get_user_intercept_ca_path().
Referenced by get_user_intercept_ca_path(), and resolve_ca_path().
|
static |
Definition at line 65 of file first-run-services-window.cpp.
References is_system_unit(), and SYSTEM_UNITS.
Referenced by is_system_unit().
|
static |
Definition at line 105 of file first-run-services-window.cpp.
References pkexec_servicectl(), and run_cmd().
Referenced by pkexec_servicectl().
|
static |
Definition at line 129 of file first-run-services-window.cpp.
References get_system_fallback_ca_path(), get_user_intercept_ca_path(), and resolve_ca_path().
Referenced by install_ca_nss_user(), install_ca_system(), and resolve_ca_path().
|
static |
Definition at line 70 of file first-run-services-window.cpp.
References run_cmd().
Referenced by install_ca_nss_user(), install_ca_system(), pkexec_servicectl(), and run_cmd().
|
staticconstexpr |
Definition at line 62 of file first-run-services-window.cpp.
Referenced by install_ca_system().
| const std::string anonymous_namespace{first-run-services-window.cpp}::CONFIG_DIR = Glib::get_user_config_dir() + "/BastionGuard" |
Definition at line 48 of file first-run-services-window.cpp.
Referenced by ensure_config_dir().
| const std::string anonymous_namespace{first-run-services-window.cpp}::CONFIG_FILE = CONFIG_DIR + "/config.json" |
Definition at line 49 of file first-run-services-window.cpp.
Referenced by save_config().
| const std::string anonymous_namespace{first-run-services-window.cpp}::FLAG_DIR = Glib::get_user_config_dir() + "/BastionGuard" |
Definition at line 45 of file first-run-services-window.cpp.
Referenced by ensure_flag_dir().
| const std::string anonymous_namespace{first-run-services-window.cpp}::FLAG_FILE = FLAG_DIR + "/first-run-services-done" |
Definition at line 46 of file first-run-services-window.cpp.
Referenced by touch_flag_file().
| const std::set<std::string> anonymous_namespace{first-run-services-window.cpp}::SYSTEM_UNITS |
Definition at line 51 of file first-run-services-window.cpp.
Referenced by is_system_unit().