mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-02-10 08:46:58 +08:00
only enforce undumpable if we are not debugging
This commit is contained in:
@@ -550,7 +550,8 @@ void vpn_server(struct worker_st *ws)
|
||||
|
||||
/* do not allow this process to be traced. That
|
||||
* prevents worker processes tracing each other. */
|
||||
pr_set_undumpable("worker");
|
||||
if (ws->config->debug == 0)
|
||||
pr_set_undumpable("worker");
|
||||
if (ws->config->isolate != 0) {
|
||||
ret = disable_system_calls(ws);
|
||||
if (ret < 0) {
|
||||
|
||||
Reference in New Issue
Block a user