diff options
author | Pavel Emelyanov <xemul@parallels.com> | 2011-12-06 07:56:43 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-12-06 13:57:36 -0500 |
commit | 7f1fb60c4fc9fb29fbb406ac8c4cfb4e59e168d6 (patch) | |
tree | c099fd6899f382c439e29aed54c912ee95453324 /security | |
parent | d5f43c1ea4260807a894150b680fa0a0dd386259 (diff) | |
download | op-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.c | 2 |
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; |