summaryrefslogtreecommitdiff
path: root/xserver/hw
AgeCommit message (Collapse)Author
2024-11-05Update to xserver 21.1.14. tested by tb@Matthieu Herrb
The xkb security fix was committed earlier. This is the rest of the 21.1.14 update.
2024-10-31Don't log DDC modelines (after hotplug events/xrandr) or "Using XX rangesStuart Henderson
from config file" messages. These were printed after hotplug events which could be frequent in some cases (I have machines where this happens every 10 seconds when the monitor is in a dpms power-saving mode resulting in a full /var/log filesystem). EDID vendor/product ID still logged, giving an indication that events are happening, but reduced from ~3.5KB per event to <100 bytes. based on a diff from / ok matthieu@
2024-08-16Reduce diff with upstream.Matthieu Herrb
2024-08-16Ansify function declarations. These are all simple () -> (void) cases.Matthieu Herrb
2024-08-04Remove 2 files that were missed on xserver 21.1 update (which removed Xdmx)Matthieu Herrb
2024-04-07Update to xserver 21.1.12Matthieu Herrb
The security patches were already commited, sync with the rest of the 21.1.12 relase.
2024-01-19WSDISPLAY_TYPE_RKDRM was renamed to WSDISPLAY_TYPE_KMSMark Kettenis
2024-01-16Multiple issues have been found in the X server and XwaylandMatthieu Herrb
implementations: 1) CVE-2023-6816 can be triggered by passing an invalid array index to DeviceFocusEvent or ProcXIQueryPointer. 2) CVE-2024-0229 can be triggered if a device has both a button and a key class and zero buttons. 3) CVE-2024-21885 can be triggered if a device with a given ID was removed and a new device with the same ID added both in the same operation. 4) CVE-2024-21886 can be triggered by disabling a master device with disabled slave devices. 5) CVE-2024-0409 can be triggered by enabling SELinux xserver_object_manager and running a client. 6) CVE-2024-0408 can be triggered by enabling SELinux xserver_object_manager and creating a GLX PBuffer.
2024-01-07Update xserver to 21.1.10.Matthieu Herrb
The security fixes have already been committed.
2023-10-29Update to xserver 21.1.9.Matthieu Herrb
All the security patches have already been committed. Udated autoconf to 2.71 explains the large build infrastructure diff.
2023-10-25Fix several input validation errors in the X serverMatthieu Herrb
CVE-2023-5367 CVE-2023-5380 CVE-2023-5574
2023-08-12Make sure we don't close(-1); buglet introduced in 1.26.Miod Vallat
ok matthieu@
2023-05-01Merge X server 21.1.8. tested by kn@ and op@.Matthieu Herrb
2023-01-22Merge xserver 21.1.6.Matthieu Herrb
Includes a few fixes to the security patches already committed.
2023-01-22Add back the meson build system to xserver.Matthieu Herrb
Not having those file only create noise when merging upstream releases.
2022-08-31Update xserver to version 21.1.4.Matthieu Herrb
The security patches were already committed as part of july 24 errata. This brings a few other bug fixes. Tested by Walter Alejandro Iglesias.
2022-02-20Sync with xorg-server 21.1.3.Matthieu Herrb
This does *not* include the commit that reverts the new computation of the screen resolution from dimensions returned by the screen since many of you told they prefer the new behaviour from 21.1.1. This is going to be discussed again before 7.1
2022-02-03remove 0x2972 from the intel gen 2 and 3 listJonathan Gray
0x2972 is 946GZ which is gen 4
2021-12-27Recommit: compiler.h: don't define inb/outb and friends on mipsVisa Hankala
From Julien Cristau 0148a15da1616a868d71abe1b56e3f28cc79533c in xserver git without arm_video.c changes. OK matthieu@
2021-12-06when xf86CrtcConfigPrivateIndex==-1 XF86_CRTC_CONFIG_PTR() causes an out ofMatthieu Herrb
bounds read. White-space fix and ok jsg@
2021-12-06Initialize mode->name for modes generated by libxcvt.Matthieu Herrb
ok jsg@ on the upstream merge request.
2021-11-11Update to xserver 21.1.1Matthieu Herrb
2021-11-11Update to xserver 21.1.0Matthieu Herrb
2006-11-26Importing xserver from X.Org 7.2RC2Matthieu Herrb
2006-11-26Importing xserver from X.Org 7.2RC2Matthieu Herrb
2021-09-03Update to xserver 1.20.13.Matthieu Herrb
2021-06-30Close the console fd after probing if it's a wscons, even it fails.Matthieu Herrb
This avoids keeping an open file descriptor on machines where /dev/console is not a wsdisplay device.
2021-06-15Initial attempt to build xserver for riscv64Dale Rahn
ok matthieu@
2021-03-13compiler.h: don't define inb/outb and friends on mipsVisa Hankala
From Julien Cristau 0148a15da1616a868d71abe1b56e3f28cc79533c in xserver git without arm_video.c changes. Fixes clang 11 build on mips64. Input and OK jsg@
2021-02-20change from /dev/drm to /dev/dri/ in xenocaraJonathan Gray
ok matthieu@ kettenis@
2021-01-10Add a root window property with the console device.Matthieu Herrb
2020-12-12Update X server to version 1.20.10. Tested by jsg@ and naddy@Matthieu Herrb
2020-04-20Release unused filedescriptors in the privileged X server process.Matthieu Herrb
There is no reason to keep /dev/pci* and /dev/ttyC* open in this process. pointed to by deraadt. ok kettenis@ deraadt@
2020-04-18Remove unused files.Matthieu Herrb
2020-04-13Update to xserver 1.20.8. ok jsg@ robert@Matthieu Herrb
2020-03-04Use modesetting driver as the default for rkdrm(4).Mark Kettenis
ok patrick@, jsg@
2020-01-26Update to xserver 1.20.7 plus 2 extra fixes from upstream. ok jsg@Matthieu Herrb
2019-12-12Update to X server 1.20.6. Tested by naddy@Matthieu Herrb
2019-09-15Add modesetting driver as a fall-back when appropriate such that we canMark Kettenis
use it when running withour root privileges which prevents us from scanning the PCI bus. This makes startx(1)/xinit(1) work again on modern systems with inteldrm(4), radeondrm(4) and amdgpu(4). In some cases this will result in using a different driver than with xenodm(4) which may expose issues (e.g. when we prefer the intel Xorg driver) or loss of acceleration (e.g. older cards supported by radeondrm(4)). ok jsg@, matthieu@
2019-08-24sync i965 pci ids with xserver git masterJonathan Gray
ok matthieu@
2019-08-24remove duplicate ids added by patch in xserver 1.20.5 updateJonathan Gray
ok matthieu@
2019-08-15Don't prune duplicate modes there.Matthieu Herrb
This function removes too many modes, causing trouble with the vesa driver at least. Problem reported by semarie@. Thanks.
2019-08-03Remove files that are no longer part of upstream tarballs.Matthieu Herrb
They accumulated over releases for various reasons. No build change.
2019-07-27Update to xserver 1.20.5. Tested by jsg@Matthieu Herrb
2019-04-28Backport cf7517675d988c2d1ff967d6d162a17acbdad46 from xserver 1.20Jonathan Gray
xfree86: Hold input_lock across SPRITE functions in VGA arbiter Fixes stack overflow crash with VGA arbiter used with multi GPU systems. Report and fix identified by 'Joe M' on misc@. ok matthieu@
2019-03-19Update to xserver 1.19.7. Tested by jca@ and stsp@.Matthieu Herrb
2019-02-18sync xserver dri2 pci_ids with the latest MesaJonathan Gray
the modesetting driver uses these to pick a dri driver name ok phessler@ kettenis@ matthieu@
2019-01-03Call xf86OpenConsole() before probing for drivers.Matthieu Herrb
On OpenBSD, we need the console fd to query wsdisplay type, This was only causing problems with -keepPriv, since the privilege separation code already calls xf86OpenConsole() earlier. The function is idempotent, so there's no harm calling it several times. ok kettenis@
2018-10-25MFC: Disable -logfile and -modulepath when running with elevatedMatthieu Herrb
privileges. This Could cause arbitrary files overwrite. CVE-2018-14665.
2018-08-20Initialize PCI subsystem on arm64.Mark Kettenis
ok matthieu@