On Tue Mar 25 11:21:48 2025 +0000, Jinoh Kang wrote:
checking at compile time against `sys/syscall.h` will be sufficient
here I would guess. It's not in `sys/syscall.h`. thread_set_tsd_base() is a machdep syscall.
Ah interesting that it is machdep syscall and not a unix syscall, but that does make sense. In that case checking against the machine code is probably the best option like you suggested.