Commit Graph

6616 Commits

Author SHA1 Message Date
matthieu
7b53c81262 update 2019-11-20 21:34:30 +00:00
jsg
76ee08e832 Call shmget() with permission 0600 instead of 0777
From Brian Paul
02c3dad0f3b4d26e0faa5cc51d06bc50d693dcdc in mainline Mesa

"A security advisory (TALOS-2019-0857/CVE-2019-5068) found that
creating shared memory regions with permission mode 0777 could allow
any user to access that memory.  Several Mesa drivers use shared-
memory XImages to implement back buffers for improved performance.

This path changes the shmget() calls to use 0600 (user r/w).

Tested with legacy Xlib driver and llvmpipe."
2019-11-20 03:13:04 +00:00
mglocker
1d6efe8e23 Tested a Logitech Webcam C930e which has 17 frame sizes but video(1) only
supports 16 today.  Bump the array to 32 which makes 1920x1080 work on this
device as well.

OK deraadt
2019-11-06 05:46:51 +00:00
matthieu
96afcbe794 Stop calling chmod() in cache update code.
These calls are useless to toxic and come in the way of adding pledge
to applications (would require 'fattr' which is quite wide).
Discussed with deraadt, millert and jcs.
Submitted upstreams too.
2019-10-28 19:38:47 +00:00
matthieu
1e2269ecbb update 2019-10-26 09:39:43 +00:00
matthieu
049847108f Update to xf86-video-ati 19.10.0. tested by jsg@ 2019-10-26 09:37:25 +00:00
matthieu
0999e0299d Update to xf86-video-amdgpu 19.1.0. Tested by mortimer@ and jsg@ 2019-10-26 09:36:38 +00:00
matthieu
402f773ff7 update 2019-10-19 16:46:35 +00:00
matthieu
81f8815d74 Remove references to xman(1). Noticed by Alfred Morgan, thanks. 2019-10-19 16:39:49 +00:00
matthieu
7bf4fec6b9 update 2019-10-13 06:48:12 +00:00
kettenis
35220e47ea Add modesetting driver as a fall-back when appropriate such that we can
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-09-15 12:31:08 +00:00
matthieu
92537e2975 Fix build with gcc3 which doesn't support symbol visibility.
Reposrted and tested by aoyama@
2019-09-13 19:11:23 +00:00
matthieu
425917ac54 update 2019-09-10 19:17:29 +00:00
matthieu
5c70e5c2d6 sync 2019-09-10 19:14:51 +00:00
matthieu
bee0fbcda2 Update to freetype 2.10.1. Tested by semarie@ and naddy@ 2019-09-10 19:13:54 +00:00
matthieu
b96f65054f MFC: randrproto: Fix missing #undef RRLease
fixes build with gcc3. Problem noticed and fix confirmed by aoyama@
2019-09-10 19:09:14 +00:00
aoyama
8a3654518e Fix gcc3 specific error. The diff is based on latest upstream change.
suggested by jsg@, tested on luna88k by me, ok by jsg@ and matthieu@
2019-09-05 14:03:08 +00:00
jsg
cb4de3d9c1 sync 2019-08-28 08:04:03 +00:00
jsg
4126f04810 build xf86-video-amdgpu on arm64
ok kettenis@ patrick@
2019-08-28 08:03:10 +00:00
jsg
86f7c2fd52 enable radeonsi and llvm on arm64
ok kettenis@ patrick@
2019-08-28 08:01:48 +00:00
matthieu
2b9ab627de update 2019-08-24 16:39:33 +00:00
jsg
cddeeb9fb6 intel: Add support for Comet Lake
From Anuj Phogat
82f6a746e8b47fb6e3f96d7f5f69973f50eec9ca in mesa master
2019-08-24 02:12:17 +00:00
jsg
5e7792301a sync i965 pci ids with xserver git master
ok matthieu@
2019-08-24 01:20:16 +00:00
jsg
38e2fafc5f remove duplicate ids added by patch in xserver 1.20.5 update
ok matthieu@
2019-08-24 01:15:31 +00:00
matthieu
4f845b250b update 2019-08-15 18:06:41 +00:00
matthieu
13cff90981 Remove apps unlinked from the build several months ago. 2019-08-15 18:06:02 +00:00
matthieu
73599d9e9d Update to xwininfo 1.1.5 2019-08-15 17:59:13 +00:00
matthieu
6993267f7f Update to xprop 1.2.4 2019-08-15 17:52:58 +00:00
matthieu
ef2032d6ff Update to xmodmap 1.0.10 2019-08-15 17:51:00 +00:00
matthieu
354ece0923 Update to xmore 1.0.3 2019-08-15 17:48:05 +00:00
matthieu
69458bc6ad Update to xlsatoms 1.1.3 2019-08-15 17:43:42 +00:00
matthieu
fd47a85b33 Update to xlogo 1.0.5 2019-08-15 17:40:56 +00:00
matthieu
8c7b0d02e1 Update to xinput 1.6.3 2019-08-15 17:38:24 +00:00
matthieu
f0f73ad126 Update to xfd 1.1.3 2019-08-15 17:33:48 +00:00
matthieu
8ac46feb91 Update to xev 1.2.3 2019-08-15 17:31:43 +00:00
matthieu
a1d3d5c34b Remove empty file also removed upstreams. 2019-08-15 17:29:01 +00:00
matthieu
ecd7f987b2 Update to xcompmgr 1.1.8 2019-08-15 17:27:05 +00:00
matthieu
dc74642110 Update to xclock 1.0.9 2019-08-15 17:19:52 +00:00
matthieu
180002922b Update to xcalc 1.1.0 2019-08-15 17:13:47 +00:00
matthieu
274574490b Update to xbiff 1.0.4 2019-08-15 17:11:34 +00:00
matthieu
aa6a2ecbd7 Update to xbacklight 1.2.3 2019-08-15 17:09:24 +00:00
matthieu
3c49189247 Update to x11perf 1.6.1 2019-08-15 17:03:49 +00:00
matthieu
5c7f6f0f8c Update to setxkbmap 1.3.2 2019-08-15 17:03:15 +00:00
matthieu
6d205384e9 Update to sessreg 1.1.2 2019-08-15 17:02:20 +00:00
matthieu
38d585394d Update to mkfontscale 1.2.1. This version got merged with mkfontdir. 2019-08-15 17:01:12 +00:00
matthieu
3910490aae Update to fontstosfnt 1.0.5 2019-08-15 16:57:57 +00:00
matthieu
2542268dcc Update to bitmap 1.0.9 2019-08-15 16:56:00 +00:00
matthieu
b9bedc770a Provide better xsession examples. exec the window manager last.
Convert user's example to /bin/sh. Remove xman for example.
2019-08-15 16:23:33 +00:00
matthieu
6a5cb53020 Remove xman and olwm (not available from ports anymore) from menu 2019-08-15 16:17:16 +00:00
matthieu
3fd1c696d6 Remove xman from utilities menu. 2019-08-15 16:15:04 +00:00