Ian Geiser
4b87548b71
Use g_create_path instead of g_create_dir
...
Rename g_mk_temp_dir to g_mk_socket_path
2017-07-14 20:52:38 +09:00
Koichiro IWAO
858e6149f0
fix typo
2017-07-13 13:41:26 +09:00
Koichiro IWAO
6f8eacd72b
sesman: make sure socket directory present
...
before try to create a domain socket.
Originally proposed by Ian Geiser (geiseri).
2017-07-13 13:41:26 +09:00
Koichiro IWAO
5a7208a15b
sesman: exit with failure status if listen failed
2017-06-20 14:29:02 +09:00
Pavel Roskin
6ed4c969f4
Eliminate APP_CC and DEFAULT_CC
2017-03-14 00:21:48 -07:00
Pavel Roskin
b2d3dcf169
Include config_ac.h from all source files
2017-03-04 00:52:34 -08:00
Pavel Roskin
0a9b586332
Improve xrdp-sesman help text
...
Don't document "-ns", as "-n" and "--nodaemon" should be enough. Always
refer to the program as xrdp-sesman, not sesman.
2017-01-17 18:09:47 -08:00
Pavel Roskin
5829323ad8
Use g_new or g_new0 when C++ compiler would complain about implicit cast
2016-07-08 04:29:49 +00:00
Pavel Roskin
be1d034f91
Report pid and listening address/port for xrdp and xrdp-sesman
...
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.
2016-06-21 16:30:15 -07:00
NerdKnight
99ebe1340f
Fix compile error "format not a string literal and no format arguments [-Werror=format-security]"
2016-03-28 14:55:20 -03:00
Jay Sorg
689ffe79d9
fix warnings, move some calls to os_calls
2016-03-16 14:32:14 -07:00
Jay Sorg
38241f2a0b
Fix all format warnings and some unused variable warnings
2016-03-14 17:04:08 -07:00
Jay Sorg
7393579205
Don't attempt to intercept SIGKILL, it doesn't work on any OS
2016-03-14 16:33:49 -07:00
Pavel Roskin
92a6833e9b
Fix typos
2016-02-13 20:41:07 -08:00
Pavel Roskin
81779ddb01
Use lowercase program names for syslog
...
Other programs typically use the same case as their execulables.
2016-02-13 18:14:42 -08:00
Jay Sorg
4e0d0f3ba0
sesman: remove the thread
2015-12-11 20:41:17 -08:00
Koichiro IWAO
ac9ff52c1b
sesman: void function should not return a value
2015-03-12 16:48:20 +00:00
Laxmikant Rashinkar
27055d5762
coverity: improper use of negative value
2014-07-26 13:33:23 -07:00
Laxmikant Rashinkar
a990287c46
coverity: fixed unchecked return value from library
2014-07-20 13:14:09 -07:00
Laxmikant Rashinkar
73578bc612
coverity: fixed unchecked return value
2014-07-19 13:06:25 -07:00
Jay Sorg
c20b447f21
sesman: pid string match xrdp length
2013-06-19 11:43:24 -07:00
Jay Sorg
a6592ed690
sesman: fix for reading pid file
2013-06-19 11:37:26 -07:00
Jay Sorg
c6fa03102f
copyright year update
2013-06-08 10:51:53 -07:00
Laxmikant Rashinkar
1123323fda
o moved from GNU General Public License to Apache License, Version 2.0
...
o applied new coding standards to all .c files
o moved some files around
2012-09-19 20:51:34 -07:00
Jay Sorg
099a421c77
log: added path for when --prefix is used
2012-06-10 21:50:57 -07:00
norrarvid
4d4ebbf363
Initial syslog support in XRDP
2012-05-27 17:17:39 +02:00
Jay Sorg
93939893de
remove old freerdp dir
2012-02-13 23:31:11 -08:00
Jay Sorg
f10e5bbfd5
fix for https://bugzilla.redhat.com/show_bug.cgi?id=782619
2012-02-05 23:26:15 -08:00
Nicola Ruggero
4cf06dbbcb
Major code cleanup:
...
- Initialized and zeroed out local variables
- Check for some null pointers
- Fixed some typos
- Other minor changes (beautify, etc.)
2010-11-03 16:59:26 +01:00
jsorg71
328649af9b
g_thread_sck set outside of lock fix and g_cfg should always be a pointer to a struct
2009-09-28 01:16:07 +00:00
jsorg71
db32048d81
use _ not - in name
2009-08-21 17:31:40 +00:00
jsorg71
eeac7c938a
add extended log output
2009-08-05 06:16:05 +00:00
jsorg71
2750bd3c92
delete the pid file on exit
2009-07-23 19:46:44 +00:00
jsorg71
23ffdb0c5f
autotools fix and file_loc.h simplified
2009-05-19 04:23:49 +00:00
jsorg71
a71ca6bc1f
only the main thread forks
2009-01-12 06:43:58 +00:00
jsorg71
d241e02422
change to the g_signal_* functions
2008-12-30 08:32:22 +00:00
jsorg71
13ac4186c6
quiet them main loop of sesman
2008-12-28 08:15:40 +00:00
jsorg71
18600b093e
move to using the signal functions instead of sigaddset since we removed unset signals
2008-12-28 06:11:14 +00:00
jsorg71
23fe2e2259
added g_ to globals, added SIGINT, SIGKILL to shutdown signals, other minor changes
2008-12-26 02:20:03 +00:00
ilsimo
d14b076a70
still more work on logging
...
libscp makefile fix
2008-07-30 10:58:30 +00:00
ilsimo
57484bd701
more work on logging
2008-02-21 15:50:31 +00:00
ilsimo
4c9d3862e5
updating logging subsystem
2008-02-20 22:02:24 +00:00
jsorg71
cd57d1b689
update copyright year
2008-01-30 07:53:57 +00:00
ilsimo
f22b5b42a7
making libscp a real library
...
some fixes in configuration options
2007-05-06 21:02:25 +00:00
ilsimo
6cbc09be53
added ListenAddress configuration option
2007-03-25 21:20:20 +00:00
ilsimo
5d29a7127b
fixes bug #1595324 in sf.net bugtracker
2007-03-25 14:57:08 +00:00
jsorg71
6886ba4556
copyright year update
2007-01-12 05:07:07 +00:00
jsorg71
cf00c1707d
g_chmod to g_chmod_hex
2006-10-28 03:28:59 +00:00
jsorg71
fe292cec20
make sure /tmp/.X11-unix directoy exist
2006-10-27 04:22:29 +00:00
jsorg71
7cdd7191a4
added ability to put extra Xserver parameters in sesman.ini
2006-09-18 04:40:43 +00:00