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

Diff for /src/usr.bin/ssh/clientloop.c between version 1.368 and 1.369

version 1.368, 2021/07/23 04:00:59 version 1.369, 2021/07/23 04:04:52
Line 108 
Line 108 
 /* import options */  /* import options */
 extern Options options;  extern Options options;
   
 /* Flag indicating that ssh should daemonise after authentication is complete */  
 extern int fork_after_authentication_flag;  
   
 /* Control socket */  /* Control socket */
 extern int muxserver_sock; /* XXX use mux_client_cleanup() instead */  extern int muxserver_sock; /* XXX use mux_client_cleanup() instead */
   
Line 1232 
Line 1229 
                         fatal_f("pledge(): %s", strerror(errno));                          fatal_f("pledge(): %s", strerror(errno));
   
         } else if (!option_clear_or_none(options.proxy_command) ||          } else if (!option_clear_or_none(options.proxy_command) ||
             fork_after_authentication_flag) {              options.fork_after_authentication) {
                 debug("pledge: proc");                  debug("pledge: proc");
                 if (pledge("stdio cpath unix inet dns proc tty", NULL) == -1)                  if (pledge("stdio cpath unix inet dns proc tty", NULL) == -1)
                         fatal_f("pledge(): %s", strerror(errno));                          fatal_f("pledge(): %s", strerror(errno));

Legend:
Removed from v.1.368  
changed lines
  Added in v.1.369