Merge in SNORT/snort3 from ~YVELYKOZ/snort3:compl_fix to master
Squashed commit of the following:
commit
fa8992e8308a8ba6c759ac1ed355285a300923a6
Author: Yehor Velykozhon <yvelykoz@cisco.com>
Date: Fri Jun 7 12:41:04 2024 +0300
utils: remove duplication of definition
Definition is moved to src/main/process.cc.
Thanks to xxxx81 for reporting the issue.
return true;
}
-#if defined(NOCOREFILE)
-void SetNoCores()
-{
- struct rlimit rlim;
-
- getrlimit(RLIMIT_CORE, &rlim);
- rlim.rlim_max = 0;
- setrlimit(RLIMIT_CORE, &rlim);
-}
-#endif
-
namespace snort
{
const char* get_error(int errnum)