]> git.baikalelectronics.ru Git - kernel.git/commit
agp: zero pages before sending to userspace
authorShaohua Li <shaohua.li@intel.com>
Mon, 20 Apr 2009 00:08:35 +0000 (10:08 +1000)
committerDave Airlie <airlied@redhat.com>
Mon, 20 Apr 2009 00:08:35 +0000 (10:08 +1000)
commit06a145d976b1f2d843cd3dcfae9df8edebb7a55f
treeb4f9f209c254c4e830f10605054dddf52e472184
parenta16bb013e6701670b29df2b860bf30d10b03f05f
agp: zero pages before sending to userspace

AGP pages might be mapped into userspace finally, so the pages should be
set to zero before userspace can use it. Otherwise there is potential
information leakage.

Signed-off-by: Shaohua Li <shaohua.li@intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/char/agp/generic.c