summaryrefslogtreecommitdiff
path: root/udev/udev.h
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2010-07-07 11:35:40 +0200
committerKay Sievers <kay.sievers@vrfy.org>2010-07-07 11:35:40 +0200
commit3b529da42586aa430bb0d03800b19dd45552eae1 (patch)
tree2f016fcf11afd4d170399e4cdb31f5ad8c58dfae /udev/udev.h
parent847b4f84c671e98f29f22d8e3e0d70a231d71a7b (diff)
allow final assignment for OPTIONS:="nowatch"
A final assignemnt operator will disable any device watching by inotify, and any possible later rules setting "watch" again will be ignored.
Diffstat (limited to 'udev/udev.h')
-rw-r--r--udev/udev.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/udev/udev.h b/udev/udev.h
index 23b720a468..6833e60d61 100644
--- a/udev/udev.h
+++ b/udev/udev.h
@@ -44,13 +44,14 @@ struct udev_event {
gid_t gid;
struct udev_list_node run_list;
int exec_delay;
+ bool inotify_watch;
+ bool inotify_watch_final;
bool group_final;
bool owner_final;
bool mode_final;
bool name_final;
bool devlink_final;
bool run_final;
- bool inotify_watch;
};
struct udev_watch {