git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1fa4db7
)
agp: remove uid comparison as security check
author
serue@us.ibm.com
<serue@us.ibm.com>
Wed, 5 Dec 2007 21:55:36 +0000
(13:55 -0800)
committer
Dave Airlie
<airlied@redhat.com>
Tue, 5 Feb 2008 04:33:32 +0000
(14:33 +1000)
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>
No differences found