[Intel-gfx] [PATCH] drm/i915/reset_stats: Only allow root to read reset_stats

Antonio Argenziano antonio.argenziano at intel.com
Tue Jan 16 18:35:09 UTC 2018



On 16/01/18 09:27, Chris Wilson wrote:
> Quoting Antonio Argenziano (2018-01-16 16:09:35)
>> Instead of returning a zero value for non root users, return an EPERM
>> error.
> 
> What? reset-stats are per-context, private to the client, with the
> exception of the global value which is solely protected by capable().

Completely missed that, thanks. Will ping the change to gem_reset_stats.

-Antonio

> There is a genuine debate over how much information leakage of one
> guilty reset in another context should affect an innocent, and we have
> tried to limit that to being only those directly affected and have a
> requirement to know (i.e they were executing at the time of the reset
> and their calculations will have been restarted with perturbed state).
> -Chris
> 


More information about the Intel-gfx mailing list