diff options
author | Steve Arnold <stephen.arnold42@gmail.com> | 2015-05-14 00:41:44 -0700 |
---|---|---|
committer | Steve Arnold <stephen.arnold42@gmail.com> | 2015-05-14 00:41:44 -0700 |
commit | 4ba627f63bf27fa51026ba1bd2b25025a9c983ef (patch) | |
tree | f25e1f62b921bb01f3268f102dde759c16f46da7 /x11-base | |
parent | adjust for hardfloat without neon (tested on rpi) (diff) | |
download | arm-4ba627f63bf27fa51026ba1bd2b25025a9c983ef.tar.gz arm-4ba627f63bf27fa51026ba1bd2b25025a9c983ef.tar.bz2 arm-4ba627f63bf27fa51026ba1bd2b25025a9c983ef.zip |
major cruft removal
Diffstat (limited to 'x11-base')
8 files changed, 0 insertions, 272 deletions
diff --git a/x11-base/xorg-drivers/Manifest b/x11-base/xorg-drivers/Manifest deleted file mode 100644 index 3a6fa88..0000000 --- a/x11-base/xorg-drivers/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -EBUILD xorg-drivers-1.14.ebuild 6107 SHA256 a27ff3330aa1a216bfbe8a90bcc840b443f0e1929b07664f52a7b5ccdc0af77f SHA512 2d03a12b5b6dcd52f78150339ca09a93ee597e634bdcdc27dc8f09520d0a7a3ca4fe26dd55b2a1de5c44fc9742d30a63803052eb7e980c16725943d6a317bdbe WHIRLPOOL 86aa81b8d9c3126061532a0eeb1d97d73e9a24f7e17be65fdeaf3fd3380c50bff3f91f32fa7753a9e8b4271a971da1981d25453e210bf01de256f459a01bc975 -EBUILD xorg-drivers-9999.ebuild 6418 SHA256 01ce3db0b23354d4b28e4f019a51235b004d6023897128ff8d1f1ecc1d6f0464 SHA512 a2af78d00f9c8f680ed1412f28903b6ee8d58d546011aec2c9071d3e7f04ef1011eca8e9985f27f805e3cd0ec40975d23c318b6a3aa249b400b7d6496e56b026 WHIRLPOOL 55980bf097f0f28a3f18b53de5c589fa5110455826ccf6d627ceb309341c30cd69114e6d890e035b81c3f812e4e0085e24db0b72b98ded2ceb9c139937344910 diff --git a/x11-base/xorg-server/files/xorg-server-1.12-cve-2013-1940.patch b/x11-base/xorg-server/files/xorg-server-1.12-cve-2013-1940.patch deleted file mode 100644 index d85494f..0000000 --- a/x11-base/xorg-server/files/xorg-server-1.12-cve-2013-1940.patch +++ /dev/null @@ -1,34 +0,0 @@ -From 6ca03b9161d33b1d2b55a3a1a913cf88deb2343f Mon Sep 17 00:00:00 2001 -From: Dave Airlie <airlied@gmail.com> -Date: Wed, 10 Apr 2013 06:09:01 +0000 -Subject: xf86: fix flush input to work with Linux evdev devices. - -So when we VT switch back and attempt to flush the input devices, -we don't succeed because evdev won't return part of an event, -since we were only asking for 4 bytes, we'd only get -EINVAL back. - -This could later cause events to be flushed that we shouldn't have -gotten. - -This is a fix for CVE-2013-1940. - -Signed-off-by: Dave Airlie <airlied@redhat.com> -Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> -Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> ---- -diff --git a/hw/xfree86/os-support/shared/posix_tty.c b/hw/xfree86/os-support/shared/posix_tty.c -index ab3757a..4d08c1e 100644 ---- a/hw/xfree86/os-support/shared/posix_tty.c -+++ b/hw/xfree86/os-support/shared/posix_tty.c -@@ -421,7 +421,8 @@ xf86FlushInput(int fd) - { - fd_set fds; - struct timeval timeout; -- char c[4]; -+ /* this needs to be big enough to flush an evdev event. */ -+ char c[256]; - - DebugF("FlushingSerial\n"); - if (tcflush(fd, TCIFLUSH) == 0) --- -cgit v0.9.0.2-2-gbebe diff --git a/x11-base/xorg-server/files/xorg-server-1.12-cve-2013-4396.patch b/x11-base/xorg-server/files/xorg-server-1.12-cve-2013-4396.patch deleted file mode 100644 index 4b6727e..0000000 --- a/x11-base/xorg-server/files/xorg-server-1.12-cve-2013-4396.patch +++ /dev/null @@ -1,75 +0,0 @@ -From 7bddc2ba16a2a15773c2ea8947059afa27727764 Mon Sep 17 00:00:00 2001 -From: Alan Coopersmith <alan.coopersmith@oracle.com> -Date: Mon, 16 Sep 2013 21:47:16 -0700 -Subject: [PATCH] Avoid use-after-free in dix/dixfonts.c: doImageText() - [CVE-2013-4396] - -Save a pointer to the passed in closure structure before copying it -and overwriting the *c pointer to point to our copy instead of the -original. If we hit an error, once we free(c), reset c to point to -the original structure before jumping to the cleanup code that -references *c. - -Since one of the errors being checked for is whether the server was -able to malloc(c->nChars * itemSize), the client can potentially pass -a number of characters chosen to cause the malloc to fail and the -error path to be taken, resulting in the read from freed memory. - -Since the memory is accessed almost immediately afterwards, and the -X server is mostly single threaded, the odds of the free memory having -invalid contents are low with most malloc implementations when not using -memory debugging features, but some allocators will definitely overwrite -the memory there, leading to a likely crash. - -Reported-by: Pedro Ribeiro <pedrib@gmail.com> -Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> -Reviewed-by: Julien Cristau <jcristau@debian.org> ---- - dix/dixfonts.c | 5 +++++ - 1 file changed, 5 insertions(+) - -diff --git a/dix/dixfonts.c b/dix/dixfonts.c -index feb765d..2e34d37 100644 ---- a/dix/dixfonts.c -+++ b/dix/dixfonts.c -@@ -1425,6 +1425,7 @@ doImageText(ClientPtr client, ITclosurePtr c) - GC *pGC; - unsigned char *data; - ITclosurePtr new_closure; -+ ITclosurePtr old_closure; - - /* We're putting the client to sleep. We need to - save some state. Similar problem to that handled -@@ -1436,12 +1437,14 @@ doImageText(ClientPtr client, ITclosurePtr c) - err = BadAlloc; - goto bail; - } -+ old_closure = c; - *new_closure = *c; - c = new_closure; - - data = malloc(c->nChars * itemSize); - if (!data) { - free(c); -+ c = old_closure; - err = BadAlloc; - goto bail; - } -@@ -1452,6 +1455,7 @@ doImageText(ClientPtr client, ITclosurePtr c) - if (!pGC) { - free(c->data); - free(c); -+ c = old_closure; - err = BadAlloc; - goto bail; - } -@@ -1464,6 +1468,7 @@ doImageText(ClientPtr client, ITclosurePtr c) - FreeScratchGC(pGC); - free(c->data); - free(c); -+ c = old_closure; - err = BadAlloc; - goto bail; - } --- -1.7.9.2 diff --git a/x11-base/xorg-server/files/xorg-server-1.12-disable-acpi.patch b/x11-base/xorg-server/files/xorg-server-1.12-disable-acpi.patch deleted file mode 100644 index df43dbd..0000000 --- a/x11-base/xorg-server/files/xorg-server-1.12-disable-acpi.patch +++ /dev/null @@ -1,11 +0,0 @@ -diff -ur a/configure.ac b/configure.ac ---- a/configure.ac 2011-10-31 19:40:02.000000000 +0100 -+++ b/configure.ac 2011-10-31 19:41:02.372745481 +0100 -@@ -1624,7 +1624,6 @@ - linux_alpha=yes - ;; - i*86|amd64*|x86_64*|ia64*) -- linux_acpi="yes" - ;; - *) - ;; diff --git a/x11-base/xorg-server/files/xorg-server-1.12-ia64-fix_inx_outx.patch b/x11-base/xorg-server/files/xorg-server-1.12-ia64-fix_inx_outx.patch deleted file mode 100644 index 24a5a02..0000000 --- a/x11-base/xorg-server/files/xorg-server-1.12-ia64-fix_inx_outx.patch +++ /dev/null @@ -1,60 +0,0 @@ -diff -r --context xorg-server-1.12.3/hw/xfree86/common/compiler.h xorg-server-1.12.3-fix/hw/xfree86/common/compiler.h -*** xorg-server-1.12.3/hw/xfree86/common/compiler.h 2012-07-06 07:17:19.000000000 +0200 ---- xorg-server-1.12.3-fix/hw/xfree86/common/compiler.h 2012-08-29 00:14:39.000000000 +0200 -*************** -*** 421,426 **** ---- 421,474 ---- - #include <machine/pio.h> - #endif /* __NetBSD__ */ - -+ #elif defined(linux) && defined(__ia64__) -+ /* for Linux on ia64, we use the LIBC _inx/_outx routines */ -+ /* note that the appropriate setup via "ioperm" needs to be done */ -+ /* *before* any inx/outx is done. */ -+ -+ extern _X_EXPORT void _outb(unsigned char val, unsigned long port); -+ extern _X_EXPORT void _outw(unsigned short val, unsigned long port); -+ extern _X_EXPORT void _outl(unsigned int val, unsigned long port); -+ extern _X_EXPORT unsigned int _inb(unsigned long port); -+ extern _X_EXPORT unsigned int _inw(unsigned long port); -+ extern _X_EXPORT unsigned int _inl(unsigned long port); -+ -+ static __inline__ void -+ outb(unsigned long port, unsigned char val) -+ { -+ _outb(val, port); -+ } -+ -+ static __inline__ void -+ outw(unsigned long port, unsigned short val) -+ { -+ _outw(val, port); -+ } -+ -+ static __inline__ void -+ outl(unsigned long port, unsigned int val) -+ { -+ _outl(val, port); -+ } -+ -+ static __inline__ unsigned int -+ inb(unsigned long port) -+ { -+ return _inb(port); -+ } -+ -+ static __inline__ unsigned int -+ inw(unsigned long port) -+ { -+ return _inw(port); -+ } -+ -+ static __inline__ unsigned int -+ inl(unsigned long port) -+ { -+ return _inl(port); -+ } -+ - #elif (defined(linux) || defined(__FreeBSD__)) && defined(__amd64__) - - #include <inttypes.h> diff --git a/x11-base/xorg-server/files/xorg-server-1.12-unloadsubmodule.patch b/x11-base/xorg-server/files/xorg-server-1.12-unloadsubmodule.patch deleted file mode 100644 index 57c7349..0000000 --- a/x11-base/xorg-server/files/xorg-server-1.12-unloadsubmodule.patch +++ /dev/null @@ -1,53 +0,0 @@ -diff -u13 -r xorg-server-1.12.3-old/hw/xfree86/loader/loadmod.c xorg-server-1.12.3/hw/xfree86/loader/loadmod.c ---- xorg-server-1.12.3-old/hw/xfree86/loader/loadmod.c 2012-09-05 18:26:42.000000000 +0200 -+++ xorg-server-1.12.3/hw/xfree86/loader/loadmod.c 2012-09-05 18:28:54.000000000 +0200 -@@ -1109,39 +1109,38 @@ - static void - RemoveChild(ModuleDescPtr child) - { - ModuleDescPtr mdp; - ModuleDescPtr prevsib; - ModuleDescPtr parent; - - if (!child->parent) - return; - - parent = child->parent; - if (parent->child == child) { - parent->child = child->sib; -- return; -- } -- -- prevsib = parent->child; -- mdp = prevsib->sib; -- while (mdp && mdp != child) { -- prevsib = mdp; -- mdp = mdp->sib; -+ } -+ else { -+ prevsib = parent->child; -+ mdp = prevsib->sib; -+ while (mdp && mdp != child) { -+ prevsib = mdp; -+ mdp = mdp->sib; -+ } -+ if (mdp == child) -+ prevsib->sib = child->sib; - } -- if (mdp == child) -- prevsib->sib = child->sib; - child->sib = NULL; -- return; - } - - void - LoaderErrorMsg(const char *name, const char *modname, int errmaj, int errmin) - { - const char *msg; - MessageType type = X_ERROR; - - switch (errmaj) { - case LDR_NOERROR: - msg = "no error"; - break; - case LDR_NOMEM: diff --git a/x11-base/xorg-server/files/xorg-server-disable-acpi.patch b/x11-base/xorg-server/files/xorg-server-disable-acpi.patch deleted file mode 100644 index cc80e6c..0000000 --- a/x11-base/xorg-server/files/xorg-server-disable-acpi.patch +++ /dev/null @@ -1,31 +0,0 @@ -From a8079882f1884edc62a9de28af915bd8b65dfbbe Mon Sep 17 00:00:00 2001 -From: Adam Jackson <ajax@redhat.com> -Date: Wed, 11 Mar 2009 14:02:11 -0400 -Subject: [PATCH] Don't build the ACPI code. - -No good can come of this. ---- - configure.ac | 2 -- - 1 files changed, 0 insertions(+), 2 deletions(-) - -diff --git a/configure.ac b/configure.ac -index 72ae67e..04716f8 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -1269,13 +1269,11 @@ if test "x$XORG" = xyes; then - case $host_cpu in - ia64*) - linux_ia64=yes -- linux_acpi="yes" - ;; - alpha*) - linux_alpha=yes - ;; - i*86|amd64*|x86_64*) -- linux_acpi="yes" - ;; - *) - ;; --- -1.6.1.3 - diff --git a/x11-base/xorg-server/files/xorg-sets.conf b/x11-base/xorg-server/files/xorg-sets.conf deleted file mode 100644 index 5cd8112..0000000 --- a/x11-base/xorg-server/files/xorg-sets.conf +++ /dev/null @@ -1,6 +0,0 @@ -# Rebuild all X11 modules (mostly useful after xorg-server ABI change). -[x11-module-rebuild] -class = portage.sets.dbapi.VariableSet -world-candidate = false -variable = CATEGORY -includes = x11-drivers |