summaryrefslogtreecommitdiff
path: root/udev_rules.h
diff options
context:
space:
mode:
Diffstat (limited to 'udev_rules.h')
-rw-r--r--udev_rules.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/udev_rules.h b/udev_rules.h
index 5fba2d5571..f4a74bba45 100644
--- a/udev_rules.h
+++ b/udev_rules.h
@@ -62,6 +62,7 @@ enum key_operation {
KEY_OP_NOMATCH,
KEY_OP_ADD,
KEY_OP_ASSIGN,
+ KEY_OP_ASSIGN_FINAL,
};
struct key_pair {
@@ -96,10 +97,15 @@ struct udev_rule {
char name[PATH_SIZE];
char symlink[PATH_SIZE];
+ enum key_operation symlink_operation;
char owner[USER_SIZE];
+ enum key_operation owner_operation;
char group[USER_SIZE];
+ enum key_operation group_operation;
mode_t mode;
+ enum key_operation mode_operation;
char run[PATH_SIZE];
+ enum key_operation run_operation;
int last_rule;
int ignore_device;