1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-10 21:50:15 +00:00

Disable anti tracing

This commit is contained in:
Bernd Schoolmann
2025-11-13 20:53:08 +01:00
parent c32dee13ca
commit 4907483e4d

View File

@@ -13,9 +13,11 @@ pub fn isolate_process() -> Result<()> {
let pid: u32 = std::process::id();
info!(pid, "Isolating main process via DACL.");
secmem_proc::harden_process().map_err(|e| {
let mut conf = Config::DEFAULT;
conf.set_anti_tracing(false);
conf.harden_process().map_err(|e| {
anyhow::anyhow!(
"failed to isolate process, memory may be accessible by other processes {}",
"failed to disable memory dumping, memory may be accessible by other processes {}",
e
)
})