verifying /proc
10 points by polywolf
10 points by polywolf
With a recent enough Linux kernel fanotify can report FAN_MNT_ATTACH and FAN_MNT_DETACH events.
I think there is a missing piece here - verify that this procfs is for your pid namespace, not someone else's
what's a condition where you could still access /proc/$PID and the procfs isn't your pid namespace?