Commit History

Author SHA1 Message Date
  helican 4e21d13c14 control-datatypes: refactor control protocl replies and information messages as enum class 6 months ago
  helican 50e63b646e control-datatypes.h: add cmd_t and refactor control commands to enum class 6 months ago
  Davin McCall 713dee22cf Refactoring; add get_passed_cfd() function to dinit-client 1 year ago
  Davin McCall 60a3d9980d shutdown: don't close stdout before opening /dev/console 1 year ago
  Davin McCall 8dcf80ff67 Implement support for shutdown hooks 1 year ago
  Davin McCall 0da959ea3f Fix for not correctly buffering subprocess output in shutdown 1 year ago
  Davin McCall 49bc0db8b2 Change int to unsigned as appropriate in cpbuffer 1 year ago
  Davin McCall 5f47073c88 Use SYSCONTROLSOCKET for socket path in dinitctl/shutdown. 5 years ago
  Davin McCall 34310cd5bc Fix check of executable name used for shutdown. 5 years ago
  Davin McCall c66c13dd12 shutdown: clean up error handling. 5 years ago
  Davin McCall 44bca4f83d shutdown: use argv 0 to determine default action. 5 years ago
  Davin McCall b74e67c450 Define constants for supported control protocol versions. 5 years ago
  Davin McCall a2412f13d9 shutdown: set passed-via-environment control socket to blocking. 6 years ago
  Davin McCall ec7899acef shutdown: push all output through a cyclic buffer. 6 years ago
  Davin McCall 0d26b330e3 Refactoring in utilities. 6 years ago
  Davin McCall e08729d5fe dinitctl: query protocol version at beginning + refactoring. 6 years ago
  Davin McCall 5360d84c8c Factor out some Dinit client functions tp a new header (dinit-client.h). 6 years ago
  Davin McCall 1fb468f7ce Fix error in control protocol implementation in dinitctl/shutdown. 6 years ago
  Davin McCall 8fe219655f Remove unwanted comment tag 6 years ago
  Davin McCall fff223cfc2 Rename various classes/functions for consistency. 6 years ago
  Davin McCall aff37f4bbc Fix trivial memory leak. 7 years ago
  Davin McCall 3d1c2a293a Add an option to shutdown to allow for receiving the control socket file 7 years ago
  Davin McCall c2f243f316 Re-vamp shutdown 7 years ago
  Davin McCall 20a52bc534 Move source files int src directory 8 years ago