ABI change in libkvm (kvm_uread removal)

Mikolaj Golub trociny at FreeBSD.org
Tue Jul 9 18:59:26 UTC 2013


On Tue, Jul 09, 2013 at 07:45:59PM +0200, Robert Millan wrote:
> Hi Mikolaj,
> 
> In 2011 you removed kvm_uread() from libkvm, in r227839.
> 
> Was this an intentional ABI change? I notice that kvm.h public header
> still has the declaration. Also, the soname was not bumped.

I think I thought then that kvm_uread() was for internal usage only
(it was used by libkvm only for reading process args and env via
procfs(5), no other consumers were found in base, no man page). Also
reading from procfs(5) did not look like libkvm job, so after the last
consumers had been removed, retiring it looked natural. I think I
overlooked the declaration in kvm.h and that I might break ABI,
otherwise it would have made me think more and ask other people if the
removal was ok.

> Should kvm.h and Makefile be adjusted to reflect the new ABI?

Suggestions how this should be fixed properly (if possible) are highly
appreciated. I will do what people suggest.

-- 
Mikolaj Golub


More information about the freebsd-arch mailing list