matthieu
9c77348456
Close well known connections in ServerAbort().
...
Gets rid of dangling /tmp/.X11-unix/X0 sockets after server crash.
2008-10-30 19:59:59 +00:00
matthieu
1756bd319c
Xprt is not built by default anymore. Remove the code that selectively
...
disabled it on a few platforms.
2008-10-12 10:46:40 +00:00
todd
457770e0f6
enable GL for libraries, but not the X server .. for mips64
2008-10-08 02:24:28 +00:00
matthieu
79662dec2b
PR 5005: On alpha, trust the PCI BARS from SRM. ok kettenis@, miod@.
2008-10-07 21:56:39 +00:00
kettenis
ae7aae814f
Make X stop messing with PCI BARs on sparc64. Makes ati driver work again
...
on Ultra 5/10 machines.
ok matthieu@, oga@
2008-09-20 15:53:42 +00:00
matthieu
35e1104889
Typo (the the). From Thomas Bozdar (Thomas dot Bosdar at quest dot com).
...
Thanks.
2008-08-30 13:38:43 +00:00
mbalmer
6ce13d3a8e
Add /dev/tty04 to the list of devices privilege separated X can open.
...
(The IBM SurePos 500 has six serial lines and the touch screen is at
this device).
ok oga@
2008-08-28 17:50:21 +00:00
kettenis
9eb4db42c5
Since wscons(4) manages the hardware cursor for us, there's no nee to
...
fiddle with it here. Pointed out by miod@.
ok matthieu@
2008-08-25 19:49:29 +00:00
kettenis
fac304a838
Unbreak sparc build.
2008-08-24 21:36:20 +00:00
kettenis
2f23f1f1a3
Make -configure work for SBus/UPA devices instead of crashing.
...
ok matthieu@
2008-08-24 21:02:23 +00:00
kettenis
afa6528308
Add enough OpenBSD-specific sbus support code to be able to support the
...
sunffb driver.
ok matthieu@
2008-08-21 20:06:35 +00:00
kettenis
16470a32ee
All the resources claimed by xf86StdAccResFromOS() are PC-specific. On sparc64
...
PCI address space is completely seperate, so we don't have to claim any
resources to avoid clashes with main memory and firmware. Makes accelerated
graphics work on the Tadpole SPARCLE.
ok matthieu@, oga@
2008-07-31 06:59:34 +00:00
matthieu
48d39de3dc
The amd driver has been renamed geode. ok deraadt@ oga@.
2008-07-30 21:43:11 +00:00
matthieu
1dd309dcb0
use the openchrome driver for via chipsets.
2008-07-12 13:02:55 +00:00
matthieu
2e211b412b
CVE-2008-1379 - MIT-SHM arbitrary memory read.
...
(This patch was missing form the bunch of security patches committed
on june 11. noticed by brad@).
2008-06-17 21:53:45 +00:00
matthieu
0a77d3ef3e
Add a man page for Xephyr, with information from the README file.
2008-06-15 16:20:07 +00:00
matthieu
97eda17882
Update to xserver 1.4.2. Tested by landry@, ckuethe@, jsing@ mbalmer@.
2008-06-15 00:17:32 +00:00
mbalmer
c0e3e5ed7f
Add amdmsr(4) to the list of privsep devices.
...
ok matthieu
2008-06-14 21:37:13 +00:00
oga
4b526e486b
change /dev/dri/card0 to /dev/drm0. Subdirs in /dev considered
...
irritating.
2008-06-12 22:20:24 +00:00
oga
bfd8533a7d
Deal with devices that need to be opened differently to what we do in
...
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-12 18:50:19 +00:00
matthieu
5f1431f613
Fix from X.Org for a possible, non-exploitable crash in the DBE extension.
...
Reported to iDefense by regenrecht. Patch from Dave Airlie.
2008-06-11 16:15:28 +00:00
matthieu
52218799b8
Fixes for various integer overflow problems from X.Org:
...
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-11 15:39:26 +00:00
mbalmer
ef9d4b4b8c
Pull in a patch from X.Org-current to let X11 run on AMD Geode LX
...
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-10 22:31:30 +00:00
phessler
f80be2c38a
Remove the special case for amd64 using MTRR. Wasn't compiled in in the
...
first place, and didn't work anyways.
ok deraadt, oga, matthieu
2008-06-09 22:55:10 +00:00
matthieu
48bc822959
regen.
2008-05-24 20:39:01 +00:00
matthieu
1b5891c504
implement the --disable-ioport configure option to disable the build of
...
ioport and its symlinks and use that option. Requested by kettenis@
and others.
2008-05-24 20:36:04 +00:00
ajacoutot
790fc260ee
- fix an infinite loop by ensuring that realInputProc is never
...
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-05-07 06:07:09 +00:00
matthieu
67dcbeb5eb
If privsep support isn't compiled in, use open() to open the agp device.
2008-04-01 21:08:01 +00:00
matthieu
bbc31bf586
Introduce bsd.xconf.mk to set default config variables used
...
at several places in the Xenocara build in a central place instead
of duplicating the checks all over the place. ok oga@.
2008-03-25 23:41:50 +00:00
matthieu
d00d2dd896
msg_controllen has to be CMSG_SPACE so that the kernel can account for
...
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-24 21:24:52 +00:00
matthieu
7830df18ed
Regen with autoconf 2.59-p2, with AM_SANITY check zapped.
2008-03-15 18:08:24 +00:00
matthieu
16236de311
Repair msg_controllen. In those cases it should just be
...
CMSG_SIZE(sizeof(int)), not sizeof(buffer) which may be larger because
of alignment. Based on fixes in base system.
2008-03-15 17:14:11 +00:00
matthieu
f0623845fe
Correct CMSG_SPACE and CMSG_LEN usage, same fixes as in the base system.
...
ok deraadt@
2008-03-13 06:53:06 +00:00
matthieu
682a69ebb7
Fix from X.Org repository:
...
xkb: don't update LEDs if they don't exist (which would trigger an NULL
pointer dereference).
2008-02-20 21:32:39 +00:00
matthieu
807e8fa566
Fix from X.Org repository: untrusted access broken in 7.3.
2008-02-20 21:29:42 +00:00
matthieu
2610b1cdea
Fix for CVE-2007-3069 from X.Org git repository:
...
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-20 21:25:15 +00:00
miod
7d9176c215
endianness definitions for m88k, ok matthieu@
2008-02-20 17:47:56 +00:00
miod
5fb9099459
Don't #define DEBUG anymore
2008-02-16 21:40:44 +00:00
miod
a1df61e9c2
Remove unused global.
2008-02-16 21:40:29 +00:00
miod
b019a50e70
Disable mesa on m68k, at least until it switches to ELF; suggested by matthieu@
2008-02-13 21:34:15 +00:00
miod
af5d7dc88a
Correctly link ioperm_noop.c to the build on m68k. ok matthieu@
2008-02-13 21:33:29 +00:00
miod
d00b6d3f21
Remove a unused static function which references a function which had been
...
removed in the 1.4 update, it prevents wsfb from working on platforms without
lazy binding.
2008-02-13 21:29:52 +00:00
matthieu
4bd8c8049d
Remove a bunch of files that get generated during a normal build.
2008-02-11 23:05:25 +00:00
matthieu
daec730aa0
Remove empty unused files.
2008-02-11 22:59:20 +00:00
matthieu
d33aacaadc
Make it possible to build dri support with XENOCARA_BUILD_DRI=yes in
...
/etc/mk.conf. ok oga@
2008-02-02 17:19:57 +00:00
matthieu
3d74c14585
regen
2008-01-27 15:49:14 +00:00
matthieu
37eae9b7cf
Fix m68k builds. Similar to the fix that miod used.
2008-01-27 14:03:40 +00:00
matthieu
192dfccc63
3rd try... CVE-2007-6429: Always test for size+offset wrapping. From X.Org.
2008-01-21 21:38:22 +00:00
matthieu
68a7d32fea
Previous shm fix for CVE-2007-6429 was incorrect.
...
Don't spuriously reject <8bpp shm pixmaps. From X.Org repository.
2008-01-18 20:53:51 +00:00
matthieu
4ca84ce6c5
Fix from X.Org for CVE-2008-0006 - PCF Font parser buffer overflow.
2008-01-17 15:44:49 +00:00