[PATCH] D44713: Unsubmitted part of D44599
Vitaly Buka via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 22 10:48:49 PDT 2018
vitalybuka added inline comments.
================
Comment at: lib/sanitizer_common/sanitizer_linux.cc:412
#if SANITIZER_USES_CANONICAL_LINUX_SYSCALLS || SANITIZER_OPENBSD
- return internal_syscall(SYSCALL(renameat), AT_FDCWD, (uptr)oldpath, AT_FDCWD,
- (uptr)newpath);
+ return internal_syscall_ptr(SYSCALL(renameat), AT_FDCWD, (uptr)oldpath,
+ AT_FDCWD, (uptr)newpath);
----------------
vitalybuka wrote:
> it's int on OpenBSD as well https://github.com/openbsd/src/blob/master/sys/sys/syscall.h
>> it's int on OpenBSD as well
>> https://github.com/openbsd/src/blob/master/sys/sys/syscall.h
What do you think about this one?
https://reviews.llvm.org/D44713
More information about the llvm-commits
mailing list