[PATCH] D48250: [sanitizer_common] Use O_TRUNC for WrOnly access mode.

Rainer Orth via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 25 07:04:00 PDT 2018


Kamil Rytarowski <n54 at gmx.com> writes:

> For your interest, I will be switching NetBSD away from
> syscall(2)/__syscall(2), whenever possible to plain libc calls.

Interesting.

> The indirect syscall approach isn't reliable and portable for all of the
> supported CPUs, ABIs and system calls.

There are similar differences between Solaris/SPARC and x86 mandated by
the underlying ABIs.  A total mess indeed.


More information about the llvm-commits mailing list