Commit Graph

24 Commits

Author SHA1 Message Date
matt335672
ddff9ebb32 Refactor xrdp_listen to allow for privilege drop
- xrdp_listen.c is refactored so we can create the
  listening socket(s) before dropping privileges.
- The code which reads startup params from xrdp.ini
  is moved from xrdp_listen.c to xrdp.c, so it
  is only called once if we test the listen before
  starting the daemon.
2024-07-01 11:11:21 +01:00
Alexandre Quesnel
bb9d3079c0 Fixing formatting with astyle in common/* 2021-03-14 23:33:31 +00: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
f93074a430 Add unnamed semaphore support on Mac OS
sem_init() is not functional on Mac OS. Use the Grand Central Dispatch
implementation.

Make libscp_lock.c use semaphores through the thread_calls wrapper.
2016-04-23 00:26:46 -07:00
Jay Sorg
374633e63f common: no logic change, update comments 2014-03-01 23:26:40 -08: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
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
bb7898419f update copyright year 2010-10-19 20:00:38 -07:00
jsorg71
6c5f82fd04 update copyright year 2009-02-02 08:01:44 +00:00
jsorg71
5ed8c4b4d4 added threadid_equal 2008-08-13 07:44:00 +00:00
jsorg71
38b789e81f update copyright year 2008-01-30 07:30:10 +00:00
jsorg71
311b688ad7 long to tbus 2007-11-03 07:18:48 +00:00
jsorg71
b8cfd8cd70 licence change 2007-02-07 03:37:26 +00:00
jsorg71
281d804923 thread_calls and added semaphore 2007-02-04 07:54:23 +00:00
jsorg71
c94344a6f4 work on threads 2007-02-03 06:17:24 +00:00
jsorg71
02cd95ebef copyright year update 2007-01-12 05:01:58 +00:00
jsorg71
00d8b7106f commit patch 1589325, slightly modified - code cleanup 2006-11-04 22:05:06 +00:00
jsorg71
e00f110d54 win32 fix 2006-09-23 02:01:13 +00:00
jsorg71
e0d2711c90 win32 thread creation fix 2006-09-23 01:57:16 +00:00
jsorg71
b65409683b copyright year updates 2006-03-21 02:05:38 +00:00
jsorg71
e91c34f803 get_threadid should return long 2005-12-14 01:18:06 +00:00
jsorg71
41df89c7f2 moved some files around 2005-06-28 03:04:36 +00:00