Martin Tournoij
Martin Tournoij
I don't think that any fanotify support should add new symbols or features, other than a setting to select that you want to use it. Beyond that, it should just...
My idea was that you can set the backend per-watch. This will be useful especially with the poll watcher: for example if you want to watch `/home/foo` and `/mnt/nfs` where...
The path forward would be something like: 1. Figure out a way to set the backend, merge that (I can work on that). 2. Implement fanotify_backend.go, supporting all the features...
> I can try and explore on an idea to make the Fanotify Watcher a composition of multiple fanotify watcher types one for each (paths, permissions, mount point) that way...
How do you run the tests? I tried: % go test -short -failfast --- FAIL: TestWatch (0.00s) --- FAIL: TestWatch/multiple_creates (0.00s) helpers_test.go:333: newWatcher: require CAP_SYS_ADMIN capability % go test -c...
Are you still interested in working on this?
BTW what this needs is to be reworked to be much simpler, not adding any new features and things like that. Basically something like the below patch, except, well, working,...
It should compile on AIX now, although any functionality isn't supported. I'm not sure if AIX provides any facilities for this? If not, it can use the polling fallback when...
Ah right. That could also be added here, but it's not something I can do as I don't have access to an AIX system. So someone else will have to...
The polling watcher should work on AIX regardless; I hope it'll get added relatively soon (still in 2022, maybe early 2023, although I promise nothing). I'm a little bit hesitant...