[BACK]Return to sandbox.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / file

Diff for /src/usr.bin/file/Attic/sandbox.c between version 1.3 and 1.4

version 1.3, 2015/04/30 14:16:49 version 1.4, 2015/04/30 14:30:53
Line 116 
Line 116 
                 return (sandbox_child(user));                  return (sandbox_child(user));
         }          }
   
           /*
            * Wait for the child to stop itself with SIGSTOP before assigning the
            * policy, before that it might still be calling syscalls the policy
            * would block.
            */
         do {          do {
                 pid = waitpid(pid, &status, WUNTRACED);                  pid = waitpid(pid, &status, WUNTRACED);
         } while (pid == -1 && errno == EINTR);          } while (pid == -1 && errno == EINTR);

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4