Add new interceptors: access(2), faccessat(2)
authorKamil Rytarowski <n54@gmx.com>
Thu, 18 Jan 2018 11:04:25 +0000 (11:04 +0000)
committerKamil Rytarowski <n54@gmx.com>
Thu, 18 Jan 2018 11:04:25 +0000 (11:04 +0000)
commit26370ddcd7327a430543f57281978a4d974e456d
tree55d4b4d4114b19dca8c0f5fa0c82afacc7cb4383
parente5499111b94f0306a62ffa764cf9414e98300a2c
Add new interceptors: access(2), faccessat(2)

Summary:
access, faccessat - check access permissions of a file or pathname

Sponsored by <The NetBSD Foundation>

Reviewers: joerg, vitalybuka

Reviewed By: vitalybuka

Subscribers: llvm-commits, kubamracek, #sanitizers

Tags: #sanitizers

Differential Revision: https://reviews.llvm.org/D42065

llvm-svn: 322831
compiler-rt/lib/sanitizer_common/sanitizer_common_interceptors.inc
compiler-rt/lib/sanitizer_common/sanitizer_platform_interceptors.h
compiler-rt/test/sanitizer_common/TestCases/NetBSD/access.cc [new file with mode: 0644]
compiler-rt/test/sanitizer_common/TestCases/NetBSD/faccessat.cc [new file with mode: 0644]