diff options
author | Kay Sievers <kay.sievers@suse.de> | 2006-01-24 12:12:07 +0100 |
---|---|---|
committer | Kay Sievers <kay.sievers@suse.de> | 2006-01-24 12:12:07 +0100 |
commit | 7d1e179f86aabeb5c206bf9b5bcac52235a9afbf (patch) | |
tree | 560ec199dc9ead36ca24843f12eff3eee3252b85 | |
parent | f61f78a76e424e4ec8197bc52e08d19b2ce07236 (diff) |
increase kernel uevent buffer size
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
-rw-r--r-- | udevd.c | 2 | ||||
-rw-r--r-- | udevd.h | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -621,7 +621,7 @@ static struct uevent_msg *get_netlink_msg(void) struct uevent_msg *msg; int bufpos; ssize_t size; - static char buffer[UEVENT_BUFFER_SIZE + 512]; + static char buffer[UEVENT_BUFFER_SIZE+512]; char *pos; size = recv(uevent_netlink_sock, &buffer, sizeof(buffer), 0); @@ -38,8 +38,8 @@ #define UDEVD_MAX_CHILDS_RUNNING 16 /* environment buffer, should match the kernel's size in lib/kobject_uevent.h */ -#define UEVENT_BUFFER_SIZE 1024 -#define UEVENT_NUM_ENVP 32 +#define UEVENT_BUFFER_SIZE 2048 +#define UEVENT_NUM_ENVP 64 enum udevd_msg_type { UDEVD_UNKNOWN, |