summaryrefslogtreecommitdiff
path: root/xserver
AgeCommit message (Collapse)Author
2008-06-17CVE-2008-1379 - MIT-SHM arbitrary memory read.Matthieu Herrb
(This patch was missing form the bunch of security patches committed on june 11. noticed by brad@).
2008-06-15Add a man page for Xephyr, with information from the README file.Matthieu Herrb
2008-06-15Update to xserver 1.4.2. Tested by landry@, ckuethe@, jsing@ mbalmer@.Matthieu Herrb
2008-06-14Add amdmsr(4) to the list of privsep devices.Marc Balmer
ok matthieu
2008-06-12change /dev/dri/card0 to /dev/drm0. Subdirs in /dev consideredOwain Ainsworth
irritating.
2008-06-12Deal with devices that need to be opened differently to what we do inOwain Ainsworth
privsep ( O_NONBLOCK | O_RDWR | O_EXCL) by turning the list of allowed devices into a struct, with the flags we're supposed to use, then using these values with open(). Add /dev/dri/card0 there too (more'll be needed to be added when it matters). This gives privsep with dri a chance to work. ok matthieu
2008-06-11Fix from X.Org for a possible, non-exploitable crash in the DBE extension.Matthieu Herrb
Reported to iDefense by regenrecht. Patch from Dave Airlie.
2008-06-11Fixes for various integer overflow problems from X.Org:Matthieu Herrb
CVE-2008-2360 - RENDER Extension heap buffer overflow CVE-2008-2361 - RENDER Extension crash CVE-2008-2362 - RENDER Extension memory corruption CVE-2008-1379 - MIT-SHM arbitrary memory read CVE-2008-1377 - RECORD and Security extensions memory corruption
2008-06-10Pull in a patch from X.Org-current to let X11 run on AMD Geode LXMarc Balmer
CPUs in basic VESA mode: X86EMU: handle CPUID instruction Starting X on an AMD Geode LX system such as an Alix board with VGA connector, the Xorg driver attempts to issue INT 10/0 to go to mode 3 (VGA). The emulator, running the BIOS code, would then spit out: c000:0282: A2 ILLEGAL EXTENDED X86 OPCODE! The opcode was 0F A2, or CPUID; it was not implemented in the emulator. With this patch it handles the CPUID instruction in one of two ways: 1) if ran on __i386__ or __x86_64__ then it calls the CPUID instruction directly. 2) if ran elsewhere it returns a canned 486dx4 set of values for function 1. Tested with & ok matthieu
2008-06-09Remove the special case for amd64 using MTRR. Wasn't compiled in in thePeter Hessler
first place, and didn't work anyways. ok deraadt, oga, matthieu
2008-05-24regen.Matthieu Herrb
2008-05-24implement the --disable-ioport configure option to disable the build ofMatthieu Herrb
ioport and its symlinks and use that option. Requested by kettenis@ and others.
2008-05-07- fix an infinite loop by ensuring that realInputProc is neverAntoine Jacoutot
overwritten with the enqueueInputProc (from upstream git) cf. https://bugs.freedesktop.org/show_bug.cgi?id=13511 This should fix hangs people were seeing with icewm, cwm and most probably other WM under some circumstances. ok matthieu@
2008-04-01If privsep support isn't compiled in, use open() to open the agp device.Matthieu Herrb
2008-03-25Introduce bsd.xconf.mk to set default config variables usedMatthieu Herrb
at several places in the Xenocara build in a central place instead of duplicating the checks all over the place. ok oga@.
2008-03-24msg_controllen has to be CMSG_SPACE so that the kernel can account forMatthieu Herrb
each cmsg_len (ie. msg_controllen = sum of CMSG_ALIGN(cmsg_len). This works now that kernel fd passing has been fixed to accept a bit of sloppiness because of this ABI repair. lots of discussion with kettenis. From deraadt@
2008-03-15Regen with autoconf 2.59-p2, with AM_SANITY check zapped.Matthieu Herrb
2008-03-15Repair msg_controllen. In those cases it should just beMatthieu Herrb
CMSG_SIZE(sizeof(int)), not sizeof(buffer) which may be larger because of alignment. Based on fixes in base system.
2008-03-13Correct CMSG_SPACE and CMSG_LEN usage, same fixes as in the base system.Matthieu Herrb
ok deraadt@
2008-02-20Fix from X.Org repository:Matthieu Herrb
xkb: don't update LEDs if they don't exist (which would trigger an NULL pointer dereference).
2008-02-20Fix from X.Org repository: untrusted access broken in 7.3.Matthieu Herrb
2008-02-20Fix for CVE-2007-3069 from X.Org git repository:Matthieu Herrb
Don't break grab and focus state for a window when redirecting it. Composite uses an unmap/map cycle to trigger backing pixmap allocation and cliprect recomputation when a window is redirected or unredirected. To avoid protocol visible side effects, map and unmap events are disabled temporarily. However, when a window is unmapped it is also removed from grabs and loses focus, but these state changes are not disabled. This change supresses the unmap side effects during the composite unmap/map cycle and fixes a bug where a compositing window manager would cause the screensaver to lose its grab when it unredirects the fullscreen lock window.
2008-02-20endianness definitions for m88k, ok matthieu@Miod Vallat
2008-02-16Don't #define DEBUG anymoreMiod Vallat
2008-02-16Remove unused global.Miod Vallat
2008-02-13Disable mesa on m68k, at least until it switches to ELF; suggested by matthieu@Miod Vallat
2008-02-13Correctly link ioperm_noop.c to the build on m68k. ok matthieu@Miod Vallat
2008-02-13Remove a unused static function which references a function which had beenMiod Vallat
removed in the 1.4 update, it prevents wsfb from working on platforms without lazy binding.
2008-02-11Remove a bunch of files that get generated during a normal build.Matthieu Herrb
2008-02-11Remove empty unused files.Matthieu Herrb
2008-02-02Make it possible to build dri support with XENOCARA_BUILD_DRI=yes inMatthieu Herrb
/etc/mk.conf. ok oga@
2008-01-27regenMatthieu Herrb
2008-01-27Fix m68k builds. Similar to the fix that miod used.Matthieu Herrb
2008-01-213rd try... CVE-2007-6429: Always test for size+offset wrapping. From X.Org.Matthieu Herrb
2008-01-18Previous shm fix for CVE-2007-6429 was incorrect.Matthieu Herrb
Don't spuriously reject <8bpp shm pixmaps. From X.Org repository.
2008-01-17Fix from X.Org for CVE-2008-0006 - PCF Font parser buffer overflow.Matthieu Herrb
2008-01-17Fix from X.Org for CVE-2007-6429 - MIT-SHM and EVI extensions integer overflows.Matthieu Herrb
2008-01-17Fix from X.Org for CVE-2007-6428 - TOG-cup extension memory corruption.Matthieu Herrb
2008-01-17Fix from X.Org for CVE-2007-6427 - Xinput extension memory corruption.Matthieu Herrb
2008-01-17Fix from X.Org for CVE-2007-5958 - File existence disclosure.Matthieu Herrb
2008-01-17Fix from X.Org for CVE-2007-5760 - XFree86 Misc extension out ofMatthieu Herrb
bounds array index.
2008-01-16Based on a suggestion and an initial patch by kettenis@, buildMatthieu Herrb
both the old i810 and the new intel drivers on i386, and let X autoconfiguration code choose the one that is used based on the chipset. Tested by landry@ and a few others.
2008-01-04regenJoel Sing
2008-01-04Add support for xserver on OpenBSD/sgi and enable build.Joel Sing
ok matthieu@
2008-01-01more gcc2 fixes; ok mathieu@Todd T. Fries
2007-12-29fix for gcc2 (declaration 1st within each scope)Todd T. Fries
ok matthieu@
2007-12-23Adapt OpenBSD/wscons kdrive drivers to changes in xserver 1.4.Matthieu Herrb
Still not working but at least building again.
2007-12-23Make that build with gcc 2.95Matthieu Herrb
2007-12-21Don't call xcalloc() in functions called by the big SIGIO handler.Matthieu Herrb
Problem initially reported by sthen@, fix tested by many.
2007-12-20Fix build with gcc 2.95. ok todd@.Matthieu Herrb