From: Paul F. <pa...@so...> - 2025-07-10 18:42:38
|
https://sourceware.org/cgit/valgrind/commit/?id=b88f40e6557b1f16184230d686490bcffa2bd5eb commit b88f40e6557b1f16184230d686490bcffa2bd5eb Author: Paul Floyd <pj...@wa...> Date: Thu Jul 10 20:40:43 2025 +0200 FreeBSD syscall: make syscall kenv unhandles actions a -v warning Was VG_(unimplemented) which bombs. That's a bit drastic for a syscall intented to be called directly by users. Diff: --- coregrind/m_syswrap/syswrap-freebsd.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/coregrind/m_syswrap/syswrap-freebsd.c b/coregrind/m_syswrap/syswrap-freebsd.c index 22053da7f5..e6e71c78d9 100644 --- a/coregrind/m_syswrap/syswrap-freebsd.c +++ b/coregrind/m_syswrap/syswrap-freebsd.c @@ -3708,8 +3708,10 @@ PRE(sys_kenv) case VKI_KENV_DUMP: break; default: - VG_(message)(Vg_UserMsg, "unhandled kenv cmd %" FMT_REGWORD "u", ARG1); - VG_(unimplemented) ("unhandled kenv cmd"); + if (VG_(clo_verbosity) >= 1) { + VG_(umsg)("Warning: unimplemented kenv action: %" FMT_REGWORD "d\n", + ARG1); + } break; } } |