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)
commit59de2bebabc5027f93df999d59cc65df591c3e6e
treeb4f9f209c254c4e830f10605054dddf52e472184
parent07f1c7a7f6736d9ec2eba57d209c5f48888d841e
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