305701c6378069c56aed0b6b0dc0124034230915
Instead of using a documented and official API to get information related to a network interface, the old implementation uses kvm library to access kernel memory directly, which is not easy to understand and can be easily broken by changing kernel symbols or structs. Besides, FreeBSD 11 hides severai required kernel struct definitions from userspace programs, which causes compilation error because the definition of 'struct ifaddr' is not available unless _KERNEL is defined. This patch is primarily authored by Gleb Smirnoff <glebius@FreeBSD.org>, with other simple modification made by Antoine Brodin <antoine@FreeBSD.org>, Koop Mast <kwm@FreeBSD.org> and Ting-Wei Lan <lantw@src.gnome.org> applied. It was first submitted to FreeBSD ports and has been used by FreeBSD users for more than 18 months on all supported versions of FreeBSD. https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194187 https://svnweb.freebsd.org/changeset/ports/371082 https://github.com/freebsd/freebsd-ports-gnome/commit/be884cd https://github.com/freebsd/freebsd-ports-gnome/commit/422a418 https://github.com/freebsd/freebsd-ports-gnome/commit/a4b1913 https://bugzilla.gnome.org/show_bug.cgi?id=770165
LATEST NEWS: =========== Please look also in the file 'NEWS' for latest news. Martin ChangeLogs: ========== LibGTop has many ChangeLogs files. The following files are the the most important : - ChangeLog is the main ChangeLog. - sysdeps/<arch>/ChangeLog is the ChangeLog for arch specific changes. - sysdeps/common/ChangeLog is the ChangeLog for common changes (shared implementation between archs). Benoît
Description
Languages
C
87.9%
Shell
6.9%
M4
2.7%
Makefile
1.1%
Perl
0.9%
Other
0.5%