Merge "minor doc improvement for tombstone fd code" into main am: 1076e7f7a3
Original change: https://android-review.googlesource.com/c/platform/system/core/+/2976171 Change-Id: I780a2f085005c7f603b086324b3354bdde21316e Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
a1e7728329
1 changed files with 1 additions and 0 deletions
|
@ -417,6 +417,7 @@ static bool rename_tombstone_fd(borrowed_fd fd, borrowed_fd dirfd, const std::st
|
|||
return false;
|
||||
}
|
||||
|
||||
// This fd is created inside of dirfd in CrashQueue::create_temporary_file.
|
||||
std::string fd_path = StringPrintf("/proc/self/fd/%d", fd.get());
|
||||
rc = linkat(AT_FDCWD, fd_path.c_str(), dirfd.get(), path.c_str(), AT_SYMLINK_FOLLOW);
|
||||
if (rc != 0) {
|
||||
|
|
Loading…
Reference in a new issue