]> git.pld-linux.org Git - packages/xorg-xserver-server.git/blobdiff - xorg-xserver-server-xwrapper.patch
- up to 1.15.0
[packages/xorg-xserver-server.git] / xorg-xserver-server-xwrapper.patch
index ade1da549727b50a698a74c1f88c32dc373094e4..8c46f36964c9d502d6620dbc586a3621206e606a 100644 (file)
@@ -1,18 +1,18 @@
 --- hw/xfree86/os-support/linux/lnx_init.c     2005-08-26 09:35:55.000000000 +0200
 +++ hw/xfree86/os-support/linux/lnx_init.c     2005-12-22 10:52:06.630963000 +0100
-@@ -104,8 +104,10 @@
+@@ -82,8 +82,10 @@
  
-       /* when KeepTty check if we're run with euid==0 */
-       if (KeepTty && geteuid() != 0) 
--          FatalError("xf86OpenConsole:"
--                     " Server must be suid root for option \"KeepTTY\"\n");
-+          FatalError("xf86OpenConsole: Server must be running with root "
-+                          "permissions\n"
-+                          "You should be using Xwrapper to start the server or xdm.\n"
-+                          "We strongly advise against making the server SUID root!\n");
+         /* when KeepTty check if we're run with euid==0 */
+         if (KeepTty && geteuid() != 0)
+-            FatalError("xf86OpenConsole:"
+-                       " Server must be suid root for option \"KeepTTY\"\n");
++            FatalError("xf86OpenConsole: Server must be running with root "
++                           "permissions\n"
++                           "You should be using Xwrapper to start the server or xdm.\n"
++                           "We strongly advise against making the server SUID root!\n");
  
-       /*
-        * setup the virtual terminal manager
+         /*
+          * setup the virtual terminal manager
 --- os/wrapper.c       1970-01-01 01:00:00.000000000 +0100
 +++ os/wrapper.c       2005-12-22 10:50:53.610963000 +0100
 @@ -0,0 +1,304 @@
This page took 0.118203 seconds and 4 git commands to generate.