diff options
| author | Pavel Emelyanov <[email protected]> | 2011-12-06 07:56:43 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2011-12-06 18:57:36 +0000 |
| commit | 7f1fb60c4fc9fb29fbb406ac8c4cfb4e59e168d6 (patch) | |
| tree | c099fd6899f382c439e29aed54c912ee95453324 /security/selinux/hooks.c | |
| parent | caif-spi: Bugfix for dump upon device removal (diff) | |
| download | kernel-7f1fb60c4fc9fb29fbb406ac8c4cfb4e59e168d6.tar.gz kernel-7f1fb60c4fc9fb29fbb406ac8c4cfb4e59e168d6.zip | |
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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
| -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 cca09bb46502..86305c2f555a 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; |
