[PATCH] 2.6.12-rc1-mm3 Fix ver_linux script for no udev utils.
[linux-3.10.git] / security / selinux / hooks.c
index 8a2cc75b3948590c7d71bb457a7c5fec618851cb..2ae7d3cb8df4b0b02b1d3c217c465dbacc6c4bb4 100644 (file)
@@ -672,6 +672,8 @@ static inline u16 socket_type_to_security_class(int family, int type, int protoc
                        return SECCLASS_NETLINK_IP6FW_SOCKET;
                case NETLINK_DNRTMSG:
                        return SECCLASS_NETLINK_DNRT_SOCKET;
+               case NETLINK_KOBJECT_UEVENT:
+                       return SECCLASS_NETLINK_KOBJECT_UEVENT_SOCKET;
                default:
                        return SECCLASS_NETLINK_SOCKET;
                }