I'm writing a monitor to watch /proc/locks for changes. I'm trying the
same as I did with the
open file using
and watch that fd with epoll flag EPOLLERR for changes.
This works for the /proc/self/mountinfo, bu not for /proc/locks.
Anybody has a clue?