patches/gdm-10-no-recreate-sockets.diff
changeset 14638 27ceb9334364
parent 14637 3e5c618bf7e8
child 14639 9cdb9288433c
--- a/patches/gdm-10-no-recreate-sockets.diff	Fri Nov 21 07:04:34 2008 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,26 +0,0 @@
---- gdm-2.20.8/daemon/misc.c-orig	2008-11-12 16:53:54.907548000 -0600
-+++ gdm-2.20.8/daemon/misc.c	2008-11-12 16:53:58.406566000 -0600
-@@ -874,7 +874,11 @@ ensure_tmp_socket_dir (const char *dir)
-  * Done on startup and when running display_manage
-  * This can do some sanity ensuring, one of the things it does now is make
-  * sure /tmp/.ICE-unix and /tmp/.X11-unix exist and have the correct
-- * permissions
-+ * permissions.
-+ *
-+ * Do nothing on Solaris since this logic breaks Trusted Extensions, and
-+ * the Solaris X permissions model (socket & pipe directories only writable
-+ * by gid-root), and it ignores the Solaris /tmp/.X11-pipe directory.
-  */
- void
- gdm_ensure_sanity (void)
-@@ -882,6 +886,10 @@ gdm_ensure_sanity (void)
- 	uid_t old_euid;
- 	gid_t old_egid;
- 
-+#ifdef __sun
-+	return;
-+#endif
-+
- 	old_euid = geteuid ();
- 	old_egid = getegid ();
-