Commit 7f44f1db authored by Tycho Andersen's avatar Tycho Andersen Committed by Pavel Emelyanov

irmap: hardcode some more interesting paths

In ubuntu wily, these paths are inotify'd by various daemons, so we should
watch them as well.
Signed-off-by: 's avatarTycho Andersen <tycho.andersen@canonical.com>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 1a135c48
...@@ -56,6 +56,10 @@ static struct irmap *cache[IRMAP_CACHE_SIZE]; ...@@ -56,6 +56,10 @@ static struct irmap *cache[IRMAP_CACHE_SIZE];
static struct irmap hints[] = { static struct irmap hints[] = {
{ .path = "/etc", .nr_kids = -1, }, { .path = "/etc", .nr_kids = -1, },
{ .path = "/var/spool", .nr_kids = -1, }, { .path = "/var/spool", .nr_kids = -1, },
{ .path = "/var/log", .nr_kids = -1, },
{ .path = "/usr/share/dbus-1/system-services", .nr_kids = -1 },
{ .path = "/var/lib/polkit-1/localauthority", .nr_kids = -1 },
{ .path = "/usr/share/polkit-1/actions", .nr_kids = -1 },
{ .path = "/lib/udev", .nr_kids = -1, }, { .path = "/lib/udev", .nr_kids = -1, },
{ .path = "/.", .nr_kids = 0, }, { .path = "/.", .nr_kids = 0, },
{ .path = "/no-such-path", .nr_kids = -1, }, { .path = "/no-such-path", .nr_kids = -1, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment