mirror of
https://github.com/bitwarden/browser
synced 2026-02-10 21:50:15 +00:00
Disable anti tracing
This commit is contained in:
@@ -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
|
||||
)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user