-#define EVENT_TIMEOUT_SEC 10
-#define UDEVD_SOCK_PATH "udevd"
-#define SEND_WAIT_MAX_SECONDS 3
-#define SEND_WAIT_LOOP_PER_SECOND 10
+#define UDEVD_SOCK_PATH "/org/kernel/udev/udevd"
+
+#define UDEVD_PRIORITY -4
+#define UDEV_PRIORITY -2
+
+#define EVENT_QUEUE_DIR ".udev/queue"
+#define EVENT_FAILED_DIR ".udev/failed"
+#define EVENT_SEQNUM ".udev/uevent_seqnum"
+
+/* maximum limit of forked childs */
+#define UDEVD_MAX_CHILDS 256
+/* start to throttle forking if maximum number of running childs in our session is reached */
+#define UDEVD_MAX_CHILDS_RUNNING 16