From 2aef71fda0422254d3cb6fdd5332e2f12577a035 Mon Sep 17 00:00:00 2001 From: user <60944239+wipedlifepotato@users.noreply.github.com> Date: Mon, 8 Jun 2026 12:37:55 +0000 Subject: [PATCH] openbsd: unveil pidfile --- daemon/Daemon.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/daemon/Daemon.cpp b/daemon/Daemon.cpp index a7050f0e..c0cbe651 100644 --- a/daemon/Daemon.cpp +++ b/daemon/Daemon.cpp @@ -154,6 +154,7 @@ namespace util unveil(openbsd_pledge_file.c_str(), "r"); std::string tunconf ;i2p::config::GetOption("tunconf", tunconf); unveil(tunconf.c_str(), "r"); std::string conf ;i2p::config::GetOption("tunconf", conf); unveil(conf.c_str(), "r"); + std::string pidfile ;i2p::config::GetOption("pidfile", pidfile); unveil(pidfile.c_str(), "r"); if(unevil_file != "") { std::ifstream f(unevil_file);