#include "lib/libudev.h"
#include "lib/libudev-private.h"
-#define ALLOWED_CHARS "#+-.:=@_"
-#define ALLOWED_CHARS_FILE ALLOWED_CHARS "/"
-#define ALLOWED_CHARS_INPUT ALLOWED_CHARS_FILE " $%?,"
-
#define DEFAULT_FAKE_PARTITIONS_COUNT 15
#define UDEV_EVENT_TIMEOUT 180
}
struct udev_event {
+ struct udev_list_node node;
struct udev *udev;
struct udev_device *dev;
struct udev_device *dev_parent;
- int devlink_final;
- char name[UTIL_PATH_SIZE];
- int name_final;
- int name_ignore;
+ char *name;
char *tmp_node;
char *program_result;
mode_t mode;
- int mode_final;
uid_t uid;
- int owner_final;
gid_t gid;
- int group_final;
struct udev_list_node run_list;
- int run_final;
- int ignore_device;
- int test;
-
- struct udev_list_node node;
pid_t pid;
int exitstatus;
time_t queue_time;
+ unsigned long long int delaying_seqnum;
+ unsigned int group_final:1;
+ unsigned int owner_final:1;
+ unsigned int mode_final:1;
+ unsigned int name_final:1;
+ unsigned int devlink_final:1;
+ unsigned int run_final:1;
+ unsigned int ignore_device:1;
+ unsigned int trace:1;
+ unsigned int test:1;
};
/* udev-rules.c */