xserver/hw/xfree86/os-support
Hans de Goede 81bcada14e linux: Add a may_fail paramter to linux_parse_vt_settings
linux_parse_vt_settings() was split out of xf86OpenConsole so that it can
be called earlier during systemd-logind init, but it is possible to run
the xserver in such a way that xf86OpenConsole() is never used.

The FatalError calls in linux_parse_vt_settings() may stop the Xorg xserver
from working when e.g. no /dev/tty0 is present in such a setup.

This commit adds a may_fail parameter to linux_parse_vt_settings() which
can be used to make linux_parse_vt_settings() fail silenty with an error
return in this case, rather then calling FatalError().

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
2015-06-03 11:31:41 +02:00
..
bsd Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
bus Convert hw/xfree86 to new *allocarray functions 2015-04-21 16:58:08 -07:00
hurd Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
linux linux: Add a may_fail paramter to linux_parse_vt_settings 2015-06-03 11:31:41 +02:00
misc Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
shared Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
solaris Remove apSolaris.shar (old "aperture" kernel driver for Solaris) 2015-04-21 16:57:07 -07:00
stub xfree86: Remove xf86ReadBIOS 2014-09-16 11:58:53 -04:00
Makefile.am xfree86: Add stubs for os-support to help adding new architecture support 2011-10-15 21:18:47 -07:00
int10Defines.h Remove RCS tags. Fix Xprint makefile braindamage. 2006-07-21 17:56:00 -04:00
xf86OSpriv.h xfree86: Remove xf86LinearVidMem 2014-09-16 11:58:53 -04:00
xf86_OSlib.h Solaris: Move shared declarations to xf86_OSlib.h 2014-12-19 18:16:19 -08:00
xf86_OSproc.h Drop trailing whitespaces 2014-11-12 10:25:00 +10:00