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
65c1fe87d7
Log user-friendly message when certificate/privkey is inaccessible
...
We shouldn't assume that xrdp daemon is running under root privilege.
In many cases, root privilege is not really needed for xrdp daemon.
xrdp may fail to load certificate/privkey due to lack of permissions
when running under user privilege. Checking existence of files is not
enough and xrdp should output user-friendly log in such case.
Reported by Debian user in bug 856436 [1].
[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=856436
2017-06-12 16:57:04 +09:00
Pavel Roskin
6ed4c969f4
Eliminate APP_CC and DEFAULT_CC
2017-03-14 00:21:48 -07:00
Jay Sorg
3b84314a1a
arch.h changes to include stdint.h
2017-01-29 23:14:33 -08:00
Jay Sorg
9a517b34f0
vnc: code cleanup
2016-12-04 15:39:10 -08:00
Pavel Roskin
6fef1e4eb5
Use const pointers in function arguments when possible
2016-10-17 08:54:07 -07:00
jsorg71
8353baab3d
Merge pull request #390 from proski/june21
...
Cleanups and C++ compatibility
2016-08-05 14:38:41 -07:00
speidy
c9b55e3691
sesman: env_set_user, fix potential bof issues
2016-07-22 04:48:37 -04:00
Pavel Roskin
a24df49241
Introduce glib style macros for allocating memory with type
2016-07-08 04:29:49 +00:00
Pavel Roskin
aeeb3d2c2e
Fix warnings detected by -Wwrite-strings
2016-07-08 04:29:42 +00:00
Pavel Roskin
b1527b7947
Check string format in log_message
...
Move "printflike" definition to arch.h, it's used both by log.h and
os_calls.h.
2016-06-21 16:30:16 -07:00
Pavel Roskin
55e12a09d8
Include config_ac.h from common/os_calls.h to enable all format warnings
2016-04-21 21:20:12 -07:00
jsorg71
034ee36f9c
Merge pull request #341 from proski/sanity-checks
...
Sanity checks
2016-03-16 20:51:58 -07:00
Jay Sorg
689ffe79d9
fix warnings, move some calls to os_calls
2016-03-16 14:32:14 -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
9091c3eef2
Annotate printf-like functions if supported by the compiler
...
Both GCC and Clang support it. Add a macro from Autoconf archive to check
for format attribute support.
2016-03-03 22:56:09 -08:00
Jay Sorg
ab3b8edf4a
common: change wait objs to use 'pipe' and remove per process temp directories in /tmp/.xrdp/
2015-10-06 20:55:47 -07:00
Jay Sorg
5c08ece708
common: add g_mirror_memcpy
2015-08-18 17:14:09 -07:00
Jay Sorg
6b0bbbeefa
common: merge from a8
2014-11-07 22:10:59 -08:00
Jay Sorg
1934c9ea00
sesman: more options for session lookup from Fredy Paquet
2014-04-20 00:42:19 -07:00
Jay Sorg
374633e63f
common: no logic change, update comments
2014-03-01 23:26:40 -08:00
Jay Sorg
43e388b7e5
remove some warning, move gethostname to os_calls
2014-02-08 21:48:44 -08:00
Jay Sorg
48228cae2e
common: added shm to os_calls
2014-01-28 10:38:36 -08:00
Jay Sorg
25369460a1
log client ip with pid, etc
2013-10-02 16:27:12 -07:00
Jay Sorg
7176f14647
added options to set tcp send and recv buffer sizes
2013-10-02 12:52:35 -07:00
Jay Sorg
b598e258a4
add pid logging
2013-10-01 22:42:12 -07:00
Jay Sorg
3acea31439
common: added g_signal_segfault to header
2013-09-09 15:20:49 -07:00
Jay Sorg
1a616a1b46
move text2bool to os_calls
2013-08-24 22:41:44 -07:00
Laxmikant Rashinkar
6ad1d7f78d
folder redirection: fixed language issues
2013-06-08 18:44:21 -07:00
Jay Sorg
a1ca415615
ipv6
2013-04-03 23:06:40 -07:00
Jay Sorg
d9c0af1e78
ipv6
2013-04-03 23:06:08 -07:00
Jay Sorg
8b71f48f7b
adding ipv6 support
2013-04-03 00:16:52 -07:00
LawrenceK
a52dbba1a5
Add g_strchr to os_calls
2012-12-20 07:02:41 +00:00
Jay Sorg
82a8366fc0
added getgid to os_calls
2012-10-29 20:30:48 -07:00
Jay Sorg
e07dd5afb5
added a file open funtion
2012-10-13 22:48:05 -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
ArvidNorr
d2903cd1fc
Merge pull request #28 from ArvidNorr/tcp_nodelay
...
Support for TCP keepalive and TCP no_delay added
2012-06-18 00:00:05 -07:00
norrarvid
e5fb05e9cb
Support for TCP keepalive and TCP no_delay added
2012-06-04 10:11:11 +02:00
norrarvid
02f3fe1e2a
Improved error handling for module load and init, fixed bug in logwindow
2012-05-30 07:40:06 +02:00
Jay Sorg
62bf3c61f5
xrdp: pid file fixes
2012-05-26 21:20:19 -07:00
Jay Sorg
bde5dd6671
added g_close_wait_obj and size parameter to g_write_ip_address
2012-05-26 17:24:04 -07:00
Jay Sorg
cadad6e181
/tmp cleanup
2012-02-14 13:45:24 -08:00
Jay Sorg
35a22ac307
common: added signal for usr1
2012-02-12 22:27:51 -08:00
Jay Sorg
f10e5bbfd5
fix for https://bugzilla.redhat.com/show_bug.cgi?id=782619
2012-02-05 23:26:15 -08:00
Jay Sorg
c5b1b0fe45
added g_chown
2011-07-07 09:09:03 -07:00
Nicola Ruggero
d797b2cf49
Implemented client IP logging
2010-11-04 12:14:03 +01: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
Jay Sorg
1e8b5ea2cd
bind to specific address
2010-10-19 21:23:13 -07:00
Jay Sorg
bb7898419f
update copyright year
2010-10-19 20:00:38 -07:00
jsorg71
0156c1448d
const char for atoi
2010-08-09 22:52:26 +00:00