Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gdm-manager: Plug a memory leak | Alessandro Bono | 2023-04-28 | 1 | -1/+1 |
| | | | | client_session_is is not freed. While at it, use g_autofree. | ||||
* | gdm-server: Plug a memory leak | Alessandro Bono | 2023-04-28 | 1 | -9/+3 |
| | | | | | identifier was not freed. While at it use g_autofree and simplify how the identifier is created. | ||||
* | gdm-local-display: Remove dead code | Alessandro Bono | 2023-04-28 | 1 | -4/+0 |
| | |||||
* | gdm-local-display-factory: Remove unused variable | Alessandro Bono | 2023-04-28 | 1 | -1/+0 |
| | |||||
* | gdm-local-display-factory: Move variables to inner scope | Alessandro Bono | 2023-04-28 | 1 | -3/+4 |
| | |||||
* | gdm-legacy-display: Use g_auto* | Alessandro Bono | 2023-04-28 | 1 | -13/+6 |
| | |||||
* | gdm-legacy-display: Plug a memory leak | Alessandro Bono | 2023-04-28 | 1 | -7/+3 |
| | | | | | display_name and seat_id were leaked. While at it, use g_autoptr() for launch_environment. | ||||
* | gdm-launch-environment: Use g_auto* | Alessandro Bono | 2023-04-28 | 1 | -36/+21 |
| | |||||
* | gdm-launch-environment: Remove redudant check | Alessandro Bono | 2023-04-28 | 1 | -2/+0 |
| | | | | | g_return_if_fail (GDM_IS_LAUNCH_ENVIRONMENT (object)) already checks it it is NULL. | ||||
* | gdm-display: Use g_auto* | Alessandro Bono | 2023-04-28 | 1 | -64/+25 |
| | |||||
* | gdm-display: Plug a memory leak | Alessandro Bono | 2023-04-28 | 1 | -2/+1 |
| | | | | error was not freed in the second if branch. While at it use g_autoptr. | ||||
* | gdm-display-access-file: Use g_auto* | Alessandro Bono | 2023-04-28 | 1 | -42/+20 |
| | |||||
* | gdm-dbus-util: Use g_auto* | Alessandro Bono | 2023-04-28 | 1 | -27/+12 |
| | |||||
* | session-worker: fix finalize criticals when user_settings is NULL | Michael Catanzaro | 2023-03-27 | 1 | -1/+1 |
| | | | | | | | This is a really classic case where we try to call g_object_unref() on an object that is expected to be NULL. Don't do that. Fixes #730 | ||||
* | added sighup handler for session-worker-main | gangmo seong | 2023-03-03 | 1 | -0/+8 |
| | |||||
* | session-worker-job: minor cleanups | Ignacio Casal Quinteiro | 2023-01-20 | 1 | -43/+25 |
| | |||||
* | gdm-session: Add missing guards in public functions | Alessandro Bono | 2022-10-29 | 1 | -7/+40 |
| | |||||
* | gdm-session-worker-job: Add missing guards in public functions | Alessandro Bono | 2022-10-29 | 1 | -0/+6 |
| | |||||
* | gdm-session-settings: Add missing guards in public functions | Alessandro Bono | 2022-10-29 | 1 | -1/+3 |
| | |||||
* | gdm-session-auditor: Add missing guards in public functions | Alessandro Bono | 2022-10-29 | 1 | -0/+12 |
| | |||||
* | gdm-server: Add missing guards in public functions | Alessandro Bono | 2022-10-29 | 1 | -0/+4 |
| | |||||
* | gdm-manager: Add missing guards in public functions | Alessandro Bono | 2022-10-29 | 1 | -0/+4 |
| | |||||
* | gdm-launch-environment: Add missing guards in public functions | Alessandro Bono | 2022-10-29 | 1 | -0/+8 |
| | |||||
* | gdm-display: Add missing guards in public functions | Alessandro Bono | 2022-10-29 | 1 | -0/+13 |
| | |||||
* | gdm-display-store: Add missing guards in public functions | Alessandro Bono | 2022-10-29 | 1 | -8/+8 |
| | |||||
* | gdm-display-factory: Add missing guards in public functions | Alessandro Bono | 2022-10-29 | 1 | -0/+2 |
| | |||||
* | gdm-display-access-file: Add missing guards in public functions | Alessandro Bono | 2022-10-29 | 1 | -6/+10 |
| | |||||
* | gdm-dbus-util: Add missing guards in public functions | Alessandro Bono | 2022-10-29 | 1 | -0/+6 |
| | |||||
* | gdm-local-display-factory: Move early return on top | Alessandro Bono | 2022-10-28 | 1 | -27/+29 |
| | | | | | | There is no need to perform all the checks if the display is already created. While at it, add a debug message to make easier to understand the message when a display already exists. | ||||
* | gdm-local-display-factory: Improve debug message | Alessandro Bono | 2022-10-28 | 1 | -1/+1 |
| | |||||
* | gdm-local-display-factory: Move display existence check to its own function | Alessandro Bono | 2022-10-28 | 1 | -8/+22 |
| | |||||
* | gdm-local-display-factory: Remove redundant check | Alessandro Bono | 2022-10-28 | 1 | -4/+6 |
| | | | | | | | | | | There is no case where seat_supports_graphics is TRUE while session_types is NULL. Thus, after the following check: ``` if (!seat_supports_graphics) return; ``` we can assume that session_types won't be NULL. | ||||
* | gdm-local-display-factory: Move variables to inner scopes | Alessandro Bono | 2022-10-28 | 1 | -2/+4 |
| | |||||
* | gdm-local-display-factory: Remove unused variables | Alessandro Bono | 2022-10-28 | 1 | -5/+0 |
| | |||||
* | gdm-local-display-factory: Set is_seat0 right away | Alessandro Bono | 2022-10-28 | 1 | -5/+2 |
| | |||||
* | gdm-session-worker: Assert that service cannot be NULL | Alessandro Bono | 2022-10-27 | 1 | -0/+1 |
| | | | | | pam_start() requires the first, third and fourth arguments to not be NULL. Assert that the first one is not NULL. | ||||
* | gdm-display: Simplify code | Alessandro Bono | 2022-10-27 | 1 | -5/+1 |
| | | | | | | | | | Just pass the error we received from the caller. While this doesn't change much, it avoids a scan-build warning: ../daemon/gdm-display.c:213:73: warning: Access to field 'message' results in a dereference of a null pointer (loaded from variable 'error') [core.NullDereference] g_critical ("could not create display access file: %s", error->message); ^~~~~~~~~~~~~~ | ||||
* | gdm-display-access-file: Check _get_uid_and_gid_for_user() return value | Alessandro Bono | 2022-10-27 | 1 | -1/+9 |
| | | | | | | While it is unlikely that the gdm user is not installed on the system, check the returning value of _get_uid_and_gid_for_user(), so that we are not going to read a garbage value from the gid variable. | ||||
* | gdm-display-access-file: Fix capitalization | Alessandro Bono | 2022-10-27 | 1 | -1/+1 |
| | |||||
* | gdm-session-worker: Remove dead code | Alessandro Bono | 2022-10-27 | 1 | -1/+0 |
| | | | | Value stored to 'fd' is never read. | ||||
* | gdm-session-worker: Remove dead code | Alessandro Bono | 2022-10-27 | 1 | -2/+0 |
| | | | | Values stored to 'ret' and 'aux_buffer_size' are never read. | ||||
* | gdm-display: Remove dead code | Alessandro Bono | 2022-10-27 | 1 | -1/+0 |
| | | | | Value stored to 'ret' is never read | ||||
* | gdm-session-worker-job: Remove dead code | Alessandro Bono | 2022-10-27 | 1 | -2/+0 |
| | | | | Value stored to 'ret' is never read. | ||||
* | manager: Fix btmp record accounting | Ray Strode | 2022-10-27 | 2 | -6/+19 |
| | | | | | | | | | | | | | Before a user logs in they don't have a display. btmp records currently need a display though, and they get written when the user can't log in. Furthermore, the display from X11 point of view is somewhat archaic. We use wayland by default now. In lieu of a display, this commit gives the btmp record the seat id instead. | ||||
* | gdm-local-display-factory: Remove unused variable | Alessandro Bono | 2022-10-27 | 1 | -1/+0 |
| | | | | Unused since eba8deb7f92f473a40a8e277203d86aeab879bd1. | ||||
* | gdm-session-record: Don't use g_get_current_time | Alessandro Bono | 2022-10-27 | 1 | -4/+4 |
| | | | | It is deprecated since GTimeVal is not year-2038 safe. | ||||
* | gdm-xdmcp-display-factory: Use g_clear_handle_id | Alessandro Bono | 2022-10-27 | 1 | -7/+2 |
| | |||||
* | gdm-session-worker: Use g_clear_handle_id | Alessandro Bono | 2022-10-27 | 1 | -12/+1 |
| | |||||
* | gdm-session-worker-job: Use g_clear_handle_id | Alessandro Bono | 2022-10-27 | 1 | -4/+1 |
| | |||||
* | gdm-local-dispay-factory: Use g_clear_handle_id | Alessandro Bono | 2022-10-27 | 1 | -8/+2 |
| |