xrdp/sesman/libsesman
Daniel Richard G 1c0c923ad1 Split g_file_open() into _ro() and _rw() variants
Rename g_file_open() to g_file_open_rw(), and add a new g_file_open_ro()
call that wraps the common g_file_open_ex(file, 1, 0, 0, 0) idiom. This
will make the file access mode more explicit in the code.

Change all calls to g_file_open() to the _ro() or _rw() variant as
appropriate, and replace g_file_open_ex(file, 1, 0, 0, 0) with the _ro()
call.

Lastly, add tests for the two new calls to test_os_calls.c (code
courteously provided by matt335672).
2023-05-15 17:38:31 -04:00
..
Makefile.am autotools changes related to new libsesman library 2023-03-29 14:31:30 +01:00
sesman_access.c Update sesman files moved to libsesman 2023-03-29 14:31:30 +01:00
sesman_access.h Update sesman files moved to libsesman 2023-03-29 14:31:30 +01:00
sesman_auth.h Remove explicit auth_stop_session() call 2023-05-02 11:55:22 +01:00
sesman_clip_restrict.c Add new files to libsesman 2023-03-29 14:31:30 +01:00
sesman_clip_restrict.h Add new files to libsesman 2023-03-29 14:31:30 +01:00
sesman_config.c Split g_file_open() into _ro() and _rw() variants 2023-05-15 17:38:31 -04:00
sesman_config.h libsesman: Make x11_display_offset and max_sessions unsigned 2023-05-02 11:55:22 +01:00
verify_user.c Remove explicit auth_stop_session() call 2023-05-02 11:55:22 +01:00
verify_user_bsd.c Update sesman files moved to libsesman 2023-03-29 14:31:30 +01:00
verify_user_kerberos.c Remove explicit auth_stop_session() call 2023-05-02 11:55:22 +01:00
verify_user_pam.c Remove explicit auth_stop_session() call 2023-05-02 11:55:22 +01:00
verify_user_pam_userpass.c Remove explicit auth_stop_session() call 2023-05-02 11:55:22 +01:00