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

Comparing projects/libstatgrab/src/statgrab/statgrab.c (file contents):
Revision 1.13 by ats, Mon Nov 10 23:35:43 2003 UTC vs.
Revision 1.14 by ats, Mon Jan 5 16:39:15 2004 UTC

# Line 612 | Line 612 | int main(int argc, char **argv) {
612          if (setegid(getgid()) != 0)
613                  die("Failed to lose effective group");
614   #endif
615 + #ifdef SOLARIS
616 +        if (seteuid(getuid()) != 0)
617 +                die("Failed to lose effective user");
618 + #endif
619  
620          switch (repeat_mode) {
621          case REPEAT_NONE:

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines