| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
This reverts commit 2229253e11ae5c729a703f0c72e006f46746c592.
|
|
|
|
| |
This reverts commit ea08151ae6582a438db76b738293a0194c964b88.
|
|
|
|
| |
This reverts commit 30bf8d04183c26ca48c6cd4efe4c24058a082783.
|
|
|
|
| |
This reverts commit 7e214414bf23d1ea34e7fdccb17a7f41040ffea9.
|
| |
|
|
|
|
|
|
| |
by using sysctl instead of kvm_nlist
Co-authored-by: jasper <jasper@openbsd.org>
|
| |
|
| |
|
|
|
|
|
|
| |
Finalize(hopefully) procmap.c fix
copy stub procio.c to fix compile errors
undo rb workaround
|
|
|
|
|
|
| |
I think this is the closest i've gotten to a version that both compiles and links.
However it doesn't compile, so im not sure.
I might undo all of this, not sure yet.
|
|
|
|
| |
Commit acinclude getmntinfo workaround
|
| |
|
| |
|
| |
|
|
|
|
| |
This reverts commit 9e62440b314fbf87bbeca865a4223311314c52a3.
|
|
|
|
| |
This reverts commit 9cbb3b91f11ad0c4944a1428d609201c054cffab.
|
|
|
|
| |
This reverts commit 7396970afe2290488fd072612a650353dd13a16d.
|
|
|
|
| |
This reverts commit e9da95977365731a8f921f2d23b943036bf8f3d5.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
FreeBSD 11.1 removes cache memory and adds laundry memory. The MIB of
cache memory still exists, but its value is always set to zero.
According to the man page of top(1), the value of laundry memory means
number of dirty pages queued for laundering, suggesting that it should
be added to the 'user' in libgtop because it cannot be freed immediately
without writing out data. Laundry memory was part of inactive memory in
older FreeBSD releases.
FreeBSD systems running on ZFS usually have a large portion of memory
used as ZFS ARC, which has similar purpose to buffer cache of other
filesystems. ZFS ARC can usually be freed quickly when the system needs
more memory, so we don't want to put it in 'user' in libgtop. However,
both buffer cache and ZFS ARC are parts of wired memory, and wired
memory is counted in 'user'. Therefore, we subtract the size of ZFS ARC
from wired memory when calculating 'user' value, making it more useful
to FreeBSD users.
This patch is based on the patch submiited three years ago by
Benoît Dejean <bdejean@gmail.com>.
https://bugzilla.gnome.org/show_bug.cgi?id=748928
https://gitlab.gnome.org/GNOME/libgtop/issues/31
|
| |
|
|
|
|
|
| |
Revert this proof of concept.
Add C file with comments to document how to make a call SUID.
|
|
|
|
|
| |
Add suid infrastructure.
Demo proc_map.
|
| |
|
|
|
|
|
|
|
|
|
| |
The previous name is incorrect and inconsistent with the code generated
by lib.pl.
Also add missing hooks.
This symbol, although exposed in public headers is not part of the API
and is only used internally.
|
|
|
|
| |
https://gitlab.gnome.org/GNOME/libgtop/issues/36
|
| |
|
|
|
|
|
| |
The ufs struct inode has changed a requires a different code to get the
device number.
|
|\ |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
Check linux version code before reading /proc/PID/io.
|
| | |
|
|/ |
|
| |
|
|
|
|
| |
only need to deal with ascii.
|
| |
|
|
|
|
|
|
| |
with a lot of CPUs.
https://bugzilla.gnome.org/show_bug.cgi?id=323354
|
| |
|
|
|
|
|
|
|
|
| |
The field was added almost 20 years ago, but has only been set on
Solaris so far. It turns out we have a use for it now in the new
"Usage" application, so also fill it in on Linux.
https://bugzilla.gnome.org/show_bug.cgi?id=775182
|
|
|
|
|
|
|
|
| |
The ioctl call used in this patch doesn't seems to be documented. It is
what ifconfig(8) command uses to display the media type, and its usage
can be learned by reading the source code of ifconfig(8).
https://bugzilla.gnome.org/show_bug.cgi?id=770165
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
libgtop fails to build on musl libc, due to the header
resulting in the headers that would be loaded for libc 5 being
loaded on musl libc.
musl defines headers which are also defined in linux-headers'
in.h, causing redefinition errors.
https://bugzilla.gnome.org/show_bug.cgi?id=760655
Signed-off-by: Benoît Dejean <bdejean@gmail.com>
|