From: Stef B. <st...@gm...> - 2012-12-07 15:49:49
|
Hi, I'm writing a monitor to watch /proc/locks for changes. I'm trying the same as I did with the mountmonitor: open file using open("/proc/locks", O_RDONLY) 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? Stef |