Commit Graph

144 Commits

Author SHA1 Message Date
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
jsorg71 2a7c40dad8 add unix socket to trans 2009-09-05 03:29:43 +00:00
jsorg71 33b4e7f417 channel fixes 2009-08-15 02:49:13 +00:00
jsorg71 48e06d5267 remove g_signal and change g_waitpid to check for signal 2009-05-29 02:03:10 +00:00
jsorg71 d9ba6c30ca remove g_set_file_rights since g_file_open sets the bits right 2009-05-19 05:04:24 +00:00
jsorg71 c6b9952fa2 work on chansrv 2009-04-20 04:31:24 +00:00
jsorg71 6c5f82fd04 update copyright year 2009-02-02 08:01:44 +00:00
jsorg71 c69bb282d4 added g_signal_* functions 2008-12-30 07:38:56 +00:00
jsorg71 b768e8fb5d remove unset_signals 2008-11-10 01:50:04 +00:00
jsorg71 bb87afc364 added getuid function 2008-05-08 01:39:54 +00:00
jsorg71 11c5d72c55 wait objs function changes 2008-04-04 06:50:39 +00:00
jsorg71 53fce709d4 added wait obj functions 2008-03-31 11:07:55 +00:00
jsorg71 38b789e81f update copyright year 2008-01-30 07:30:10 +00:00
jsorg71 d3fa8fd6f6 added g_strtrim 2007-10-27 05:53:19 +00:00
jsorg71 5a2d2d67b5 added g_htoi 2007-10-15 03:47:26 +00:00
jsorg71 a432f91bc6 added g_time2 function 2007-10-03 22:24:29 +00:00
jsorg71 aa3ec01312 added g_file_get_size function 2007-09-26 07:14:22 +00:00
jsorg71 f0a2f53e30 unicode 2007-09-21 07:22:29 +00:00
jsorg71 d5a89b8ce1 added init and deinit functions and windows unicode fixes 2007-09-15 05:48:13 +00:00
jsorg71 8feaa527bc added tcp_socket_ok to test socket status 2007-04-11 03:44:46 +00:00
jsorg71 1d5e0008bd added g_snprintf to header 2007-01-27 17:46:50 +00:00
jsorg71 02cd95ebef copyright year update 2007-01-12 05:01:58 +00:00
jsorg71 e70c98548c added calling convention defaults for os_calls 2006-12-12 06:34:17 +00:00
jsorg71 f9e6578ed9 removed sleep calls from xrdp_tcp 2006-12-09 20:53:48 +00:00
jsorg71 00d8b7106f commit patch 1589325, slightly modified - code cleanup 2006-11-04 22:05:06 +00:00
jsorg71 cf00c1707d g_chmod to g_chmod_hex 2006-10-28 03:28:59 +00:00
jsorg71 bd252214a3 added g_create_dir, g_directory_exist, g_remove_dir, and g_chmod 2006-10-27 04:14:04 +00:00
jsorg71 0a7dc2b687 copyright changes on some files 2006-10-12 04:46:40 +00:00
jsorg71 acc5edf33d got g_file_open working with read only files and added an exe function 2006-09-18 04:37:05 +00:00
jsorg71 2b054f9757 added -ac to Xserver start params 2006-08-14 05:09:58 +00:00
ilsimo 5a6f8dfea5 adding initgroups() to support multiple user groups 2006-07-01 14:25:12 +00:00
jsorg71 2990d6daa7 some solaris fixes and add some funcs for sesman 2006-04-23 21:30:02 +00:00
jsorg71 b65409683b copyright year updates 2006-03-21 02:05:38 +00:00
ilsimo fade58ba2b added g_strcmp 2006-01-11 22:04:08 +00:00
jsorg71 c46c748148 added g_time1 function 2005-12-10 02:26:26 +00:00
jsorg71 97b1407d91 added file delete 2005-11-05 23:51:10 +00:00
jsorg71 5d1c7fb6b5 case insesitive file sections 2005-09-25 04:08:26 +00:00
jsorg71 b51098f521 add pos and unset_signals funcs 2005-08-14 02:23:20 +00:00
jsorg71 666b5dd175 SIGCHLD can differ 2005-07-11 00:41:07 +00:00
jsorg71 7ffee77e6d use os_call in sesman 2005-07-10 00:25:31 +00:00
jsorg71 41df89c7f2 moved some files around 2005-06-28 03:04:36 +00:00
jsorg71 4c8ffafc9a added strncmp 2005-04-02 20:54:54 +00:00
jsorg71 ed041b7983 added get_threadid 2005-03-12 15:50:19 +00:00
jsorg71 5140dac0f5 makefile and header changes 2005-03-11 02:23:30 +00:00
jsorg71 cf6e2abd41 added a bunch of error checks 2005-02-08 03:45:30 +00:00
jsorg71 0aff0efb52 added session manager and fixed disconnect problems 2005-01-30 04:34:19 +00:00
jsorg71 1d03bafb9e added bitmap cache 2005-01-12 00:48:11 +00:00
jsorg71 de80c9ec17 added files from xrdp directory 2005-01-07 00:56:38 +00:00