ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/libstatgrab/docs/statgrab.xml
(Generate patch)

Comparing projects/libstatgrab/docs/statgrab.xml (file contents):
Revision 1.4 by ats, Mon Jan 5 17:27:29 2004 UTC vs.
Revision 1.5 by pajs, Tue Jan 6 17:15:04 2004 UTC

# Line 118 | Line 118
118        <function>statgrab_init</function> must be the first
119        function you call before you start to use libstatgrab; it performs all
120        the one-time initialisation operations that need setuid/setgid
121 <      privileges (for instance, on *BSD it opens a descriptor to be able to
121 >      privileges. For instance, on *BSD it opens a descriptor to be able to
122        read kernel structures later on, and on Solaris it reads the device
123 <      mappings that are only accessible by root). Once this has run,
124 <      the other libstatgrab functions no longer need elevated privileges.
125 <      It is therefore a good idea to call
123 >      mappings that in some cases are only accessible by root (machines with
124 >      a /dev/osa). Once this has run, the other libstatgrab functions no longer
125 >      need elevated privileges. It is therefore a good idea to call
126        <function>statgrab_drop_privileges</function>, which discards
127        setuid and setgid privileges, immediately after you call
128        <function>statgrab_init</function>, unless your application has

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines