Skip to content

Commit 5bb36f7

Browse files
committed
[llvm][clang] Sandbox IO operations (getcwd)
1 parent bc08652 commit 5bb36f7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/lib/Support/IOSandboxInternal.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ static constexpr auto readdir = detail::interpose(::readdir);
5151
static constexpr auto stat = detail::interpose(::stat);
5252
static constexpr auto lstat = detail::interpose(::lstat);
5353
static constexpr auto fstat = detail::interpose(::fstat);
54+
static constexpr auto getcwd = detail::interpose(::getcwd);
5455
} // namespace llvm
5556

5657
#endif

0 commit comments

Comments
 (0)