serue@us.ibm.com 62f29babbc 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 <serue@us.ibm.com>
Signed-off-by: Dave Airlie <airlied@linux.ie>
2008-02-05 14:33:32 +10:00
..
2008-01-30 13:34:07 +01:00
2007-05-02 19:02:37 -07:00
2007-08-25 18:14:00 +10:00
2007-10-17 08:42:48 -07:00
2008-01-30 13:34:07 +01:00
2008-02-05 14:33:32 +10:00
2007-08-25 18:14:00 +10:00
2007-07-27 10:46:26 +10:00