summaryrefslogtreecommitdiffstats
path: root/mm/sparse-vmemmap.c
diff options
context:
space:
mode:
authorEric Paris <eparis@redhat.com>2008-10-29 17:06:46 -0400
committerJames Morris <jmorris@namei.org>2008-10-31 02:00:52 +1100
commit8b6a5a37f87a414ef8636e36ec75accb27bb7508 (patch)
tree26ff1dddb3c8727118b24819e83b4b7c500ff595 /mm/sparse-vmemmap.c
parent0da939b0058742ad2d8580b7db6b966d0fc72252 (diff)
downloadop-kernel-dev-8b6a5a37f87a414ef8636e36ec75accb27bb7508.zip
op-kernel-dev-8b6a5a37f87a414ef8636e36ec75accb27bb7508.tar.gz
SELinux: check open perms in dentry_open not inode_permission
Some operations, like searching a directory path or connecting a unix domain socket, make explicit calls into inode_permission. Our choices are to either try to come up with a signature for all of the explicit calls to inode_permission and do not check open on those, or to move the open checks to dentry_open where we know this is always an open operation. This patch moves the checks to dentry_open. Signed-off-by: Eric Paris <eparis@redhat.com> Acked-by: Stephen Smalley <sds@tycho.nsa.gov> Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'mm/sparse-vmemmap.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud