[PATCH] i915: purify user ptr ioctl through the fire of truth.

2014-07-08 Thread Daniel Vetter
On Mon, Jun 30, 2014 at 02:23:32PM -0400, j.glisse at gmail.com wrote: > From: Jerome Glisse > > Heresy should not be tolerated, any ioctl that rely on pure luck > should die. Violating memory pining kernel policy and all the > reasonable expection kernel have about user of mmu_notifier api > is

[PATCH] i915: purify user ptr ioctl through the fire of truth.

2014-06-30 Thread j.gli...@gmail.com
From: Jerome Glisse Heresy should not be tolerated, any ioctl that rely on pure luck should die. Violating memory pining kernel policy and all the reasonable expection kernel have about user of mmu_notifier api is not tolerable. Because we can neither broke old userspace the ioctl is left but i