Commit Graph

6628 Commits

Author SHA1 Message Date
jsg
529ec772d8 regen 2019-12-07 03:10:09 +00:00
jsg
d3074235e2 build Mesa with _ISOC11_SOURCE for c11 visibility
autoconf function tests run without --std and have c11 visibility
timespec_get(3), a c11 function is found this way.

With gcc < 4.6 Mesa will build with --std=gnu99 with clang it will
build with --std=c99 and timespec_get() will no longer be visibile.
Further complicating things gcc 4.2 does not recognise --std=c11.

This was not noticed on linux as they build with _GNU_SOURCE which
among other things gives c11 visibility even with --std=c99.

discussed with millert@
2019-12-07 03:09:41 +00:00
deraadt
ed32a4544c xenodm uses the libc authentication layer incorrectly.
fix by markus or millert
Reported by Qualys
2019-12-04 09:53:47 +00:00
deraadt
5886ab525a Constrain honouring of path-related environment variables based upon
issetugid(), not just the sloppy uid != euid test. gid != egid cases
can occur also.
Part of 6.6/009_mesaxlock.patch.sig and 6.5/020_mesaxlock.patch.sig
From Qualys, ok
2019-12-04 02:26:36 +00:00
deraadt
4f8bdea832 disable opengl and mesa functionality
from matthieu, ok jsg
2019-12-03 17:44:29 +00:00
jsg
a404f03df3 update 2019-11-27 10:26:56 +00:00
jsg
f42e66cbd7 update to GLU 9.0.1
Among other minor changes this adds a stddef.h include for NULL required
to build with Mesa 19.2 headers.
2019-11-27 10:26:12 +00:00
jsg
58ce6ad3d9 update 2019-11-27 02:22:35 +00:00
jsg
b6729d7533 sync 2019-11-27 02:18:51 +00:00
jsg
94e5bba011 Merge libdrm 2.4.100 2019-11-27 02:17:47 +00:00
jsg
a628e08ec1 Import libdrm 2.4.100 2019-11-27 02:09:48 +00:00
matthieu
974a819012 update 2019-11-23 14:31:41 +00:00
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