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

Comparing projects/libstatgrab/src/saidar/saidar.c (file contents):
Revision 1.19 by tdb, Thu Dec 11 14:27:08 2003 UTC vs.
Revision 1.20 by pajs, Mon Jan 5 14:25:03 2004 UTC

# Line 445 | Line 445 | int main(int argc, char **argv){
445                  return 1;
446          }
447   #endif
448 + #ifdef SOLARIS
449 +        if((seteuid(getuid())) != 0){
450 +                fprintf(stderr, "Failed to lose setuid'ness\n");
451 +                return 1;
452 +        }      
453 + #endif
454                  
455          while ((c = getopt(argc, argv, "vhd:")) != -1){
456                  switch (c){

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines