summaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorPavel Emelyanov <xemul@parallels.com>2011-12-06 07:56:43 +0000
committerDavid S. Miller <davem@davemloft.net>2011-12-06 13:57:36 -0500
commit7f1fb60c4fc9fb29fbb406ac8c4cfb4e59e168d6 (patch)
treec099fd6899f382c439e29aed54c912ee95453324 /security
parentd5f43c1ea4260807a894150b680fa0a0dd386259 (diff)
downloadop-kernel-dev-7f1fb60c4fc9fb29fbb406ac8c4cfb4e59e168d6.zip
op-kernel-dev-7f1fb60c4fc9fb29fbb406ac8c4cfb4e59e168d6.tar.gz
inet_diag: Partly rename inet_ to sock_
The ultimate goal is to get the sock_diag module, that works in family+protocol terms. Currently this is suitable to do on the inet_diag basis, so rename parts of the code. It will be moved to sock_diag.c later. Signed-off-by: Pavel Emelyanov <xemul@parallels.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'security')
-rw-r--r--security/selinux/hooks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/selinux/hooks.c b/security/selinux/hooks.c
index cca09bb..86305c2 100644
--- a/security/selinux/hooks.c
+++ b/security/selinux/hooks.c
@@ -1090,7 +1090,7 @@ static inline u16 socket_type_to_security_class(int family, int type, int protoc
return SECCLASS_NETLINK_ROUTE_SOCKET;
case NETLINK_FIREWALL:
return SECCLASS_NETLINK_FIREWALL_SOCKET;
- case NETLINK_INET_DIAG:
+ case NETLINK_SOCK_DIAG:
return SECCLASS_NETLINK_TCPDIAG_SOCKET;
case NETLINK_NFLOG:
return SECCLASS_NETLINK_NFLOG_SOCKET;
OpenPOWER on IntegriCloud