Commit Graph

37 Commits

Author SHA1 Message Date
matthieu
88f6f3ea75 update to xserver 1.6.4rc1. Tested by many, ok oga@. 2009-09-06 19:44:18 +00:00
oga
251e57a556 Make the !privsep and privsep paths a little more similar (still
checking the list), this allows drm to work in -keepPriv situations.

This diff has been in my tree awaiting proper testing for months, now
i'm sure it works correctly in it goes.

ok matthieu@ an aeon ago.
2009-07-14 18:25:16 +00:00
matthieu
8d98f5900d regen 2009-01-12 20:18:51 +00:00
matthieu
369cc172f4 Update to xserver 1.5.3 + latests commits on server-1.5-branch.
tested by stsp@, david@, form@, ckuethe@, oga@. thanks.
2009-01-12 20:17:47 +00:00
matthieu
60021fe985 xserver 1.5.2. tested by ckuethe@, oga@, and others. 2008-11-02 15:26:08 +00:00
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
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
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
48bc822959 regen. 2008-05-24 20:39:01 +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
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
daec730aa0 Remove empty unused files. 2008-02-11 22:59:20 +00:00
jsing
6189593aff regen 2008-01-04 14:01:04 +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
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
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
c7ebbd40e4 regen 2007-05-25 16:20:45 +00:00
matthieu
90a95c09bd plug memory leak on client disconnect. From X.Org git. 2007-04-18 22:21:17 +00:00
matthieu
fdc55d19a6 regen 2007-04-17 22:06:12 +00:00
matthieu
6637a9a36e regen with automake 1.9.6p2 2007-03-18 22:29:12 +00:00
matthieu
9dc3987317 regen 2007-03-03 11:33:26 +00:00
matthieu
8460feeb57 merge xserver 1.2.0 2007-03-03 11:31:18 +00:00
matthieu
c3d0302235 - merge xserver 1.1.99.903
- regen generated files
2006-12-16 20:59:13 +00:00
matthieu
09421e78f7 xserver 1.1.99.903 from X.Org 7.2RC3 2006-12-16 20:09:36 +00:00
matthieu
3ac80eece3 Build fixes for OpenBSD/zaurus:
- __arm32__ isn't defined by gcc on OpenBSD/arm
- ioperm_noop.c is needed in libxorgos
2006-12-03 20:57:39 +00:00
matthieu
11e9fb01f9 regen 2006-11-28 20:33:06 +00:00
matthieu
c155af5f9a OpenBSD local modifications:
- privilege separation
- some snprintf/strlc{at,py} conversions
- support for more architectures
- signal handler fixes
- default mouse wheel support in config tools
- sunmouse protocol
2006-11-28 20:29:31 +00:00
matthieu
97bfc260ee regen with OpenBSD autotools 2006-11-26 19:09:56 +00:00
matthieu
889b860699 Importing xserver from X.Org 7.2RC2 2006-11-26 18:13:41 +00:00