summaryrefslogtreecommitdiffstats
path: root/sesman/sesman.c
Commit message (Collapse)AuthorAgeFilesLines
* sesman: close stdout/stderr earlierKoichiro IWAO2018-06-051-4/+9
| | | | not to spit on the console
* sesman: don't spit on the console when startingKoichiro IWAO2018-06-051-2/+7
| | | | | | | | | | | | As the Debian patch[1] expresses, spitting messages on the console when a process starts in background is a bad idea. Everything should be written to log file and daemon should start silently. This is a first step to shut up daemons. Got some idea from Debian Remote Maintainers and Thorsten Glaser, thanks! [1] https://salsa.debian.org/debian-remote-team/xrdp/blob/2751ad4d62b1f63dbc2e4b8fa1580fa54b0f5460/debian/patches/shutup-daemon.diff
* fix indentKoichiro IWAO2018-01-091-1/+1
|
* Make listen check before daemon forkmatt3356722017-12-271-10/+9
|
* Use g_create_path instead of g_create_dirIan Geiser2017-07-141-1/+1
| | | | Rename g_mk_temp_dir to g_mk_socket_path
* fix typoKoichiro IWAO2017-07-131-1/+1
|
* sesman: make sure socket directory presentKoichiro IWAO2017-07-131-0/+3
| | | | | before try to create a domain socket. Originally proposed by Ian Geiser (geiseri).
* sesman: exit with failure status if listen failedKoichiro IWAO2017-06-201-3/+55
|
* Eliminate APP_CC and DEFAULT_CCPavel Roskin2017-03-141-2/+2
|
* Include config_ac.h from all source filesPavel Roskin2017-03-041-0/+4
|
* Improve xrdp-sesman help textPavel Roskin2017-01-171-16/+17
| | | | Don't document "-ns", as "-n" and "--nodaemon" should be enough. Always refer to the program as xrdp-sesman, not sesman.
* Use g_new or g_new0 when C++ compiler would complain about implicit castPavel Roskin2016-07-081-1/+1
|
* Report pid and listening address/port for xrdp and xrdp-sesmanPavel Roskin2016-06-211-5/+4
| | | | | | For xrdp-sesman, don't report that the daemon is listening to a port if it fails to attach to that port. Don't use LOG_LEVEL_ALWAYS for startup message, it's not a critical error.
* Fix compile error "format not a string literal and no format arguments ↵NerdKnight2016-03-281-1/+1
| | | | [-Werror=format-security]"
* fix warnings, move some calls to os_callsJay Sorg2016-03-161-4/+5
|
* Fix all format warnings and some unused variable warningsJay Sorg2016-03-141-1/+0
|
* Don't attempt to intercept SIGKILL, it doesn't work on any OSJay Sorg2016-03-141-1/+0
|
* Fix typosPavel Roskin2016-02-131-1/+1
|
* Use lowercase program names for syslogPavel Roskin2016-02-131-1/+1
| | | Other programs typically use the same case as their execulables.
* sesman: remove the threadJay Sorg2015-12-111-23/+9
|
* sesman: void function should not return a valueKoichiro IWAO2015-03-121-1/+1
|
* coverity: improper use of negative valueLaxmikant Rashinkar2014-07-261-1/+9
|
* coverity: fixed unchecked return value from libraryLaxmikant Rashinkar2014-07-201-3/+11
|
* coverity: fixed unchecked return valueLaxmikant Rashinkar2014-07-191-1/+5
|
* sesman: pid string match xrdp lengthJay Sorg2013-06-191-2/+2
|
* sesman: fix for reading pid fileJay Sorg2013-06-191-0/+1
|
* copyright year updateJay Sorg2013-06-081-1/+1
|
* o moved from GNU General Public License to Apache License, Version 2.0Laxmikant Rashinkar2012-09-191-295/+315
| | | | | o applied new coding standards to all .c files o moved some files around
* log: added path for when --prefix is usedJay Sorg2012-06-101-5/+4
|
* Initial syslog support in XRDPnorrarvid2012-05-271-13/+17
|
* remove old freerdp dirJay Sorg2012-02-131-1/+11
|
* fix for https://bugzilla.redhat.com/show_bug.cgi?id=782619Jay Sorg2012-02-051-0/+2
|
* Major code cleanup:Nicola Ruggero2010-11-031-1/+4
| | | | | | | - Initialized and zeroed out local variables - Check for some null pointers - Fixed some typos - Other minor changes (beautify, etc.)
* g_thread_sck set outside of lock fix and g_cfg should always be a pointer to ↵jsorg712009-09-281-2/+1
| | | | a struct
* use _ not - in namejsorg712009-08-211-2/+2
|
* add extended log outputjsorg712009-08-051-2/+5
|
* delete the pid file on exitjsorg712009-07-231-0/+6
|
* autotools fix and file_loc.h simplifiedjsorg712009-05-191-11/+12
|
* only the main thread forksjsorg712009-01-121-0/+10
|
* change to the g_signal_* functionsjsorg712008-12-301-4/+4
|
* quiet them main loop of sesmanjsorg712008-12-281-17/+49
|
* move to using the signal functions instead of sigaddset since we removed ↵jsorg712008-12-281-9/+12
| | | | unset signals
* added g_ to globals, added SIGINT, SIGKILL to shutdown signals, other minor ↵jsorg712008-12-261-19/+25
| | | | changes
* still more work on loggingilsimo2008-07-301-17/+23
| | | | libscp makefile fix
* more work on loggingilsimo2008-02-211-1/+1
|
* updating logging subsystemilsimo2008-02-201-10/+9
|
* update copyright yearjsorg712008-01-301-1/+1
|
* making libscp a real libraryilsimo2007-05-061-1/+4
| | | | some fixes in configuration options
* added ListenAddress configuration optionilsimo2007-03-251-1/+1
|
* fixes bug #1595324 in sf.net bugtrackerilsimo2007-03-251-1/+3
|