Classes | |
| struct | Result |
Functions | |
| bool | exists_on_path (const std::string &name) |
| Result | run (const std::vector< std::string > &args, bool merge_stderr=false, std::size_t limit=8U *1024U *1024U, const std::map< std::string, std::string > &environment={}, const std::function< bool(const std::string &)> &on_line={}) |
|
inline |
Definition at line 30 of file SafeProcess.hpp.
References exists_on_path().
Referenced by exists_on_path(), has_in_path(), isClamdInstalled(), FirewallDetector::isFirewalldPresent(), FirewallDetector::isUfwPresent(), and reexec_inside_bwrap_with_custom_dns().
|
inline |
Definition at line 53 of file SafeProcess.hpp.
References run().
Referenced by anonymous_namespace{SettingsPage.cpp}::atomic_install_with_pkexec(), SettingsPage::build_antiphish_tab(), SettingsPage::build_email_security_tab(), SettingsPage::build_options_tab(), SettingsPage::build_proxy_bypass_tab(), SettingsPage::build_secure_payments_tab(), SettingsPage::build_whitelist_tab(), CaInstaller::ca_fingerprint(), can_bind_privileged_ports(), check_service_active(), UpdatePage::checkServiceStatus(), clamdscan_running(), BastionGuard::wizard::WizardWindow::configure_browser_doh(), BastionGuard::wizard::WizardWindow::configure_dnsmasq(), copy_with_pkexec(), detect_desktop_user_logind(), detect_desktop_user_who(), detect_distro(), detect_webserver(), PacManager::disable_gnome(), PacManager::disable_kde(), PacManager::disable_xfce(), Backend::disableClamonacc(), PacManager::enable_gnome(), PacManager::enable_kde(), PacManager::enable_xfce(), Backend::enableClamonacc(), Backend::enablePhishAutoUpdate(), findClamonaccService(), Backend::getClamonaccLogs(), Backend::getOnAccessEvents(), BrowserProxy::install_ca_firefox_profile(), BrowserProxy::install_ca_nssdb(), anonymous_namespace{BastionGuard-mailproxy.cpp}::install_cert_in_thunderbird(), install_to_system_data(), installPackages(), PrivacyPage::is_daemon_active(), Backend::isAntiphishActive(), Backend::isAntiransomActive(), Backend::isClamonaccActive(), Backend::isPhishAutoUpdateEnabled(), Backend::isSambaScanRunning(), anonymous_namespace{SettingsPage.cpp}::isServiceActive(), main(), BrowserProxy::nss_contains_ca(), SettingsPage::onAntiphishToggled(), SettingsPage::onAntiransomToggled(), UpdatePage::onSaneAutoToggled(), UpdatePage::onServiceToggled(), UpdatePage::onUpdateClicked(), reload_clamav_service(), Backend::reload_dnsmasq(), BastionGuard::DnsmasqBackend::reload_dnsmasq(), anonymous_namespace{BankPage.cpp}::restart_cef_service_user(), restart_clamd(), restart_service(), run(), CaInstaller::run(), ProxyConfig::run(), anonymous_namespace{wizard_setup.cpp}::run_capture(), anonymous_namespace{SettingsPage.cpp}::run_cmd(), anonymous_namespace{wizard_setup.cpp}::run_cmd_capture(), BastionGuard::wizard::WizardWindow::run_enable_user_agents(), run_trigger_cmd(), run_user_servicectl(), SaneSecurityUpdater::runHeadless(), SettingsPage::saveScannerConfig(), Backend::scanSambaDir(), BastionGuard::wizard::setup_firewall_ports(), Backend::start_antiphish(), Backend::start_antiransom(), BastionGuard::wizard::WizardWindow::start_execution(), PrivacyPage::start_privacy_daemon(), Backend::stop_antiphish(), Backend::stop_antiransom(), update_ports_in_file(), update_webserver_ports(), Backend::updatePhishLists(), UpdatePage::updateSaneSecurity(), Backend::updateSanesecurityDB(), Backend::updateYaraRules(), and write_temp_script_and_elevate().