diff options
Diffstat (limited to 'security/selinux/hooks.c')
-rw-r--r-- | security/selinux/hooks.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/security/selinux/hooks.c b/security/selinux/hooks.c index 8a2cc75b3948..2ae7d3cb8df4 100644 --- a/security/selinux/hooks.c +++ b/security/selinux/hooks.c | |||
@@ -672,6 +672,8 @@ static inline u16 socket_type_to_security_class(int family, int type, int protoc | |||
672 | return SECCLASS_NETLINK_IP6FW_SOCKET; | 672 | return SECCLASS_NETLINK_IP6FW_SOCKET; |
673 | case NETLINK_DNRTMSG: | 673 | case NETLINK_DNRTMSG: |
674 | return SECCLASS_NETLINK_DNRT_SOCKET; | 674 | return SECCLASS_NETLINK_DNRT_SOCKET; |
675 | case NETLINK_KOBJECT_UEVENT: | ||
676 | return SECCLASS_NETLINK_KOBJECT_UEVENT_SOCKET; | ||
675 | default: | 677 | default: |
676 | return SECCLASS_NETLINK_SOCKET; | 678 | return SECCLASS_NETLINK_SOCKET; |
677 | } | 679 | } |