(file) Return to Parent.c CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Executor

Diff for /pegasus/src/Executor/Parent.c between version 1.5 and 1.6

version 1.5, 2007/06/15 17:40:06 version 1.6, 2007/07/24 19:53:14
Line 172 
Line 172 
     {     {
         /* Check the policy. */         /* Check the policy. */
  
         if (CheckOpenFilePolicy(request.path, request.mode) != 0)          unsigned long permissions = 0;
   
           if (CheckOpenFilePolicy(request.path, request.mode, &permissions) != 0)
         {         {
             response.status = -1;             response.status = -1;
             break;             break;
Line 190 
Line 192 
                 fd = open(                 fd = open(
                     request.path,                     request.path,
                     O_WRONLY | O_CREAT | O_TRUNC,                     O_WRONLY | O_CREAT | O_TRUNC,
                     S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH); /* 0644 */                      permissions);
                 break;                 break;
  
             case 'a':             case 'a':
Line 198 
Line 200 
                 fd = open(                 fd = open(
                     request.path,                     request.path,
                     O_WRONLY | O_CREAT | O_APPEND,                     O_WRONLY | O_CREAT | O_APPEND,
                     S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH); /* 0644 */                      permissions);
                 break;                 break;
             }             }
         }         }


Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2