summaryrefslogtreecommitdiff
path: root/sysdeps/freebsd/procuid.c
Commit message (Collapse)AuthorAgeFilesLines
* Renamed all glibtop_init_xxx functions to _glibtop_init_xxx so they getBenoît Dejean2007-04-111-1/+1
| | | | | | | | | | | | | | | 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
* Huge (k)FreeBSD update. (k)FreeBSD support is freebsd/ Other BSD are inBenoît Dejean2007-02-181-62/+4
| | | | | | | | | | | | | | | | | | | 2007-02-18 Benoît Dejean <benoit@placenet.org> * configure.in: * libgtop-sysdeps.m4: * sysdeps/Makefile.am: Huge (k)FreeBSD update. (k)FreeBSD support is freebsd/ Other BSD are in bsd/ Patch by Joe Marcus Clarke <marcus@freebsd.org> Alexander Nedotsukov <bland@FreeBSD.org> Closes #407693. svn path=/trunk/; revision=2557
* Added kfreebsd support. Patch by Petr Salinger <Petr.Salinger@seznam.cz>.Benoît Dejean2006-11-271-5/+1
| | | | | | | | | | | | | | | | | | | 2006-11-27 Benoît Dejean <benoit@placenet.org> * fsusage.c: (_glibtop_freebsd_get_fsusage_read_write): * mem.c: (glibtop_get_mem_p): * prockernel.c: (glibtop_get_proc_kernel_p): * proclist.c: (glibtop_get_proclist_p): * procmap.c: (glibtop_get_proc_map_p): * procmem.c: (glibtop_get_proc_mem_p): * procsignal.c: (glibtop_get_proc_signal_p): * procstate.c: (glibtop_get_proc_state_p): * proctime.c: * procuid.c: (glibtop_get_proc_uid_p): * swap.c: (glibtop_init_swap_p), (glibtop_get_swap_p): Added kfreebsd support. Patch by Petr Salinger <Petr.Salinger@seznam.cz>.
* 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.
* whitespace clean up.Benoît Dejean2004-06-091-2/+2
| | | | * *.{c,h} : whitespace clean up.
* implement NetBSD support, and some build problems on FreeBSD (Closes:Bastien Nocera2004-03-091-18/+43
| | | | | | | | | | | | | | | | | | | | 2004-03-09 Bastien Nocera <hadess@hadess.net> * Makefile.am: * cpu.c: (glibtop_init_cpu_p), (glibtop_get_cpu_p): * glibtop_machine.h: * mem.c: * netload.c: (glibtop_get_netload_p): * prockernel.c: (glibtop_get_proc_kernel_p): * proclist.c: (glibtop_get_proclist_p): * procmap.c: (glibtop_get_proc_map_p): * procmem.c: (glibtop_get_proc_mem_p): * procsignal.c: (glibtop_get_proc_signal_p): * procstate.c: (glibtop_get_proc_state_p): * proctime.c: * procuid.c: (glibtop_get_proc_uid_p): * uptime.c: (glibtop_get_uptime_p): implement NetBSD support, and some build problems on FreeBSD (Closes: #135674)
* Reverted libgtop changes. It's a common module and I should not modify it.Carlos Perelló Marín2003-10-191-0/+128
| | | | | | | | 2003-10-19 Carlos Perelló Marín <carlos@gnome.org> * support/*: Reverted libgtop changes. It's a common module and I should not modify it. * Added/removed files. Now the move should be done.
* Moved all sysdeps code to the new libgtop-backends module.Martin Baulig2001-04-201-136/+0
| | | | | | | | | | | | | | | 2001-04-20 Martin Baulig <baulig@suse.de> Moved all sysdeps code to the new libgtop-backends module. * sysdeps/freesd/*: Removed. * sysdeps/kernel/*: Removed. * sysdeps/linux/*: Removed. * sysdeps/osf1/*: Removed. * sysdeps/solaris/*: Removed. * sysdeps/stub/*: Removed. * sysdeps/stub_suid/*: Removed. * sysdeps/sun4/*: Removed.
* The indentation in LibGTop was done with the following command:Martin Baulig1999-12-261-57/+59
| | | | | | | | find . -name \*.[ch] | xargs -i emacs -batch {} \ -l /gnome/compile/libgtop/misc/format.el -f save-buffer December 26, 1999 Martin
* s/server->machine/server->_priv->machine/g;Martin Baulig1999-12-231-2/+4
|
* Return 0 on success and -1 on error.Martin Baulig1999-10-241-2/+6
|
* This is a very big an possibly breaking commit.Martin Baulig1999-10-241-2/+2
| | | | | | | | | | | | | | | | | | It changes the return values of all sysdeps functions which were previosly returning void to int. This is the first step to implement better error handling in LibGTop. Martin 1999-10-24 Martin Baulig <martin@home-of-linux.org> * include/glibtop/*.h (glibtop_get_*, glibtop_init*): Changed the return value of all `glibtop_get_<feature>_* ()' and all `glibtop_init_<feature>_* ()' functions from void to int. * features.def: Reflect changes of the return values. * sysdeps/*/*.c: Reflect changes of the return values.
* A fix to a ommitted case, when nor NetBSD, nor LibGTop >= 1.1.0. ThisTimur Bakeyev1999-06-151-2/+4
| | | | | | | | Tue Jun 15 16:04:10 1999 Timur Bakeyev <mc@bat.ru> * procuid.c: A fix to a ommitted case, when nor NetBSD, nor LibGTop >= 1.1.0. This should be investigated closely to cover more cases....
* More NetBSD 1.4 fixes.Martin Baulig1999-05-261-1/+44
| | | | | | | | | | | | | | | | 1999-05-26 Martin Baulig <martin@home-of-linux.org> More NetBSD 1.4 fixes. * mem.c, procmap.c, procmem.c: Make this work with the new UVM code. [FIXME: This following most likely works on all BSD systems, but this needs to be tested; I made it conditional to NetBSD 1.4 at the moment. Please extend the conditionals to any other systems where this works ...] * procstate.c: Added `ruid' and `rgid' for LibGTop >= 1.1.0. * procuid.c: Added `ngroups' and `groups' for LibGTop >= 1.1.0.
* Use `(1L << feature)' instead of `(1 << feature)' to avoid problemsMartin Baulig1999-05-061-6/+6
| | | | with integer overflows when we add more fields.
* 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/+15
| | | | | | | | | | 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.
* It does not work to get information about the swapper task on FreeBSDMartin Baulig1998-11-111-0/+3
| | | | | | | 1998-11-11 Martin Baulig <martin@home-of-linux.org> * *.c: It does not work to get information about the swapper task on FreeBSD 2.2.6, so we simple return if pid == 0.
* Use glibtop_warn_io_r () instead of glibtop_error_io_r ().Martin Baulig1998-10-301-6/+4
| | | | | | | | | 1998-10-31 Martin Baulig <martin@home-of-linux.org> * *.c: Use glibtop_warn_io_r () instead of glibtop_error_io_r (). * proctime.c, prockernel.c, procargs.c: Don't call kvm_uread () if the /proc filesystem is not mounted.
* Using correct `(1 << GLIBTOP_SYSDPES_*)'. Removed `const' from sysctl ()Martin Baulig1998-08-241-1/+1
| | | | | | | | | | | | | | 1998-08-24 Martin Baulig <martin@home-of-linux.org> * *.c (glibtop_init_p): Using correct `(1 << GLIBTOP_SYSDPES_*)'. * cpu.c, mem.c: Removed `const' from sysctl () constants to keep compiler happy. * procmem.c: Added missing call to `glibtop_init_p'. * prockernel.c: Casting `nwchan' to `unsigned long' since this normally has the same size than a pointer. Well, is there a FreeBSD for 64bit architectures ?
* Some more work here.Martin Baulig1998-08-101-0/+4
|
* Added implementation.Martin Baulig1998-08-101-1/+30
|
* Merged some stuff from `stub_suid'.Martin Baulig1998-08-071-3/+18
|
* Importing FreeBSD port of libgtop from Josh Sled.freebsd_0_1Martin Baulig1998-08-061-2/+2
|
* Using `GLIBTOP_GUILE' instead of `HAVE_GUILE' so one should be able to useMartin Baulig1998-08-061-0/+32
1998-08-06 Martin Baulig <martin@home-of-linux.org> * include/glibtop/*.h: Using `GLIBTOP_GUILE' instead of `HAVE_GUILE' so one should be able to use libgtop without guile in an application even if guile is installed. * sysdeps/common/mountlist.c: Fixed some `xstrdup' problems. * lib/open.c: Now correctly reading server features for `GLIBTOP_METHOD_PIPE'. * sysdeps/freebsd: New directory.