diff options
author | kay.sievers@vrfy.org <kay.sievers@vrfy.org> | 2004-11-23 06:14:21 +0100 |
---|---|---|
committer | Greg KH <gregkh@suse.de> | 2005-04-26 22:35:00 -0700 |
commit | 6f59ed5547426ddaf6bedf574d19a19f6bd20e1f (patch) | |
tree | d2df87bc0296dea39bc826d76b8d6e964aebe130 /udevd.h | |
parent | a97b06483e3006a7d21e534694e8d67d3b3c694d (diff) |
[PATCH] add MANAGED_EVENT to the forked udev environment
This will prevent a loop, if udev sends events back into the
daemon.
Diffstat (limited to 'udevd.h')
-rw-r--r-- | udevd.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -36,7 +36,7 @@ struct udevsend_msg { char magic[20]; - char envbuf[HOTPLUG_BUFFER_SIZE]; + char envbuf[HOTPLUG_BUFFER_SIZE+256]; }; struct hotplug_msg { @@ -47,6 +47,6 @@ struct hotplug_msg { char *devpath; char *subsystem; unsigned long long seqnum; - char *envp[HOTPLUG_NUM_ENVP]; + char *envp[HOTPLUG_NUM_ENVP+1]; char envbuf[]; }; |