pledge add route wroute pf; NetIface: Failed to run ioctl: Function not implemented

This commit is contained in:
Charlie Root
2026-07-26 17:36:30 +00:00
parent 81085da194
commit c6cd328a7f
+1 -1
View File
@@ -115,7 +115,7 @@ namespace util
LogPrint(eLogDebug, "Use default pledge values");
// TODO: remove that not need
// proc used in daemonunix, flock used in daemonunix, unix using
pledge("stdio rpath wpath cpath inet dns unix recvfd sendfd proc error mcast chown flock",nullptr);
pledge("stdio rpath wpath cpath inet dns unix recvfd sendfd proc error mcast chown flock pf route wroute",nullptr);
} else {
std::ifstream f(pledge_file);
if(!f) {