xserver/hw/xfree86/os-support/linux
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
..
int10 int10: Fix error check for pci_device_map_legacy 2015-03-13 12:31:21 +10:00
Makefile.am xfree86: Clean up some more alpha awareness 2014-09-16 11:58:53 -04:00
linux.h linux: Add a may_fail paramter to linux_parse_vt_settings 2015-06-03 11:31:41 +02:00
lnx_acpi.c Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
lnx_agp.c Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
lnx_apm.c Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
lnx_bell.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
lnx_ev56.c xfree86: Remove MMIO_ONB* and friends 2014-07-28 12:19:01 -07:00
lnx_init.c linux: Add a may_fail paramter to linux_parse_vt_settings 2015-06-03 11:31:41 +02:00
lnx_kmod.c Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
lnx_platform.c config: Replace OdevAttributes linked list with struct 2014-07-17 17:10:48 -07:00
lnx_video.c xfree86: Clean up some more alpha awareness 2014-09-16 11:58:53 -04:00
systemd-logind.c systemd-logind: don't second guess D-Bus default timeout 2015-04-17 10:57:48 -07:00