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
matthieu
5215f23408
Fix from X.Org for CVE-2007-6429 - MIT-SHM and EVI extensions integer overflows.
2008-01-17 15:43:43 +00:00
matthieu
af2f977c6b
Fix from X.Org for CVE-2007-6428 - TOG-cup extension memory corruption.
2008-01-17 15:43:06 +00:00
matthieu
868ab3f2e3
Fix from X.Org for CVE-2007-6427 - Xinput extension memory corruption.
2008-01-17 15:42:19 +00:00
matthieu
19e04f544a
Fix from X.Org for CVE-2007-5958 - File existence disclosure.
2008-01-17 15:41:53 +00:00
matthieu
478587a2d7
Fix from X.Org for CVE-2007-5760 - XFree86 Misc extension out of
...
bounds array index.
2008-01-17 15:41:18 +00:00
matthieu
dc769e8a75
Based on a suggestion and an initial patch by kettenis@, build
...
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-16 23:20:50 +00:00
jsing
6189593aff
regen
2008-01-04 14:01:04 +00:00
jsing
458c03da50
Add support for xserver on OpenBSD/sgi and enable build.
...
ok matthieu@
2008-01-04 13:44:23 +00:00
todd
6ff94f4734
more gcc2 fixes; ok mathieu@
2008-01-01 23:31:01 +00:00
todd
fefd79e203
fix for gcc2 (declaration 1st within each scope)
...
ok matthieu@
2007-12-29 03:09:26 +00:00
matthieu
067fedef2d
Adapt OpenBSD/wscons kdrive drivers to changes in xserver 1.4.
...
Still not working but at least building again.
2007-12-23 14:28:10 +00:00
matthieu
d99925b594
Make that build with gcc 2.95
2007-12-23 08:01:09 +00:00
matthieu
460b683f36
Don't call xcalloc() in functions called by the big SIGIO handler.
...
Problem initially reported by sthen@, fix tested by many.
2007-12-21 06:42:23 +00:00
matthieu
eb2e8d8cbc
Fix build with gcc 2.95. ok todd@.
2007-12-20 07:26:37 +00:00
matthieu
67952fe293
Add back files that I removed before import to minimize cvs noise. That
...
was a mistake. sorry.
2007-12-13 21:51:47 +00:00
matthieu
b29102d7af
Merge xserver 1.4.0.90. This includes fixes for some of the regressions
...
introduced by xserver 1.4, such as the keyboad caps/num-lock leds updates.
Tested by many.
2007-12-13 21:47:48 +00:00
matthieu
2fcd9ee667
xserver 1.4.0.90
2007-12-13 21:06:02 +00:00
matthieu
10fefb5e1b
Fix logic error in the new dynamic array of pci devices that made
...
xf86scanpci() exit early if pciInit() had been called already.
Fix tested by krw@.
2007-12-10 06:35:24 +00:00
matthieu
35aebf7135
regen
2007-12-03 12:45:41 +00:00
matthieu
c19e24c0ad
Revert xf86EnableIO()/xf86DisableIO() on macpcc to NOP for now.
2007-12-03 12:45:10 +00:00
matthieu
a7908c655f
Support the new AGP device. Work by oga@ and me, with some ideas from
...
dim@ long ago.
2007-11-25 18:41:23 +00:00
matthieu
f080297623
OpenBSD's still using the old xkb data files. So rules are called "xorg" not
...
"base".
2007-11-25 15:32:26 +00:00
matthieu
fa710f4099
merge xserver 1.4, 1st pass
2007-11-24 19:04:00 +00:00
matthieu
b14d6de7aa
xserver 1.4
2007-11-24 17:55:21 +00:00
matthieu
f1b8f80ce9
Pull patch from X.Org bugzilla #7364 from XF4 tree: fix for
...
potential unaligned access on 64 bit architectures.
2007-08-06 16:15:08 +00:00
matthieu
348dc7ad3d
regen
2007-08-04 19:44:30 +00:00
matthieu
f1662182e6
regen
2007-06-30 06:57:45 +00:00
matthieu
d41b593701
Fix linking on OpenBSD/a.out systems. Tested by Nick@.
2007-06-30 06:38:56 +00:00
matthieu
3ef0e68671
regen
2007-06-23 21:49:28 +00:00