[BACK]Return to setuid.c CVS log [TXT][DIR] Up to [local] / prex-old / usr / lib / posix / process

Diff for /prex-old/usr/lib/posix/process/setuid.c between version 1.1.1.1 and 1.1.1.1.2.1

version 1.1.1.1, 2008/06/03 10:38:50 version 1.1.1.1.2.1, 2008/08/13 17:12:40
Line 33 
Line 33 
 int  int
 setuid(uid_t uid)  setuid(uid_t uid)
 {  {
   
         if (uid == 1)          if (uid == 1)
                 return 0;                  return 0;
         errno = EINVAL;  
           errno = EPERM;
         return -1;          return -1;
 }  }

Legend:
Removed from v.1.1.1.1  
changed lines
  Added in v.1.1.1.1.2.1

CVSweb