From: Paul Floyd Date: Thu, 10 Jul 2025 18:40:43 +0000 (+0200) Subject: FreeBSD syscall: make syscall kenv unhandles actions a -v warning X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b88f40e6557b1f16184230d686490bcffa2bd5eb;p=thirdparty%2Fvalgrind.git 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 --git a/coregrind/m_syswrap/syswrap-freebsd.c b/coregrind/m_syswrap/syswrap-freebsd.c index 22053da7f..e6e71c78d 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; } }