diff options
author | Kay Sievers <kay.sievers@suse.de> | 2005-06-05 04:57:03 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@suse.de> | 2005-06-05 04:57:03 +0200 |
commit | c974742bf4d6d8fab1e1c90e2e57dae0a2f297a1 (patch) | |
tree | f283bf62f4b8b63fb001e1f83382c9ac7848447c /udev_rules.h | |
parent | a15f42c46a7b9ceb5850ea4334c95f099ce74a6f (diff) |
udev: allow final assignments :=
The use of KEY:=<value> will make the key unchangeable by later rules.
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Diffstat (limited to 'udev_rules.h')
-rw-r--r-- | udev_rules.h | 6 |
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; |