1. 29 Apr, 2006 4 commits
    • Niels Möller's avatar
      * src/testsuite/daemon-1-test: Renamed file to... · 006274be
      Niels Möller authored
      * src/testsuite/daemon-fd-test: ... new file. Improved test, using
      /proc/self/fd.
      
      Rev: src/testsuite/daemon-1-test:1.2(DEAD)
      Rev: src/testsuite/daemon-fd-test:1.1
      006274be
    • Niels Möller's avatar
      (main): Improved daemonic behaviour. Call · a4626e5d
      Niels Möller authored
      daemon_close_fds. When --daemonic --no-syslog is given, still perform all
      daemonic processing except for the redirect of stderr to /dev/null.
      
      Rev: src/lshd.c:1.172
      a4626e5d
    • Niels Möller's avatar
      Updated prototypes. Deleted C++ guard. · 95edd20b
      Niels Möller authored
      Rev: src/daemon.h:1.5
      95edd20b
    • Niels Möller's avatar
      (daemon_pidfile): Deleted #if:ed out file locking · 7b1212f6
      Niels Möller authored
      code.
      (daemon_started_by_init, daemon_started_by_inetd): Made static.
      (daemon_detect): New function, split out from daemon_init.
      (daemon_dup_null): Likewise.
      (getdtablesize): New function, for systems that don't have it in
      libc.
      (daemon_close_fds): New function.
      (daemon_init): New argument with the daemon mode. Split handling
      of fd:s to the new functions daemon_dup_null and daemon_close_fds.
      
      Rev: src/daemon.c:1.14
      7b1212f6
  2. 28 Apr, 2006 2 commits
  3. 27 Apr, 2006 2 commits
  4. 26 Apr, 2006 8 commits
  5. 21 Apr, 2006 3 commits
  6. 08 Apr, 2006 2 commits
  7. 09 Feb, 2006 2 commits
  8. 31 Jan, 2006 2 commits
  9. 27 Jan, 2006 4 commits
  10. 23 Jan, 2006 10 commits
  11. 05 Dec, 2005 1 commit