drm: do not leak kernel addresses via /proc/dri/*/vma
authorKees Cook <kees.cook@canonical.com>
Sat, 12 Feb 2011 03:29:44 +0000 (19:29 -0800)
committerDave Airlie <airlied@redhat.com>
Sun, 13 Feb 2011 23:23:20 +0000 (09:23 +1000)
commit01e2f533a234dc62d16c0d3d4fb9d71cf1ce50c3
tree62a0e3ac022fc0f8e7abb1d45871be444206ae8a
parent9fad321ac6bedd96f449754a1a25289ea1789a49
drm: do not leak kernel addresses via /proc/dri/*/vma

In the continuing effort to avoid kernel addresses leaking to unprivileged
users, this patch switches to %pK for /proc/dri/*/vma.

Signed-off-by: Kees Cook <kees.cook@canonical.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_info.c