[all-commits] [llvm/llvm-project] 037e0f: [CAS] Bypass IO sandbox in `OnDiskGraphDB::store()...
Jan Svoboda via All-commits
all-commits at lists.llvm.org
Wed Jun 10 10:26:00 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 037e0f1f7d02efd7a680236dbbcc36b779fef22a
https://github.com/llvm/llvm-project/commit/037e0f1f7d02efd7a680236dbbcc36b779fef22a
Author: Jan Svoboda <jan_svoboda at apple.com>
Date: 2026-06-10 (Wed, 10 Jun 2026)
Changed paths:
M llvm/lib/CAS/OnDiskGraphDB.cpp
Log Message:
-----------
[CAS] Bypass IO sandbox in `OnDiskGraphDB::store()` (#202760)
The sandbox is currently only bypassed in
`OnDiskGraphDB::createStandaloneLeaf()`, but the calling function
`store()` may also initiate some IO by calling `MappedTempFile::keep()`
whose parent `TempFile::keep()` calls `sys::fs::closeFile()`. Let's move
the sandbox disablement to the caller to avoid violations.
rdar://177274700
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list