Merge branch 'dont-limit-coredump' into 'main'

remove manual limitation of coredump size

Closes #598

See merge request tpo/core/arti!757
This commit is contained in:
Nick Mathewson 2022-10-05 16:54:47 +00:00
commit 068b4d944e
3 changed files with 0 additions and 6 deletions

1
Cargo.lock generated
View File

@ -230,7 +230,6 @@ dependencies = [
"futures",
"pin-project",
"rand 0.8.5",
"rlimit",
"serde",
"tokio",
"tor-checkable",

View File

@ -27,7 +27,6 @@ config = { version = "0.13", default-features = false }
futures = "0.3.14"
pin-project = "1"
rand = "0.8"
rlimit = "0.8.3"
serde = { version = "1.0.103", features = ["derive"] }
tokio = { version = "1.7", features = ["signal", "macros"] }
tor-checkable = { path = "../tor-checkable", version = "0.3.0", features = ["experimental-api"] }

View File

@ -43,10 +43,6 @@ pub(crate) fn enable_process_hardening() -> anyhow::Result<()> {
return Ok(());
}
#[cfg(unix)]
rlimit::setrlimit(rlimit::Resource::CORE, 0, 0)
.context("Problem while disabling core dumps")?;
secmem_proc::harden_process_std_err().context("Problem while hardening process")?;
Ok(())