This change will allow to install sysctlbyname() interceptors
more easily in sanitizers.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
| Paths 
 |  Differential  D52793  
Introduce internal_sysctlbyname in place of sysctlbyname ClosedPublic Authored by krytarowski on Oct 2 2018, 11:22 AM. 
Details Summary This change will allow to install sysctlbyname() interceptors 
Diff Detail 
 Event Timelinevitalybuka added inline comments. 
 This revision is now accepted and ready to land.Oct 4 2018, 1:27 PM 
 Closed by commit rL343840: Introduce internal_sysctlbyname in place of sysctlbyname (authored by kamil).  ·  Explain WhyOct 4 2018, 11:59 PM This revision was automatically updated to reflect the committed changes. 
Revision Contents 
 
Diff 167986 lib/sanitizer_common/sanitizer_linux.cc
 lib/sanitizer_common/sanitizer_mac.cc
 lib/sanitizer_common/sanitizer_netbsd.cc
 lib/sanitizer_common/sanitizer_posix.h
 lib/xray/xray_x86_64.cc
 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
I don't see how DEFINE_INTERNAL is helpful
the following looks better:
uptr internal_mmap(void *addr, uptr length, int prot, int flags, int fd, OFF_T offset) {
}