Re: libkvm usage on FreeBSD

Mark Johnston <[email protected]> Sat, 13 Apr 2024 10:44:39 -0400
Newsgroups gmane.network.net-snmp.devel
Message-ID <ZhqaV5DH58gdY4of@nuc>
On Fri, Apr 12, 2024 at 03:51:51PM -0700, Bart Van Assche wrote:
> On 4/12/24 7:29 AM, Mark Johnston wrote:
> > Do you mean that on FreeBSD we should always perform an unprivileged
> > kvm_openfile() call, no matter whether --without-kmem-usage is
> > specified?
> 
> Yes, that's what I'm proposing. If someone disagrees, please share your
> opinion now.

I can't see any reason not to go ahead with that, for what it's worth.
I'm confident that none of the existing code in net-snmp needs /dev/kmem
access on FreeBSD, and it shouldn't be required by new code.