Module Name: xsrc Committed By: maya Date: Fri Oct 26 11:13:29 UTC 2018
Modified Files: xsrc/external/mit/xorg-server/dist/hw/xfree86/os-support/bsd: bsd_init.c Log Message: Don't error if we are unprivileged To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 \ xsrc/external/mit/xorg-server/dist/hw/xfree86/os-support/bsd/bsd_init.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: xsrc/external/mit/xorg-server/dist/hw/xfree86/os-support/bsd/bsd_init.c diff -u xsrc/external/mit/xorg-server/dist/hw/xfree86/os-support/bsd/bsd_init.c:1.8 xsrc/external/mit/xorg-server/dist/hw/xfree86/os-support/bsd/bsd_init.c:1.9 --- xsrc/external/mit/xorg-server/dist/hw/xfree86/os-support/bsd/bsd_init.c:1.8 Thu Aug 11 00:04:31 2016 +++ xsrc/external/mit/xorg-server/dist/hw/xfree86/os-support/bsd/bsd_init.c Fri Oct 26 11:13:29 2018 @@ -165,11 +165,6 @@ xf86OpenConsole() #endif if (serverGeneration == 1) { - /* check if we are run with euid==0 */ - if (geteuid() != 0) { - FatalError("xf86OpenConsole: Server must be suid root"); - } - if (!KeepTty) { /* * detaching the controlling tty solves problems of kbd character