tsan: support for linux aio
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
These are functions from a non-standard library (libaio). I'm not sure we can intercept them without forcing -laio on every *san program - which is obviously unacceptable.
Note a hack in io_setup syscall handler - please reproduce it in function-level interceptors.
sanitizer_common/sanitizer_common_syscalls.inc | ||
---|---|---|
1309 | Are you sure len (which is aio_nbytes) is the number of iovec entries, and not the size of the array in bytes? | |
sanitizer_common/sanitizer_platform_limits_linux.cc | ||
73 ↗ | (On Diff #5794) | Use CHECK_TYPE_SIZE. |
sanitizer_common/sanitizer_platform_limits_posix.h | ||
120 ↗ | (On Diff #5794) | Add compile-time checks for these values. |
This is not __sanitizer_iocb. It's struct io_event.