Hello community, here is the log from the commit of package lightdm for openSUSE:Factory checked in at 2013-03-27 19:26:32 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/lightdm (Old) and /work/SRC/openSUSE:Factory/.lightdm.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "lightdm", Maintainer is "" Changes: -------- --- /work/SRC/openSUSE:Factory/lightdm/lightdm.changes 2013-02-22 16:54:18.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.lightdm.new/lightdm.changes 2013-03-27 19:26:33.000000000 +0100 @@ -1,0 +2,11 @@ +Wed Mar 27 08:07:38 UTC 2013 - [email protected] + +- update to version 1.4.1 + - fix script hooks no longer working with latest glib + - ensure test programs quit when the status socket closes + - stop deprecation warnings from glib >= 2.36 +- updated lightdm-use-fine-grained-memory-locking.patch to + incoroporate subsequent commit to use mlockall in session-child + mode + +------------------------------------------------------------------- Old: ---- lightdm-1.4.0.tar.gz New: ---- lightdm-1.4.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ lightdm.spec ++++++ --- /var/tmp/diff_new_pack.kKJePm/_old 2013-03-27 19:26:39.000000000 +0100 +++ /var/tmp/diff_new_pack.kKJePm/_new 2013-03-27 19:26:39.000000000 +0100 @@ -28,7 +28,7 @@ %endif Name: lightdm -Version: 1.4.0 +Version: 1.4.1 Release: 0 Summary: Lightweight, Cross-desktop Display Manager License: GPL-3.0+ ++++++ lightdm-1.4.0.tar.gz -> lightdm-1.4.1.tar.gz ++++++ ++++ 19927 lines of diff (skipped) ++++++ lightdm-disable-utmp-handling.patch ++++++ --- /var/tmp/diff_new_pack.kKJePm/_old 2013-03-27 19:26:39.000000000 +0100 +++ /var/tmp/diff_new_pack.kKJePm/_new 2013-03-27 19:26:39.000000000 +0100 @@ -1,5 +1,5 @@ # HG changeset patch -# Parent f1d31c63d810bec712b3afc90771bbb42d47bacb +# Parent 83c91517728575dac90a7c56970422eaf68a630f disable utmp handling since this is handled in the Xstartup/Xreset scripts diff --git a/src/session-child.c b/src/session-child.c @@ -15,7 +15,7 @@ #include "session-child.h" #include "session.h" -@@ -525,6 +527,7 @@ session_child_run (int argc, char **argv +@@ -527,6 +529,7 @@ session_child_run (int argc, char **argv /* Wait for the command to complete (blocks) */ if (child_pid > 0) { @@ -23,7 +23,7 @@ /* Log to utmp */ if (g_strcmp0 (class, XDG_SESSION_CLASS_GREETER) != 0) { -@@ -550,10 +553,10 @@ session_child_run (int argc, char **argv +@@ -552,10 +555,10 @@ session_child_run (int argc, char **argv g_printerr ("Failed to write utmpx: %s\n", strerror (errno)); endutxent (); } @@ -36,7 +36,7 @@ /* Log to utmp */ if (g_strcmp0 (class, XDG_SESSION_CLASS_GREETER) != 0) { -@@ -579,6 +582,7 @@ session_child_run (int argc, char **argv +@@ -581,6 +584,7 @@ session_child_run (int argc, char **argv g_printerr ("Failed to write utmpx: %s\n", strerror (errno)); endutxent (); } ++++++ lightdm-fix-determining-active-display.patch ++++++ --- /var/tmp/diff_new_pack.kKJePm/_old 2013-03-27 19:26:39.000000000 +0100 +++ /var/tmp/diff_new_pack.kKJePm/_new 2013-03-27 19:26:39.000000000 +0100 @@ -3,7 +3,7 @@ # Date 1354075156 -46800 # Branch lightdm # Node ID ed6e0407be07304f9a7e95b1723205363e2914f7 -# Parent a2ded106d9a556fbadb661003e300cd3d0c49a1f +# Parent b5db3bab54faaebf030dcedf98a889753ff1a8b7 Correctly work out the active display from the active VT when it exits so a greeter starts diff --git a/src/display.c b/src/display.c @@ -351,7 +351,7 @@ /* If already logged in, then switch to that display */ if (g_strcmp0 (display_get_username (display), username) == 0) { -@@ -427,11 +427,51 @@ check_stopped (Seat *seat) +@@ -425,11 +425,51 @@ check_stopped (Seat *seat) static void display_stopped_cb (Display *display, Seat *seat) { @@ -405,7 +405,7 @@ check_stopped (seat); } -@@ -502,7 +542,7 @@ switch_to_user_or_start_greeter (Seat *s +@@ -500,7 +540,7 @@ switch_to_user_or_start_greeter (Seat *s g_signal_emit (seat, signals[DISPLAY_ADDED], 0, display); /* Switch to this display if currently not looking at anything */ @@ -414,7 +414,7 @@ seat_set_active_display (seat, display); return display_start (display); -@@ -610,25 +650,30 @@ seat_real_start (Seat *seat) +@@ -608,25 +648,30 @@ seat_real_start (Seat *seat) static void seat_real_set_active_display (Seat *seat, Display *display) { @@ -459,7 +459,7 @@ } static void -@@ -664,8 +709,6 @@ seat_finalize (GObject *object) +@@ -662,8 +707,6 @@ seat_finalize (GObject *object) g_hash_table_unref (self->priv->properties); g_free (self->priv->guest_username); g_list_free_full (self->priv->displays, g_object_unref); @@ -468,7 +468,7 @@ G_OBJECT_CLASS (seat_parent_class)->finalize (object); } -@@ -678,6 +721,7 @@ seat_class_init (SeatClass *klass) +@@ -676,6 +719,7 @@ seat_class_init (SeatClass *klass) klass->setup = seat_real_setup; klass->start = seat_real_start; klass->set_active_display = seat_real_set_active_display; ++++++ lightdm-make-sessions-inherit-system-default-locale.patch ++++++ --- /var/tmp/diff_new_pack.kKJePm/_old 2013-03-27 19:26:39.000000000 +0100 +++ /var/tmp/diff_new_pack.kKJePm/_new 2013-03-27 19:26:39.000000000 +0100 @@ -1,5 +1,5 @@ # HG changeset patch -# Parent 5c75825170f86b5485f5d543e87bfb7acf7418f1 +# Parent 4b1e0a3dcb9abdff34e0512239e2dad71be9d639 Make greeter and user sessions inherit the system default locale diff --git a/src/session-child.c b/src/session-child.c @@ -23,9 +23,9 @@ + NULL + }; + #if !defined(GLIB_VERSION_2_36) g_type_init (); - -@@ -319,6 +332,17 @@ session_child_run (int argc, char **argv +@@ -321,6 +334,17 @@ session_child_run (int argc, char **argv pam_putenv (pam_handle, g_strdup_printf ("LOGNAME=%s", username)); pam_putenv (pam_handle, g_strdup_printf ("HOME=%s", user_get_home_directory (user))); pam_putenv (pam_handle, g_strdup_printf ("SHELL=%s", user_get_shell (user))); ++++++ lightdm-set-gdmflexiserver-envvar.patch ++++++ --- /var/tmp/diff_new_pack.kKJePm/_old 2013-03-27 19:26:39.000000000 +0100 +++ /var/tmp/diff_new_pack.kKJePm/_new 2013-03-27 19:26:39.000000000 +0100 @@ -3,7 +3,7 @@ diff --git a/src/session-child.c b/src/session-child.c --- a/src/session-child.c +++ b/src/session-child.c -@@ -459,10 +459,7 @@ session_child_run (int argc, char **argv +@@ -461,10 +461,7 @@ session_child_run (int argc, char **argv g_free (value); } ++++++ lightdm-sysconfig-support.patch ++++++ --- /var/tmp/diff_new_pack.kKJePm/_old 2013-03-27 19:26:39.000000000 +0100 +++ /var/tmp/diff_new_pack.kKJePm/_new 2013-03-27 19:26:39.000000000 +0100 @@ -204,7 +204,7 @@ static void log_cb (const gchar *log_domain, GLogLevelFlags log_level, const gchar *message, gpointer data) { -@@ -1062,6 +1174,9 @@ main (int argc, char **argv) +@@ -1064,6 +1176,9 @@ main (int argc, char **argv) g_mkdir_with_parents (dir, S_IRWXU | S_IXGRP | S_IXOTH); g_free (dir); ++++++ lightdm-use-fine-grained-memory-locking.patch ++++++ --- /var/tmp/diff_new_pack.kKJePm/_old 2013-03-27 19:26:39.000000000 +0100 +++ /var/tmp/diff_new_pack.kKJePm/_new 2013-03-27 19:26:39.000000000 +0100 @@ -3,7 +3,7 @@ # Date 1359392941 18000 # Branch precise-mlock # Node ID 5b070d44540db1caad11c998a8678aafb1a2f4a5 -# Parent ce5521d07555b291eb3a9cdc56a13e634dd951a9 +# Parent d081c8a9fe6290bacdd7b2aeb2895f05f3d837f3 Use libgcrypt to selectively secure password memory instead of the big-hammer approach of mlockall diff --git a/src/Makefile.am b/src/Makefile.am @@ -199,7 +199,7 @@ #include "configuration.h" #include "opensuse-sysconfig.h" -@@ -1194,12 +1193,6 @@ main (int argc, char **argv) +@@ -1196,12 +1195,6 @@ main (int argc, char **argv) NULL, NULL); @@ -215,7 +215,15 @@ diff --git a/src/session-child.c b/src/session-child.c --- a/src/session-child.c +++ b/src/session-child.c -@@ -67,7 +67,7 @@ read_data (void *buf, size_t count) +@@ -14,6 +14,7 @@ + #if 0 + #include <utmpx.h> + #endif ++#include <sys/mman.h> + + #include "session-child.h" + #include "session.h" +@@ -67,7 +68,7 @@ read_data (void *buf, size_t count) } static gchar * @@ -224,7 +232,7 @@ { int length; char *value; -@@ -82,13 +82,19 @@ read_string () +@@ -82,13 +83,19 @@ read_string () return NULL; } @@ -245,7 +253,7 @@ static int pam_conv_cb (int msg_length, const struct pam_message **msg, struct pam_response **resp, void *app_data) { -@@ -139,7 +145,9 @@ pam_conv_cb (int msg_length, const struc +@@ -139,7 +146,9 @@ pam_conv_cb (int msg_length, const struc for (i = 0; i < msg_length; i++) { struct pam_response *r = &response[i]; @@ -256,3 +264,16 @@ read_data (&r->resp_retcode, sizeof (r->resp_retcode)); } +@@ -203,6 +212,12 @@ session_child_run (int argc, char **argv + g_type_init (); + #endif + ++ if (config_get_boolean (config_get_instance (), "LightDM", "lock-memory")) ++ { ++ /* Protect memory from being paged to disk, as we deal with passwords */ ++ mlockall (MCL_CURRENT | MCL_FUTURE); ++ } ++ + /* Make input non-blocking */ + fd = open ("/dev/null", O_RDONLY); + dup2 (fd, STDIN_FILENO); ++++++ lightdm-use-run-dir.patch ++++++ --- /var/tmp/diff_new_pack.kKJePm/_old 2013-03-27 19:26:39.000000000 +0100 +++ /var/tmp/diff_new_pack.kKJePm/_new 2013-03-27 19:26:39.000000000 +0100 @@ -1,5 +1,6 @@ # HG changeset patch -# Parent 906eb9b6696bfdb9384e7216707dce5351291fc5 +# Parent 788806e5071ea442b6e6e1fb7d303bd6d38aa9ec +Use /run instead of localstatedir/run/lightdm diff --git a/src/Makefile.am b/src/Makefile.am --- a/src/Makefile.am ++++++ lightdm-xauthlocalhostname-support.patch ++++++ --- /var/tmp/diff_new_pack.kKJePm/_old 2013-03-27 19:26:39.000000000 +0100 +++ /var/tmp/diff_new_pack.kKJePm/_new 2013-03-27 19:26:39.000000000 +0100 @@ -1,4 +1,4 @@ -set XAUTHLOCALHOSTNAME to localhost for local logins to avoid issues in the session in case the hostname changes +Set XAUTHLOCALHOSTNAME to the hostname for local logins to avoid issues in the session in case the hostname changes diff --git a/src/Makefile.am b/src/Makefile.am --- a/src/Makefile.am -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
