On 2010/10/24 00:30, Philip Guenther wrote: > The diff below completely removes the KERN_PROC sysctl() and the > kvm_getprocs(), kvm_getargv(), and kvm_getenvv() functions. The former > has been superseded by KERN_PROC2 while the later have been superseded by > kvm_getproc2(), kvm_getargv2(), and kvm_getenvv2(). I proposed doing this > back in July and, IIRC, got mildly positive feedback. > > This mainly affects ports, so if you guys think we need to wait, please > say so. I'll note again that the whole point of the new calls is that > they are stable ABIs while the kernel changes: the ABIs for the calls > being removed changed at least once before 4.7 and again before 4.8...and > can't even get to the full process information in 4.8! > > Note that this bumps the libkvm major.
I think we already converted most ports over to using KERN_PROC2, there are some that were missed (I know net-snmp hasn't been done yet), and I think one which was imported since then which probably needs converting, I'll take a look at these. If there are just a couple of standalone ports that need fixing we can do that after committing, but some of the ports using libkvm are dependencies for large numbers of ports so please give us a bit of time to check and make sure we don't take out all of GNOME or something, I'll get back to you. sqlite> select * from wantlib where value='kvm'; databases/pg_top|kvm| devel/libgtop2|kvm| devel/py-openbsd|kvm| net/ifmcstat|kvm| net/net-snmp,-main|kvm| net/ntp|kvm| net/wide-dhcp|kvm| net/wmnet|kvm| net/wmnetload|kvm| net/zabbix,-server,mysql|kvm| net/zabbix,-server,pgsql|kvm| net/zabbix,-main|kvm| net/zabbix,-server,sqlite3|kvm| security/antisniff|kvm| sysutils/collectd,-main|kvm| sysutils/conky|kvm| sysutils/conky,no_x11|kvm| sysutils/consolekit|kvm| sysutils/dtpstree|kvm| sysutils/gkrellm/gkrellm,-main|kvm| sysutils/gkrellm/gkrellm,-client|kvm| sysutils/heartbeat,-snmp|kvm| sysutils/lsof|kvm| sysutils/monit|kvm| sysutils/p5-Proc-ProcessTable|kvm| sysutils/pscpug|kvm| sysutils/whowatch|kvm| sysutils/wmmon|kvm| sysutils/xps|kvm| x11/gdesklets|kvm| x11/gnome/applets2,-main|kvm| x11/gnome/bug-buddy|kvm| x11/gnome/controlcenter2|kvm| x11/gnome/metacity|kvm| x11/gnome/nettool|kvm| x11/gnome/py-gnome-desktop|kvm| x11/gnome/system-monitor|kvm| x11/gnome/utils|kvm| x11/kde/utils3|kvm| x11/xfce4/xfce4-systemload|kvm|
