xserver/hw/xfree86/common
Hans de Goede 92ff79f1a8 config_odev*: Use XNF alloc functions
config_odev* functions are called in code-paths were we already use
XNF* functions in other places, so which are not oom safe already.

Besides that oom is something which should simply never happen, so aborting
when it does is as good a response as any other.

While switching to XNF functions also fixup an unchecked strdup case.

Note the function prototypes are kept unchanged, as they are part of the
server ABI.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
2014-03-12 08:50:05 +01:00
..
.gitignore .gitignore: use common defaults with custom section #24239 2009-11-11 21:40:20 -08:00
Makefile.am Replace INCLUDES with AM_CPPFLAGS 2013-08-06 13:08:13 +10:00
compiler.h ARM64: Add support for aarch64 2013-11-06 16:41:49 -08:00
dgaproc.h hw/xfree86: Lots of constant string support 2014-01-12 10:14:48 -08:00
extramodes Remove some default modes that really shouldn't be in the default set. 2008-06-24 10:40:36 -04:00
fourcc.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
modeline2c.awk Remove some OS/2 leftovers. 2009-04-06 10:58:47 -04:00
vesamodes
vidmodeproc.h Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
xaarop.h xfree86: Drop some dead XAA decls from SDK headers 2012-07-25 14:03:31 -07:00
xf86.h xf86Events: add Enable/DisableInputDeviceForVTSwitch functions 2014-01-29 15:29:56 -08:00
xf86AutoConfig.c xfree86/common: Warning fixes. Mostly const string handling. 2014-01-12 10:14:48 -08:00
xf86Build.h.in
xf86Bus.c Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
xf86Bus.h Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
xf86Config.c xkb: add a call to init an XkbRMLVOSet from const chars 2014-02-04 10:53:59 +10:00
xf86Config.h Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
xf86Configure.c xfree86: use xnfstrdup in the Xorg -configure code 2014-02-10 07:02:38 +10:00
xf86Cursor.c mipointer: Remove EnqueueEvent from miPointerScreenFuncRec 2013-09-10 13:28:23 -04:00
xf86DGA.c Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
xf86DPMS.c Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
xf86Events.c systemd-logind: Hookup systemd-logind integration 2014-03-03 08:13:55 +01:00
xf86Extensions.c xfree86/common: Warning fixes. Mostly const string handling. 2014-01-12 10:14:48 -08:00
xf86Extensions.h xf86: Re-export extension disable flags 2012-07-16 18:24:49 -07:00
xf86Globals.c xfree86: add autoAddGPU option (v2) 2012-07-06 10:35:20 +01:00
xf86Helper.c xf86DeleteScreen: move check for NULL pScrn before first dereference 2014-01-29 15:22:27 -08:00
xf86InPriv.h xfree86/common: Warning fixes. Mostly const string handling. 2014-01-12 10:14:48 -08:00
xf86Init.c systemd-logind: Add systemd-logind "core" 2014-03-03 08:13:55 +01:00
xf86Mode.c hw/xfree86: More const declarations for strings 2014-01-12 10:14:49 -08:00
xf86Module.h OdevAttribute: Remove unowned flag from OdevAttributes head 2014-03-03 08:13:55 +01:00
xf86Opt.h xfree86/common: Warning fixes. Mostly const string handling. 2014-01-12 10:14:48 -08:00
xf86Option.c xfree86/common: Warning fixes. Mostly const string handling. 2014-01-12 10:14:48 -08:00
xf86Optionstr.h hw/xfree86: Lots of constant string support 2014-01-12 10:14:48 -08:00
xf86PM.c Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
xf86PciInfo.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
xf86Priv.h Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
xf86Privstr.h Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
xf86RandR.c DDX/Randr: Avoid server crash when xrandr SetConfig is called while switched away 2013-10-31 18:36:17 -07:00
xf86VGAarbiter.c Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
xf86VGAarbiter.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
xf86VGAarbiterPriv.h Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
xf86VidMode.c Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
xf86Xinput.c xfree86: handle xorg.conf devices with logind 2014-03-11 17:43:30 +10:00
xf86Xinput.h systemd-logind: Add delayed input device probing 2014-03-03 08:13:55 +01:00
xf86cmap.c Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
xf86cmap.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
xf86fbBus.c xfree86: use udev to provide device enumeration for kms devices (v10) 2012-07-06 10:20:19 +01:00
xf86fbman.c xfree86: Fix -Wshadow warnings 2014-01-22 19:56:31 -08:00
xf86fbman.h Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
xf86noBus.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
xf86pciBus.c Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
xf86pciBus.h xfree86/common: Warning fixes. Mostly const string handling. 2014-01-12 10:14:48 -08:00
xf86platformBus.c Require video drivers to report that they support server managed fds 2014-03-10 09:08:46 +01:00
xf86platformBus.h config_odev*: Use XNF alloc functions 2014-03-12 08:50:05 +01:00
xf86sbusBus.c xf86SbusCmapLoadPalette: Delay malloc until needed, avoiding leak on error 2013-04-24 14:22:36 -07:00
xf86sbusBus.h Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
xf86str.h Require video drivers to report that they support server managed fds 2014-03-10 09:08:46 +01:00
xf86vmode.c Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
xf86xv.c Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
xf86xv.h Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
xf86xvmc.c xf86XvMCScreenInit: Avoid leak if dixRegisterPrivateKey fails 2013-02-05 18:34:57 -08:00
xf86xvmc.h hw/xfree86: Lots of constant string support 2014-01-12 10:14:48 -08:00
xf86xvpriv.h xfree86: fix new warnings introduced in rebase. 2012-06-05 10:33:23 -07:00
xisb.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
xisb.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
xorgHelper.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
xorgVersion.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00