summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/tsan/rtl/tsan_fd.h
Commit message (Collapse)AuthorAgeFilesLines
* Update the file headers across all of the LLVM projects in the monorepoChandler Carruth2019-01-191-4/+3
| | | | | | | | | | | | | | | | | to reflect the new license. We understand that people may be surprised that we're moving the header entirely to discuss the new license. We checked this carefully with the Foundation's lawyer and we believe this is the correct approach. Essentially, all code in the project is now made available by the LLVM project under our new license, so you will see that the license headers include that license only. Some of our contributors have contributed code under our old license, and accordingly, we have retained a copy of our old license notice in the top-level files in each project and repository. llvm-svn: 351636
* tsan: fix handling of dup2 Dmitry Vyukov2015-06-251-2/+2
| | | | | | | | | | | | Previously tsan modelled dup2(oldfd, newfd) as write on newfd. We hit several cases where the write lead to false positives: 1. Some software dups a closed pipe in place of a socket before closing the socket (to prevent races actually). 2. Some daemons dup /dev/null in place of stdin/stdout. On the other hand we have not seen cases when write here catches real bugs. So model dup2 as read on newfd instead. llvm-svn: 240687
* [sanitizer] Intercept a bunch of stdio calls.Evgeniy Stepanov2014-04-251-2/+2
| | | | | | Add move fopen/freopen interceptors from TSan to common. llvm-svn: 207224
* tsan: detect races on fd passed to epoll_ctlDmitry Vyukov2013-01-091-0/+1
| | | | llvm-svn: 171981
* tsan: intercept fork() to prevent false race reports on fd'sDmitry Vyukov2012-12-181-0/+1
| | | | llvm-svn: 170433
* tsan: add signalfd() and inotify_init() interceptorsDmitry Vyukov2012-12-181-0/+2
| | | | llvm-svn: 170429
* tsan: describe "file descriptor" locationDmitry Vyukov2012-12-181-0/+1
| | | | llvm-svn: 170417
* tsan: synchronize connect->accept callsDmitry Vyukov2012-12-141-0/+1
| | | | llvm-svn: 170235
* tsan: add comment to tsan_fd.h fileDmitry Vyukov2012-12-121-0/+21
| | | | llvm-svn: 169973
* tsan: add missing filesDmitry Vyukov2012-12-121-0/+38
llvm-svn: 169971
OpenPOWER on IntegriCloud