summaryrefslogtreecommitdiffstats
path: root/security/tomoyo
diff options
context:
space:
mode:
authorPaul Moore <paul.moore@hp.com>2010-04-22 14:46:19 -0400
committerJames Morris <jmorris@namei.org>2010-08-02 15:34:39 +1000
commit253bfae6e0ad97554799affa0266052968a45808 (patch)
treec3599a18f06664160a55a20b30428ba4faf6e2c0 /security/tomoyo
parent84914b7ed1c5e0f3199a5a6997022758a70fcaff (diff)
downloadlinux-253bfae6e0ad97554799affa0266052968a45808.tar.bz2
selinux: Convert socket related access controls to use socket labels
At present, the socket related access controls use a mix of inode and socket labels; while there should be no practical difference (they _should_ always be the same), it makes the code more confusing. This patch attempts to convert all of the socket related access control points (with the exception of some of the inode/fd based controls) to use the socket's own label. In the process, I also converted the socket_has_perm() function to take a 'sock' argument instead of a 'socket' since that was adding a bit more overhead in some cases. Signed-off-by: Paul Moore <paul.moore@hp.com> Acked-by: Eric Paris <eparis@redhat.com> Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'security/tomoyo')
0 files changed, 0 insertions, 0 deletions