summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-06-04allowMouseOps default is disabled. adjust documentation.Theo de Raadt
2021-02-11Import libdrm 2.4.104Jonathan Gray
2018-09-13Import libdrm 2.4.94Jonathan Gray
2016-03-20Import libdrm 2.4.67Jonathan Gray
2015-08-21Import libdrm 2.4.64Jonathan Gray
2022-05-27Do not free() an on-stack array.Matthieu Herrb
Reported by Tobias Nygren using gcc10.
2022-05-22Document removal of exec-formatted(), exec-selectable() andMatthieu Herrb
spawn-new-terminal() functions.
2022-05-22Back in darker times, xterm was setuid root to add a user entry to theTheo de Raadt
utmp and wtmp files at startup. real-uid / effective-uid flipping was used to cleanup the records in these two files at logout-time. Over time it was recognized that setuid root is too dangerous, later on even uid flipping became an unacceptable practice (because an attacker who finds a bug will simply flip the uid back to root before continuing exploitation). Some OS's helped xterm (and other similar login-related tooling) by making utmp writeable by a new utmp group, but most did not do the same for wtmp. xterm started using this new utmp gid, and the wtmp code moved to "try, and if it fails, ignore the failure". The obvious way to use this uid is for xterm to open the utmp file for write (early on), discard the egid, and keep the file descriptor around until utmp cleanup at termination. 10-20 lines of code, maybe. But no,.... that's not what happened. The previous setuid root flipping code (which is nearly a hundred lines of #ifdef-wrapped code for portability reasons) was copied and repurposed by adding new #ifdef code for setgid utmp flipping, and thus nearly a hundred lines of #ifdef-wrapped code was added). setgid flipping has less severe security risks than setuid flipping, but it is remains an excessively strong and unneccessary power (compared to a single writeable fd). When pledge() arrived on the scene, "wpath" was required so that the utmp file could be opened late, and "id" was required to support egid flipping. unveil() arrived on the scene, and the utmp path was added to the list of viable paths, once again not considering that an incorrect approach was being taken by the code. I tried rewriting the portable USE_UTMP_SETGID code to follow the open-drop-reuse-fd approach, to help out upstream xterm, but it is such a brain-melting shitshow I gave up, we'll have a (small) intrusive patch which opens utmp early, drops the gid, and reuses the fd later on. Maybe upstream will take care of this eventually to reduce the risk of egid other operating systems. ok matthieu, much feedback from millert
2022-05-22Disable wtmp support on OpenBSD, it hasn't worked in nearly two decadesTheo de Raadt
because we dropped setuid root around the, but the code to attempt it it was erroneously left behind ok matthieu
2022-05-22Disable the exec-formatted and exec-selectable strictlyTheo de Raadt
ok matthieu
2022-05-22Avoid snprintf truncation near environment variablesTheo de Raadt
ok matthieu
2022-05-22A few support functions can be hidden using OPT_EXEC_XTERM, becauseTheo de Raadt
the top-level features are disabled because our xterm uses pledge without "exec" support. ok matthieu
2022-05-11Fix typo: ususally -> usually.Anthony J. Bentley
2022-05-05intel/dev: add RPL-S pci ids from drm-intel-nextJonathan Gray
0cfc01fe835fe727e9ff7485fd6b5c8180bfd7b7 in mainline Mesa
2022-05-05intel/dev: sync ADL-S pci ids with linuxJonathan Gray
0cfc01fe835fe727e9ff7485fd6b5c8180bfd7b7 in mainline Mesa
2022-05-04intel/dev: Add device info for RPL-PJonathan Gray
From Jordan Justen d257494ec4d826aec8841845479215820e612917 in mainline Mesa
2022-05-04intel/dev: Add device info for RPLJonathan Gray
From Jordan Justen 4e0eca7dc34942759638ab00eb006ba40284a7c in mainline Mesa
2022-05-04intel/dev: Add device ids for ADL-NJonathan Gray
From Jordan Justen 03cc5a8295e239b45623c89faac88030b33a4a14 in mainline Mesa
2022-05-04intel/dev: Add DG1 PCI id 0x4909Jonathan Gray
From Jordan Justen fd646c2d2f8b3efed92630d548448a1bdd6ba2b1 in mainline Mesa
2022-04-29updateJonathan Gray
2022-02-24Import Mesa 21.3.7Jonathan Gray
2021-07-22Import Mesa 21.1.5Jonathan Gray
2020-08-26Import Mesa 20.1.6Jonathan Gray
2022-04-29syncJonathan Gray
2022-04-29Merge libdrm 2.4.110Jonathan Gray
2022-04-29Import libdrm 2.4.110Jonathan Gray
2022-04-25updateMatthieu Herrb
2022-04-25Update to libX11 1.7.5. No API / ABI changes. ok tb@Matthieu Herrb
2022-04-25Update to xterm 372. ok tb@, naddy@. Tested by others too.Matthieu Herrb
2022-04-23updateMatthieu Herrb
2022-04-21updateJonathan Gray
2022-04-21Merge Mesa 21.3.8Jonathan Gray
2022-04-21Import Mesa 21.3.8Jonathan Gray
2022-04-19updateJonathan Gray
2019-01-29Import Mesa 18.3.2Jonathan Gray
2022-04-03MFC: TI mode: correct key color highlightingMatthieu Herrb
Commit 19eb8cef by Alan Coopersmith.
2022-03-23remove app/xdm from the list.Matthieu Herrb
2022-03-23Add twm(1) to the list of possible removalsMatthieu Herrb
2022-03-08updateJonathan Gray
2022-03-08update to xf86-video-amdgpu 22.0.0Jonathan Gray
2022-02-27cycling fix: when no client is active, warp pointer to last active;Okan Demirmen
from Walter Alejandro Iglesias.
2019-04-16import xf86-video-amdgpu 19.0.1Jonathan Gray
ok matthieu@
2022-02-26whitespaceOkan Demirmen
2022-02-26Fix spelling of some unused MWM hints; from Sean C. Farley.Okan Demirmen
While here, flesh out the rest of the MWM hints.
2022-02-25move u_printf_length() to new fileJonathan Gray
lld can remove unused c++ sections from u_printf.cpp with --gc-sections ld.bfd from binutils 2.17 can't unless this function is moved u_printf_length() was added to u_printf.cpp upstream in vulkan: Add vk_asprintf and vk_vasprintf helpers 2db5536a461734a818caf4f519e3286accb0818f problem reported by deraadt@ and visa@ on sparc64 and octeon
2022-02-25put .a files in a linker group to avoid an undefined referenceJonathan Gray
to loader_dri_create_image with ld.bfd from binutils 2.17 reported and tested by visa@
2022-02-25unbreak Mesa build on mips64Jonathan Gray
ifdef out a linux specific path introduced upstream in: gallivm: add basic mips64 support and set mcpu to mips64r5 on ls3a4000 88b234d7a7cd71fcb4955428010f238ec9530431 https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11955 to fix build on mips64 reported by deraadt@ tested by visa@
2022-02-25build u_printf.cpp with -ffunction-sections -fdata-sections andJonathan Gray
link libmesa_util.a users with --gc-sections avoids unwanted external references in shared libraries: _ZNKSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE4findEcm _ZNKSt3__121__basic_string_commonILb1EE20__throw_length_errorEv _ZdlPv _Znwm __gxx_personality_v0 follows what the meson build does problem reported by sthen@ when building sd2-ttf on i386
2022-02-24no need to create src/gallium/drivers/{iris,radeonsi}/Jonathan Gray
2022-02-24updateJonathan Gray