chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[PATCH] udevd - next round of fixes
[elogind.git]
/
udevd.h
diff --git
a/udevd.h
b/udevd.h
index c9b69bbc3cb6a0e4282556af8a8a1e6c4c18a629..4bccd4b81a75e14cd7c46a90c0e6ce18bc303925 100644
(file)
--- a/
udevd.h
+++ b/
udevd.h
@@
-23,18
+23,18
@@
#include "list.h"
#include "list.h"
-#define UDEV_EXEC "./udev"
-#define UDEVD_EXEC "./udevd"
-#define UDEVD_TIMEOUT_SECONDS 60
-#define EVENT_TIMEOUT_SECONDS 5
+#define FIRST_EVENT_TIMEOUT_SEC 1
+#define EVENT_TIMEOUT_SEC 5
+#define UDEVSEND_RETRY_COUNT 50 /* x 10 millisec */
-#define IPC_KEY_ID
0
+#define IPC_KEY_ID
1
#define HOTPLUGMSGTYPE 44
struct hotplug_msg {
long mtype;
struct list_head list;
#define HOTPLUGMSGTYPE 44
struct hotplug_msg {
long mtype;
struct list_head list;
+ pid_t pid;
int seqnum;
time_t queue_time;
char action[8];
int seqnum;
time_t queue_time;
char action[8];