Skip to content

Commit b7f9ebf

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

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
@@ -52,6 +52,7 @@ static constexpr auto stat = detail::interpose(::stat);
5252
static constexpr auto lstat = detail::interpose(::lstat);
5353
static constexpr auto fstat = detail::interpose(::fstat);
5454
static constexpr auto getcwd = detail::interpose(::getcwd);
55+
static constexpr auto realpath = detail::interpose(::realpath);
5556
} // namespace llvm
5657

5758
#endif

0 commit comments

Comments
 (0)