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

Diff for /src/usr.bin/rsync/server.c between version 1.12 and 1.12.4.1

version 1.12, 2019/05/08 21:30:11 version 1.12.4.1, 2021/11/09 13:41:24
Line 57 
Line 57 
   
         if (pledge("stdio unix rpath wpath cpath dpath fattr chown getpw unveil",          if (pledge("stdio unix rpath wpath cpath dpath fattr chown getpw unveil",
             NULL) == -1)              NULL) == -1)
                 err(1, "pledge");                  err(ERR_IPC, "pledge");
   
         memset(&sess, 0, sizeof(struct sess));          memset(&sess, 0, sizeof(struct sess));
         sess.opts = opts;          sess.opts = opts;
Line 65 
Line 65 
         /* Begin by making descriptors non-blocking. */          /* Begin by making descriptors non-blocking. */
   
         if (!fcntl_nonblock(fdin) ||          if (!fcntl_nonblock(fdin) ||
              !fcntl_nonblock(fdout)) {              !fcntl_nonblock(fdout)) {
                 ERRX1("fcntl_nonblock");                  ERRX1("fcntl_nonblock");
                 goto out;                  goto out;
         }          }

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.12.4.1