matt335672
e529a04d26
Fix session_list scanning where some entries were skipped
2023-12-23 13:10:31 +00:00
matt335672
675dd77807
Parameterise the sockdir with the UID of the user
...
The top level socket directory is now called XRDP_SOCKET_ROOT_PATH.
Below that are user-specific directories referred to with the
XRDP_SOCKET_PATH macro - this name is hard-coded into xorgxrdp and
the audio modules as an environment variable.
XRDP_SOCKET_PATH now looks like $XRDP_SOCKET_ROOT_PATH/<uid>
XRDP_SOCKET_PATH is only writeable by the user, and readable by the user
and the xrdp process.
2023-10-23 18:14:46 +01:00
Daniel Richard G
b191d87e33
Move Linux's no_new_privs call into os_calls
...
This helps keep the application code free of platform-specific cruft.
Also remove a needless #include<sys/prctl.h> from sesman/session_list.c.
2023-05-15 17:40:46 -04:00
matt335672
74cd7d1837
Rework sesman with new files
2023-05-02 11:55:23 +01:00
matt335672
3d95954d87
Move session_list to struct list *
...
This commit now uses the standard list module to manage the active
session list, rather than having special code to do this.
2023-05-02 11:55:22 +01:00
matt335672
8044bd1ecf
Update sesman files left after libsesman created
2023-03-30 13:07:49 +01:00
matt335672
5cb5542d91
Rename session_list module functions
...
Rename functions in the session_list module so it's clearer where
they are defined.
2023-03-24 10:53:23 +00:00
matt335672
fb25de0419
Split sesman/session.c into session.c and session_list.c
2023-03-23 18:12:06 +00:00
matt335672
84c19e05ce
Duplicate session module to session_list module
...
This makes an exact copy of session.[ch] in session_list.[ch].
The intention is to be able to follow changes in git with
the --follow switch
2023-03-23 18:12:06 +00:00