udev_utils.h | udev_utils.h | |||
---|---|---|---|---|
skipping to change at line 47 | skipping to change at line 47 | |||
extern int parse_get_pair(char **orig_string, char **left, char **right); | extern int parse_get_pair(char **orig_string, char **left, char **right); | |||
extern int unlink_secure(const char *filename); | extern int unlink_secure(const char *filename); | |||
extern int file_map(const char *filename, char **buf, size_t *bufsize); | extern int file_map(const char *filename, char **buf, size_t *bufsize); | |||
extern void file_unmap(void *buf, size_t bufsize); | extern void file_unmap(void *buf, size_t bufsize); | |||
extern size_t buf_get_line(const char *buf, size_t buflen, size_t cur); | extern size_t buf_get_line(const char *buf, size_t buflen, size_t cur); | |||
extern void remove_trailing_char(char *path, char c); | extern void remove_trailing_char(char *path, char c); | |||
extern void replace_untrusted_chars(char *string); | extern void replace_untrusted_chars(char *string); | |||
extern int name_list_add(struct list_head *name_list, const char *name, int sort); | extern int name_list_add(struct list_head *name_list, const char *name, int sort); | |||
extern int name_list_key_add(struct list_head *name_list, const char *key, const char *value); | extern int name_list_key_add(struct list_head *name_list, const char *key, const char *value); | |||
extern int add_matching_files(struct list_head *name_list, const char *dirn ame, const char *suffix); | extern int add_matching_files(struct list_head *name_list, const char *dirn ame, const char *suffix); | |||
extern int pass_env_to_socket(const char *name, const char *devpath, const char *action); | ||||
extern int execute_program(const char *command, const char *subsystem, | extern int execute_program(const char *command, const char *subsystem, | |||
char *result, size_t ressize, size_t *reslen); | char *result, size_t ressize, size_t *reslen); | |||
#endif | #endif | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 1 lines changed or added | |||
udev_version.h | udev_version.h | |||
---|---|---|---|---|
#define UDEV_VERSION "064" | #define UDEV_VERSION "065" | |||
#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 UDEV_BIN "/sbin/udev" | |||
#define UDEVD_BIN "/sbin/udevd" | #define UDEVD_BIN "/sbin/udevd" | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
udevd.h | udevd.h | |||
---|---|---|---|---|
skipping to change at line 25 | skipping to change at line 25 | |||
* | * | |||
* You should have received a copy of the GNU General Public License al ong | * You should have received a copy of the GNU General Public License al ong | |||
* with this program; if not, write to the Free Software Foundation, In c., | * with this program; if not, write to the Free Software Foundation, In c., | |||
* 675 Mass Ave, Cambridge, MA 02139, USA. | * 675 Mass Ave, Cambridge, MA 02139, USA. | |||
* | * | |||
*/ | */ | |||
#include "list.h" | #include "list.h" | |||
#define UDEV_MAGIC "udevd_" UDEV_VERSION | #define UDEV_MAGIC "udevd_" UDEV_VERSION | |||
#define UDEVD_SOCK_PATH "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 */ | /* duration of initialization phase with shorter timeout */ | |||
#define UDEVD_INIT_TIME 5 | #define UDEVD_INIT_TIME 5 | |||
#define UDEVD_INIT_EVENT_TIMEOUT 2 | #define UDEVD_INIT_EVENT_TIMEOUT 2 | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||