summaryrefslogtreecommitdiff
path: root/sysdeps/common/sysdeps_suid.c
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Revert "New API to retrieve disk stats in Linux""James Dominic P. Guana2021-04-231-0/+3
| | | | This reverts commit 7e214414bf23d1ea34e7fdccb17a7f41040ffea9.
* Revert "New API to retrieve disk stats in Linux"Michael Catanzaro2020-11-061-3/+0
| | | | This reverts commit 9e62440b314fbf87bbeca865a4223311314c52a3.
* New API to retrieve disk stats in LinuxJames Dominic P. Guana2020-11-041-0/+3
|
* Renamed procdiskio to procioRobert Roth2017-05-121-2/+2
|
* New API to retrieve process io stats, with Linux implementationRobert Roth2017-02-121-0/+3
|
* Update old FSF address.Robert Roth2014-08-201-2/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=721514
* Renamed all glibtop_init_xxx functions to _glibtop_init_xxx so they getBenoît Dejean2007-04-111-22/+22
| | | | | | | | | | | | | | | 2007-04-11 Benoît Dejean <benoit@placenet.org> * *: Renamed all glibtop_init_xxx functions to _glibtop_init_xxx so they get internal visibility. * configure.in: Bumped version number. svn path=/trunk/; revision=2569
* Removed noisy $Id$.Benoît Dejean2007-02-191-2/+0
| | | | | | | | | | 2007-02-20 Benoît Dejean <benoit@placenet.org> * *: Removed noisy $Id$. svn path=/trunk/; revision=2558
* remove unused file.James Henstridge2005-12-121-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-12-12 James Henstridge <james@jamesh.id.au> * doc/auto-macros.texi.in: remove unused file. * doc/libgtop2.texi: don't include auto-macros.texi. * doc/Makefile.am: don't build auto-macros.texi, since none of its macros are used in the documentation any more. * include/glibtop/global.h: don't include <config.h> from headers. * .../*.c: make sure <config.h> is the first thing included. * acinclude.m4: m4_include() libgtop-sysdeps.m4 rather than inlining it. * acinclude.m4, libgtop-sysdeps.m4: use third argument to AC_DEFINE() to set the comment. * configure.in: modernise a bit. * acconfig.h: remove file, since it is deprecated * autogen.sh: require automake 1.9 instead of 1.4.
* Moved _glibtop_init_hook_[sp] declaration to private glibtop/init_hooks.h.Benoît Dejean2005-08-021-1/+5
| | | | | | | | | | | | | | | | | | | | | * configure.in: * include/glibtop/Makefile.am: * include/glibtop/glibtop-server.h: * include/glibtop/init_hooks.h: * include/glibtop/sysdeps.h: * lib/init.c: (glibtop_init_s): * lib/sysdeps.c: * sysdeps/aix/open.c: (glibtop_init_p): * sysdeps/common/sysdeps_suid.c: * sysdeps/freebsd/open.c: (glibtop_init_p): * sysdeps/osf1/open_suid.c: (glibtop_init_p): * sysdeps/solaris/open_suid.c: (glibtop_init_p): * sysdeps/stub_suid/open.c: (glibtop_init_p): Moved _glibtop_init_hook_[sp] declaration to private glibtop/init_hooks.h. Marked them const. Fixed GLIBTOP_SUID_NETLIST issues.
* libgtop-GNOME-2-0-branch moved to HEAD.Carlos Perelló Marín2003-10-191-30/+22
| | | | | | 2003-10-19 Carlos Perelló Marín <carlos@gnome.org> * libgtop-GNOME-2-0-branch moved to HEAD.
* Added netinfo and interface_names.Martin Baulig2000-01-091-2/+8
|
* The indentation in LibGTop was done with the following command:Martin Baulig1999-12-261-21/+23
| | | | | | | | find . -name \*.[ch] | xargs -i emacs -batch {} \ -l /gnome/compile/libgtop/misc/format.el -f save-buffer December 26, 1999 Martin
* Set the copyright of LibGTop to the GNU General Public License.Martin Baulig1999-02-231-7/+7
| | | | | | | | | 1999-02-22 Martin Baulig <martin@home-of-linux.org> Set the copyright of LibGTop to the GNU General Public License. * copyright.txt: Set the year to 1998-99 and pretty-format it a little bit. Same in all C source and header files.
* Include a copy of the GNU Library General Public License here.Martin Baulig1999-02-221-13/+17
| | | | | | | | | | 1999-02-22 Martin Baulig <martin@home-of-linux.org> * COPYING.LIB: Include a copy of the GNU Library General Public License here. * copyright.txt: Set the year to 1998-99 and pretty-format it a little bit. Same in all C source and header files.
* Added new features to get network load:Martin Baulig1998-10-261-0/+3
| | | | | | | | | | | | | | | | | | | | | | | typedef struct _glibtop_netload glibtop_netload; struct _glibtop_netload { u_int64_t flags, mtu, /* GLIBTOP_NETLOAD_MTU */ address, /* GLIBTOP_NETLOAD_ADDRESS */ packets_in, /* GLIBTOP_NETLOAD_PACKETS_IN */ packets_out, /* GLIBTOP_NETLOAD_PACKETS_OUT */ bytes_in, /* GLIBTOP_NETLOAD_BYTES_IN */ bytes_out, /* GLIBTOP_NETLOAD_BYTES_OUT */ errors_in, /* GLIBTOP_NETLOAD_ERRORS_IN */ errors_out, /* GLIBTOP_NETLOAD_ERRORS_OUT */ collisions; /* GLIBTOP_NETLOAD_COLLISIONS */ }; Returns network load of the given interface, it is specified as string like `isppp' or `ippp0': extern void glibtop_get_netload_l __P((glibtop *, glibtop_netload *, const char *));
* Added new feature (proc_args) to get command line arguments:Martin Baulig1998-10-261-0/+3
| | | | | | | | | | | | | | | | typedef struct _glibtop_proc_args glibtop_proc_args; struct _glibtop_proc_args { u_int64_t flags, size; /* GLIBTOP_PROC_ARGS_SIZE */ }; Returns a string containing all command line arguments of the process, the `unsigned' parameter is the maximum length of this string; if it is zero then no limit will be set. extern const char *glibtop_get_proc_args_l __P((glibtop *, glibtop_proc_args *, pid_t, unsigned));
* Added new feature to get PPP/ISDN support:Martin Baulig1998-10-251-0/+3
| | | | | | | | | | | | | | | | | | enum { GLIBTOP_PPP_STATE_UNKNOWN = 0, GLIBTOP_PPP_STATE_HANGUP, GLIBTOP_PPP_STATE_ONLINE }; struct _glibtop_ppp { u_int64_t flags, state, /* GLIBTOP_PPP_STATE */ bytes_in, /* GLIBTOP_PPP_BYTES_IN */ bytes_out; /* GLIBTOP_PPP_BYTES_OUT */ }; Currently only implemented in the FreeBSD port with ISDN via I4B. - Martin
* New file. Added definition of `proc_map'.Martin Baulig1998-08-101-0/+3
| | | | | | | 1998-08-10 Martin Baulig <martin@home-of-linux.org> * include/glibtop/procmap.h (glibtop_proc_map): New file. * features.def: Added definition of `proc_map'.
* Removed. New files. Added `libgtop_server'; this has been moved here fromMartin Baulig1998-08-071-0/+76
1998-08-07 Martin Baulig <martin@home-of-linux.org> * src/server: Removed. * src/daemon/{server, version}.c: New files. * src/daemon/Makefile.am: Added `libgtop_server'; this has been moved here from `src/server' since it shares some source code files with the `libgtop_daemon'. * LIBGTOP-VERSION: Added `LIBGTOP_SERVER_VERSION'. * src/daemon/gnuserv.c, lib/open.c: Improved version check between client and server. * include/glibtop/output.h: Removed. * sysdeps/stub_suid: New directory. This is mainly used as example for people porting libgtop to other systems. * sysdeps/common/sysdeps_suid.c: New file. Defines `glibtop_init_hook_p'. * sysdeps/osf1/*.c (glibtop_init_<no-suid-feature>_s): New functions. (glibtop_init_<suid-feature>_p): New functions.