[Bug 278566] devel/valgrind: __sysctlbyname looks like false positive detect
Date: Wed, 24 Apr 2024 20:13:07 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278566 --- Comment #8 from Paul Floyd <pjfloyd@wanadoo.fr> --- (In reply to Ivan Rozhuk from comment #7) It would make the code too complex. Using the version macros as it is, I think, is of dubious value. It's the way it's been done since the beginning for Darwin and FreeBSD so I'll stick with that for now. In general having a syscall wrapper on a system that doesn't have that syscall isn't a problem - normally the syscall will never get called (or at least very rarely, I have seen cases where developers probe for syscalls by making invalid calls and then checking for ENOSYS or EINVAL). -- You are receiving this mail because: You are the assignee for the bug.