https://bugs.kde.org/show_bug.cgi?id=433439
--- Comment #6 from Paul Floyd <pjfl...@wanadoo.fr> --- For sysctl the problem is that I created separate patches for include and coregrind (patch 12) The definition is Int VG_(sysctl)(Int *name, UInt namelen, void *oldp, SizeT *oldlenp, const void *newp, SizeT newlen) { SysRes res; # if defined(VGO_darwin) || defined(VGO_freebsd) res = VG_(do_syscall6)(__NR___sysctl, (UWord)name, namelen, (UWord)oldp, (UWord)oldlenp, (UWord)newp, newlen); # else res = VG_(mk_SysRes_Error)(VKI_ENOSYS); # endif return sr_isError(res) ? -1 : sr_Res(res); } It is only called by FreeBSD and Darwin. On other platforms it should never be called and returns an error. The calls that I see to this function are: 2 for Darwin in void VG_(print_preamble)(Bool logging_to_fd), m_libcprint.c lines 297 and 299, both with a MNULL newp. 3 for FreeBSD, read_and_set_osrel() readelf.c line 1177 and 2 in m_libcproc.c, VG_(sysctlbyname)() lines 1151 and 1155. -- You are receiving this mail because: You are watching all bug changes.