--- projects/libstatgrab/docs/statgrab.xml 2004/01/05 17:27:29 1.4 +++ projects/libstatgrab/docs/statgrab.xml 2004/01/06 17:15:04 1.5 @@ -6,8 +6,8 @@ - $Date: 2004/01/05 17:27:29 $ - $Id: statgrab.xml,v 1.4 2004/01/05 17:27:29 ats Exp $ + $Date: 2004/01/06 17:15:04 $ + $Id: statgrab.xml,v 1.5 2004/01/06 17:15:04 pajs Exp $ @@ -118,11 +118,11 @@ statgrab_init must be the first function you call before you start to use libstatgrab; it performs all the one-time initialisation operations that need setuid/setgid - privileges (for instance, on *BSD it opens a descriptor to be able to + privileges. For instance, on *BSD it opens a descriptor to be able to read kernel structures later on, and on Solaris it reads the device - mappings that are only accessible by root). Once this has run, - the other libstatgrab functions no longer need elevated privileges. - It is therefore a good idea to call + mappings that in some cases are only accessible by root (machines with + a /dev/osa). Once this has run, the other libstatgrab functions no longer + need elevated privileges. It is therefore a good idea to call statgrab_drop_privileges, which discards setuid and setgid privileges, immediately after you call statgrab_init, unless your application has