Mark Kettenis <mark.kette...@xs4all.nl> writes:

>> From: j...@wxcvbn.org (Jeremie Courreges-Anglas)
>> Date: Mon, 27 Jun 2016 23:40:35 +0200
>> 
>> Mark Kettenis <mark.kette...@xs4all.nl> writes:
>> 
>> > As reported by several people, mesa contains code that violates W^X.
>> > As a result glxgears aborts when using the swrast driver.  The diff
>> > below disables the offending code.  The code seems to deal the absence
>> > of W|X memory just fine.  There is a fallback path that is also used
>> > on SELinux systems.
>> >
>> > Note that the existing code would have worked just fine if mmap
>> > returned MAP_FAILED for W^X violations instead of terminating the
>> > program.  Not entirely sure what the long-term plans are.
>> 
>> [...]
>> 
>> 
>> The #ifdef excludes the definition of _mesa_exec_malloc and
>> _mesa_exec_free.
>> 
>>  xlock:/usr/X11R6/lib/modules/dri/i915_dri.so: undefined symbol 
>> '_mesa_exec_malloc'
>>  xlock:/usr/X11R6/lib/modules/dri/i915_dri.so: undefined symbol 
>> '_mesa_exec_free'
>>  libGL error: unable to load driver: i915_dri.so
>>  libGL error: driver pointer missing
>>  libGL error: failed to load driver: i915
>
> New diff that should fix this.

ok jca@

-- 
jca | PGP: 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524 E7EE

Reply via email to