Set O_CLOEXEC in the OOM monitor thread to prevent leaked file descriptors.
Note that pipe2() is Linux-specific, but this whole cgroup plugin is already Linux-specific in design, and the eventfd() call itself is Linux-specific as well. Bug 5570.
Please register or sign in to comment