From: serue@us.ibm.com Date: Wed, 5 Dec 2007 21:55:36 +0000 (-0800) Subject: agp: remove uid comparison as security check X-Git-Tag: v2.6.25-rc1~789^2~6 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=62f29babbc60ab572d3cecda981931d3a66123d6;p=pandora-kernel.git agp: remove uid comparison as security check In the face of containers and user namespaces, a uid==0 check for security is not safe. Switch to a capability check. I'm not sure I picked the right capability, but this being AGP CAP_SYS_RAWIO seemed to make sense. Signed-off-by: Serge Hallyn Signed-off-by: Dave Airlie --- Reading git-diff-tree failed