mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2026-08-21 19:00:49 +00:00
option for disable unveil/pledge
This commit is contained in:
+4
-2
@@ -179,8 +179,10 @@ namespace util
|
||||
#undef UNVEIL_DIR
|
||||
unveil(NULL, NULL);
|
||||
};
|
||||
init_unevil();
|
||||
init_pledge();
|
||||
bool openbsd_unevil_enabled; i2p::config::GetOption("openbsd.unevil_enabled", openbsd_unevil_enabled);
|
||||
bool openbsd_pledge_enabled; i2p::config::GetOption("openbsd.pledge_enabled", openbsd_pledge_enabled);
|
||||
if(openbsd_unevil_enabled) init_unevil();
|
||||
if(openbsd_pledge_enabled) init_pledge();
|
||||
#endif
|
||||
|
||||
i2p::config::GetOption("daemon", isDaemon);
|
||||
|
||||
Reference in New Issue
Block a user