Preserve RLIMIT_CORE hard limit, and restore soft limit before exec
Closes #196.
This commit is contained in:
@@ -401,6 +401,8 @@ int run_server( const char *desired_ip, const char *desired_port,
|
||||
print_motd();
|
||||
}
|
||||
|
||||
Crypto::reenable_dumping_core();
|
||||
|
||||
if ( execvp( command_path.c_str(), command_argv ) < 0 ) {
|
||||
perror( "execvp" );
|
||||
_exit( 1 );
|
||||
|
||||
Reference in New Issue
Block a user