| udev_version.h | | udev_version.h | |
|
| #define UDEV_VERSION "072" | | #define UDEV_VERSION "073" | |
| #define UDEV_ROOT "/dev" | | #define UDEV_ROOT "/dev" | |
| #define UDEV_DB "/dev/.udevdb" | | #define UDEV_DB "/dev/.udevdb" | |
| #define UDEV_CONFIG_DIR "/etc/udev" | | #define UDEV_CONFIG_DIR "/etc/udev" | |
| #define UDEV_CONFIG_FILE "/etc/udev/udev.conf" | | #define UDEV_CONFIG_FILE "/etc/udev/udev.conf" | |
| #define UDEV_RULES_FILE "/etc/udev/rules.d" | | #define UDEV_RULES_FILE "/etc/udev/rules.d" | |
|
| #define UDEV_BIN "/sbin/udev" | | | |
| #define UDEVD_BIN "/sbin/udevd" | | #define UDEVD_BIN "/sbin/udevd" | |
| | | | |
End of changes. 2 change blocks. |
| 2 lines changed or deleted | | 1 lines changed or added | |
|
| udevd.h | | udevd.h | |
| | | | |
| skipping to change at line 32 | | skipping to change at line 32 | |
| #include "list.h" | | #include "list.h" | |
| | | | |
| #define UDEV_MAGIC "udevd_" UDEV_VERSION | | #define UDEV_MAGIC "udevd_" UDEV_VERSION | |
| #define UDEVD_SOCK_PATH "/org/kernel/udev/udevd" | | #define UDEVD_SOCK_PATH "/org/kernel/udev/udevd" | |
| #define UDEVSEND_WAIT_MAX_SECONDS 3 | | #define UDEVSEND_WAIT_MAX_SECONDS 3 | |
| #define UDEVSEND_WAIT_LOOP_PER_SECOND 10 | | #define UDEVSEND_WAIT_LOOP_PER_SECOND 10 | |
| | | | |
| #define UDEVD_PRIORITY -4 | | #define UDEVD_PRIORITY -4 | |
| #define UDEV_PRIORITY -2 | | #define UDEV_PRIORITY -2 | |
| | | | |
|
| /* duration of initialization phase with shorter timeout */ | | | |
| #define UDEVD_INIT_TIME 5 | | | |
| #define UDEVD_INIT_EVENT_TIMEOUT 2 | | | |
| | | | |
| /* timeout to wait for missing events */ | | | |
| #define UDEVD_EVENT_TIMEOUT 5 | | | |
| | | | |
| /* maximum limit of runnig childs */ | | /* maximum limit of runnig childs */ | |
| #define UDEVD_MAX_CHILDS 64 | | #define UDEVD_MAX_CHILDS 64 | |
| /* start to throttle forking if maximum number of running childs in our ses
sion is reached */ | | /* start to throttle forking if maximum number of running childs in our ses
sion is reached */ | |
| #define UDEVD_MAX_CHILDS_RUNNING 8 | | #define UDEVD_MAX_CHILDS_RUNNING 8 | |
| | | | |
| /* environment buffer, should match the kernel's size in lib/kobject_uevent
.h */ | | /* environment buffer, should match the kernel's size in lib/kobject_uevent
.h */ | |
| #define UEVENT_BUFFER_SIZE 1024 | | #define UEVENT_BUFFER_SIZE 1024 | |
| #define UEVENT_NUM_ENVP 32 | | #define UEVENT_NUM_ENVP 32 | |
| | | | |
| enum udevd_msg_type { | | enum udevd_msg_type { | |
| | | | |
| skipping to change at line 70 | | skipping to change at line 63 | |
| struct udevd_msg { | | struct udevd_msg { | |
| char magic[32]; | | char magic[32]; | |
| enum udevd_msg_type type; | | enum udevd_msg_type type; | |
| char envbuf[UEVENT_BUFFER_SIZE+512]; | | char envbuf[UEVENT_BUFFER_SIZE+512]; | |
| }; | | }; | |
| | | | |
| struct uevent_msg { | | struct uevent_msg { | |
| enum udevd_msg_type type; | | enum udevd_msg_type type; | |
| struct list_head node; | | struct list_head node; | |
| pid_t pid; | | pid_t pid; | |
|
| long queue_time; | | time_t queue_time; | |
| char *action; | | char *action; | |
| char *devpath; | | char *devpath; | |
| char *subsystem; | | char *subsystem; | |
| dev_t devt; | | dev_t devt; | |
| unsigned long long seqnum; | | unsigned long long seqnum; | |
| char *physdevpath; | | char *physdevpath; | |
| unsigned int timeout; | | unsigned int timeout; | |
| char *envp[UEVENT_NUM_ENVP+1]; | | char *envp[UEVENT_NUM_ENVP+1]; | |
| char envbuf[]; | | char envbuf[]; | |
| }; | | }; | |
| | | | |
End of changes. 2 change blocks. |
| 8 lines changed or deleted | | 1 lines changed or added | |
|