Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | Use const unsigned for hex arrays | Pavel Roskin | 2016-07-08 | 2 | -3/+3 | |
| | | | | | | Some constants are too big for the signed type. | |||||
| * | Fix warnings detected by -Wwrite-strings | Pavel Roskin | 2016-07-08 | 10 | -32/+35 | |
| | | ||||||
| * | Make program_name constant, don't duplicate or free it | Pavel Roskin | 2016-07-08 | 2 | -2/+2 | |
| | | ||||||
| * | Remove commented out config_read_logging(), the code is long dead | Pavel Roskin | 2016-07-08 | 1 | -55/+0 | |
| | | ||||||
| * | Remove unused string support in scp_session_set_addr() | Pavel Roskin | 2016-07-08 | 5 | -44/+6 | |
| | | | | | | | | | | | | | | | | Using the same argument for binary and text data is not a good idea. If string support is ever needed, it should be a separate function. Remove SCP_ADDRESS_TYPE_IPV4_BIN and SCP_ADDRESS_TYPE_IPV6_BIN, use SCP_ADDRESS_TYPE_IPV4 and SCP_ADDRESS_TYPE_IPV6, which simplifies the code. | |||||
| * | Downgrade "libscp initialized" to LOG_LEVEL_DEBUG, remove line number | Pavel Roskin | 2016-07-08 | 1 | -1/+1 | |
| | | | | | | | | It's a bad style to start the log with a cryptic warning. | |||||
| * | Fix scp_init() invocation, it takes no arguments | Pavel Roskin | 2016-07-08 | 2 | -2/+2 | |
| | | ||||||
| * | Fix format warnings in log_message() calls | Pavel Roskin | 2016-06-21 | 3 | -4/+4 | |
| | | ||||||
| * | Report pid and listening address/port for xrdp and xrdp-sesman | Pavel Roskin | 2016-06-21 | 1 | -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. | |||||
| * | Rename SESMAN_CFG_X11DISPLAYOFFSET to SESMAN_CFG_SESS_X11DISPLAYOFFSET | Pavel Roskin | 2016-06-21 | 2 | -2/+2 | |
| | | | | | | | | | | Move it to other session options in config.h. X11DisplayOffset is part of the [Sessions] section. | |||||
| * | Fix incorrect use of "it's" and "its", adjust wording | Pavel Roskin | 2016-06-21 | 1 | -1/+1 | |
| | | ||||||
* | | Merge pull request #388 from metalefty/freebsd/fuse | jsorg71 | 2016-08-05 | 1 | -1/+1 | |
|\ \ | | | | | | | sesman: Add /sbin to PATH for FreeBSD | |||||
| * | | sesman: Add /sbin to PATH for FreeBSD | Koichiro IWAO | 2016-06-20 | 1 | -1/+1 | |
| |/ | | | | | | | | | | | | | | | | | | | | | to enable to execute FUSE mount program. The place of FUSE mount programs are: FreeBSD : /sbin/mount_fusefs GNU/Linux : /bin/fusermount See also #387. | |||||
* | | Merge branch 'devel' of https://github.com/neutrinolabs/xrdp into devel | speidy | 2016-07-26 | 5 | -35/+667 | |
|\ \ | ||||||
| * | | chansrv: avoid chansrv SEGV when xinode is NULL | Kentaro Hayashi | 2016-07-21 | 2 | -1/+10 | |
| | | | | | | | | | | | | | | | | | | | | | When xfuse_create_file_in_xrdp_fs is failed, it returns NULL. Without this fix, xinode->size causes SEGV, so implementation is changed to return -1 and check the return value in caller. | |||||
| * | | chansrv: added mp3 compression from Speidy | Jay Sorg | 2016-07-13 | 3 | -34/+657 | |
| |/ | ||||||
* | | sesman: env_set_user, fix potential bof issues | speidy | 2016-07-22 | 3 | -29/+71 | |
|/ | ||||||
* | Remove unused variable in devredir_cvt_from_unicode_len() | Pavel Roskin | 2016-05-06 | 1 | -2/+1 | |
| | ||||||
* | Remove unused variables from dev_redir_proc_query_dir_response() | Pavel Roskin | 2016-05-06 | 1 | -15/+5 | |
| | ||||||
* | Check XGetWindowProperty() return code in clipboard_event_property_notify() | Pavel Roskin | 2016-05-06 | 1 | -0/+10 | |
| | ||||||
* | Use better symbols to protect include files | Pavel Roskin | 2016-05-05 | 2 | -4/+4 | |
| | ||||||
* | Typo fixes | Pavel Roskin | 2016-05-04 | 5 | -5/+5 | |
| | ||||||
* | Merge pull request #360 from proski/format-warnings | jsorg71 | 2016-05-03 | 11 | -55/+59 | |
|\ | | | | | Warning fixes | |||||
| * | Fix warnings for unused variables read from byte streams | Pavel Roskin | 2016-04-23 | 3 | -8/+6 | |
| | | ||||||
| * | Fix recently introduced warnings in session.c | Pavel Roskin | 2016-04-21 | 1 | -10/+10 | |
| | | | | | | Use of tabs is fixed as well. | |||||
| * | Fix warnings about unused variables and functions | Pavel Roskin | 2016-04-21 | 4 | -2/+8 | |
| | | ||||||
| * | Fix more format warnings | Pavel Roskin | 2016-04-21 | 4 | -35/+35 | |
| | | ||||||
* | | Add unnamed semaphore support on Mac OS | Pavel Roskin | 2016-04-23 | 1 | -11/+11 | |
|/ | | | | | | | 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. | |||||
* | Merge pull request #359 from metalefty/sesman/configurable-xserver-path | jsorg71 | 2016-04-18 | 3 | -11/+25 | |
|\ | | | | | sesman: do not hardcode Xorg/X11rdp/Xvnc executables | |||||
| * | sesman: do not hardcode Xorg/X11rdp/Xvnc executables | Koichiro IWAO | 2016-04-07 | 2 | -7/+23 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In RHEL and its clones, /usr/bin/Xorg is set suid-root. To execute Xorg with user privileges, /etc/pam.d/xserver needs be edited [1], or suid bit of Xorg binary needs to be dropped. In order to keep Xorg and /etc/pam.d/xserver untouched, preparing non-suid version of Xorg as /usr/bin/Xorg.non-suid for example is the simplest solution. However, Xorg.non-suid cannot be executed since it is hardcoded to execute Xorg in sesman. This change makes more flexible to execute Xorg with non-standard name or not in PATH environment variable. [1] https://www.centos.org/forums/viewtopic.php?t=21185 | |||||
| * | sesman: brief xorg_params, no logic change | Koichiro IWAO | 2016-04-07 | 1 | -4/+2 | |
| | | ||||||
* | | Do not attempt to trap SIGKILL part 2 | Koichiro IWAO | 2016-04-11 | 1 | -6/+0 | |
|/ | | | | it doesn't work on any OS. | |||||
* | Fix compile error "format not a string literal and no format arguments ↵ | NerdKnight | 2016-03-28 | 1 | -1/+1 | |
| | | | | [-Werror=format-security]" | |||||
* | fix a warning | Jay Sorg | 2016-03-16 | 1 | -1/+1 | |
| | ||||||
* | fix warnings, move some calls to os_calls | Jay Sorg | 2016-03-16 | 2 | -10/+12 | |
| | ||||||
* | Fix all format warnings and some unused variable warnings | Jay Sorg | 2016-03-14 | 3 | -4/+3 | |
| | ||||||
* | Don't attempt to intercept SIGKILL, it doesn't work on any OS | Jay Sorg | 2016-03-14 | 3 | -3/+0 | |
| | ||||||
* | Merge pull request #333 from proski/key-install | Itamar Reis Peixoto | 2016-02-24 | 1 | -9/+4 | |
|\ | | | | | Key install (generate rsakeys.ini during make install) | |||||
| * | Use SCRIPTS for executable scripts, don't use "chmod 755" | Pavel Roskin | 2016-02-22 | 1 | -5/+3 | |
| | | ||||||
| * | Use "dist_" prefix to minimize use of EXTRA_DIST | Pavel Roskin | 2016-02-22 | 1 | -4/+1 | |
| | | | | | | "dist" is ignored in presense of "noinst", so keep noinst_man_MANS. | |||||
* | | Merge pull request #326 from metalefty/pulseaudio-6.0 | jsorg71 | 2016-02-23 | 2 | -1/+10 | |
|\ \ | |/ |/| | pulse: fix build pulseaudio 6.0 or higher | |||||
| * | pulse: fix build pulseaudio 6.0 or higher | Koichiro IWAO | 2016-02-18 | 2 | -1/+10 | |
| | | | | | | | | | | | | | | | | | | | | | | | | Discovered in #321. The number of argument for pa_rtpoll_run have been changed since 6.0. >=6.0 : int pa_rtpoll_run(pa_rtpoll *f); <6.0 : int pa_rtpoll_run(pa_rtpoll *f, bool wait); Check pulseaudio version by PA_CHECK_VERSION macro introduced since pulseaudio 0.9.16. In case PA_CHECK_VERSION is not defined, pa_rtpoll_run takes 2 arguments. | |||||
* | | Move headers from EXTRA_DIST to sources, sort alphabetically | Pavel Roskin | 2016-02-21 | 4 | -38/+58 | |
|/ | | | | There should be no functional difference. | |||||
* | xrdp-sesadmin: show help and exit if mandatory arguments are not given | Pavel Roskin | 2016-02-14 | 1 | -2/+9 | |
| | | | | Don't mark password as mandatory, it's asked if not provided on the command line. | |||||
* | Fix typos | Pavel Roskin | 2016-02-13 | 23 | -43/+43 | |
| | ||||||
* | Fix connection month display in xrdp-sesadmin | Pavel Roskin | 2016-02-13 | 1 | -1/+1 | |
| | | | | | | | tm_mon in `struct tm` uses 0 for January. `struct session_data` and `struct SCP_DISCONNECTED_SESSION` don't specify how dates are stored. But considering the code in sestest and sesadmin, all date components are stored as displayed. | |||||
* | Use lowercase program names for syslog | Pavel Roskin | 2016-02-13 | 3 | -3/+3 | |
| | | | Other programs typically use the same case as their execulables. | |||||
* | Stop redefining libdir, use moduledir for ${libdir}/xrdp | Pavel Roskin | 2016-02-12 | 1 | -1/+1 | |
| | | | | | | | libdir is for shared and static libraries. Some xrdp libraries are loaded dynamically from a non-standard directory, so they are used like modules. Having separate libdir and moduledir would eventually allow to separate dynamically loaded modules from shared libraries. | |||||
* | Don't ignore files known to git | Pavel Roskin | 2016-02-12 | 2 | -0/+2 | |
| | | | | | | | | | | | | | That can cause unexpected behavior, especially with third party tools. The ignored files will be lost if the source tree is re-imported to another git repository, unless special care is taken. Whitelist all non-generated makefiles. To whitelist instfiles/pam.d/xrdp-sesman, add path to all generated executables listed in the top-level .gitignore, sort .gitignore alphabetically. Add mkinstalldir, it's used by Automake on some systems. | |||||
* | Add missing spaces in the strings that are split for line wrapping | Pavel Roskin | 2016-02-12 | 3 | -3/+3 | |
| |